PDA

View Full Version : Knife tool?


FreakyDude
02-22-2007, 08:30 AM
Since I rely quite a bit on the knife script lately and found it wasn't in the latest blender release anymore, I figured thay had a replacement somewhere. Is this true? I haven't been able to find one. There is a cookie cut from view script, which from it's tooltip popup appears to do, or should do the same thing. However, this is not the case.
I've been searching the web and fortunately found a copy of the script. knife-0.0.8 the latest afaik.

links:

http://users.pandora.be/tuinbels/scripts/knife-0.0.8.py
http://cobalt3d.free.fr/didacticiel/blender/tutor/images/python/knife_in_color/knife_color.py

Is there a reason this script is no longer default in blender? it still works perfectly and I haven't found a replacement for it in blender yet.

Max-Evil
02-22-2007, 05:56 PM
i dont know, but K -> Knife(something) works perfectly ;)

why you need separate skript for that?:curious:

EDIT: my bad, now i get it why u may need it,but the scrpt shoud be under Obect menu in Script window, at least i have it there, but it might got there from previous versions:shrug:

LetterRip
02-24-2007, 12:12 AM
I believe the funtionality of the knife script has been rolled into the knife tools - can you give a specific example of where it isn't?

LetterRip

FreakyDude
02-24-2007, 11:56 AM
Well I haven't been able to find it yet it the knife tools, they look the same as they did before.
The script works on object level, you select the mesh first, and the plane last, it then cuts the mesh along the alignment of the plane. I use it a lot when making roofs and stuff where I need endpoints to fit on the grid, and need all the intersecting lines to stay on the same x/z or yz coordinates. (stay vertical i mean) I don't think I can do that with the editmode knife tools.

http://img224.imageshack.us/img224/138/screencap01ta6.jpg

Take this screengrab, it explains it a little better. It's a tad optimised by now but before it was, there were no diagonal lines, they where all either horizontal or vertical, and I needed them all on the same plane, the plane where I cut the mesh.
I'm not really sure how best to explain this right now, but I hope you get the picture.

If you know of a better way to do this than using the script, off course i'd be happy to hear it :D

edit: quick spelling

CaptainBarbosa
02-24-2007, 01:49 PM
Let me know if you do find the script, I haven't heard of it before but it sounds like I could really use it on a project I'm working on at the moment.

FreakyDude
02-24-2007, 03:21 PM
Yes I have found it. The links are in the first post. By the way, the shape of the house used to be a square/block before I cut it, then I removed the top part which was "cut off" and started filling the gaps. Just in case someone didn't get that :D

CaptainBarbosa
02-25-2007, 01:39 AM
Ahh! The knife script works, but not the way I need it to. Say I have a ring, and a plane I want to cut the ring with, mmkay?

http://uploader.polorix.net//files/19/knife1_thumb.jpg (http://uploader.polorix.net//files/19/knife1.jpg)

Now I cut the ring, but the cut is not limited to the geometry of the plane I used, so it goes through both sides of the ring.

http://uploader.polorix.net//files/19/knife2_thumb.jpg (http://uploader.polorix.net//files/19/knife2.jpg)

Not good. Any suggestions? My only other option is to make manual knife cuts to a reference image as close as I can. (Not very accurate.)

FreakyDude
02-25-2007, 05:08 PM
well you can make a duplicate of the ring before you cut, and move it with ctrl or something, so you're certain you can easily move it back in the exact place. Just remove the parts you don't need from the newly created cut version and mix them with parts from the one you do need. (half original mesh, the bottom of your example, + half the mesh cut, the top of your example.)
The knife script allows for original meshes to be kept or removed so you don't even need to make backups for this. I just make backups in case I want another variant fast.

CaptainBarbosa
02-26-2007, 04:18 AM
The thing is, the mesh I need to cut is at least 100k verts. Not sure my 'puter could handle duplicating, cutting, pasting, and removing doubles on so many verts. I could try on a duplicate file though... Yeah, I'll try it. Check out the project I'm using the script on if you feel like it: Stargate (http://forums.cgsociety.org/showthread.php?f=153&t=462958)

FreakyDude
02-26-2007, 09:27 AM
I've checked the thread, looks nice. I likes the movie, don't care much for the series though.

If your computer has trouble with duplicating so many verts, why not make two new files. In one of em you delete the half that doesn't need cutting, and cut the mesh, and in the other you delete the part that you are about to cut, after it's done, all you have to do is append the two halves. Not really sure about preserving uv's like this though... I haven't tried somehting like this myself.

CaptainBarbosa
02-26-2007, 03:57 PM
Hopefully UVs shouldn't be a problem, I'm only using procedural textures thus far. Anyway, I've decided to try selecting a group of verts I need to cut, split them into a new object with the P key, cut, then rejoin with ctrl+J and remove doubles. I shouldn't have to worry too much about screwing up my mesh because I have the file backed up on my USB flash drive.

I'm the opposite of you, I thought the movie was ok but love the series.:) Richard Dean Anderson makes O'neill a much better character than Curt Russel does, IMO.

CGTalk Moderation
02-26-2007, 03:57 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.