View Full Version : select polys by angle?
Multiman 10-25-2006, 07:10 PM I'm looking for a way to be able to select all polygons within a model that are at, or above (or below) a certain angle. Is there such a selection filter within C4D that I have missed - or is there a plugin that will do this?
cheers
DD
|
|
LucentDreams
10-25-2006, 08:39 PM
in R10 there is the phong break selection tool which has an option to overide the phong tag so you can specify your own angle.
Multiman
10-25-2006, 09:19 PM
That sounds promising. Any 9.6 solutions?
cheers
DD
Linds
10-25-2006, 11:04 PM
I had a quick look at this DD, I don't think it's going to do what you want. It will make a selection based on the angles between neighboring polygons, but does not take into acount the normal direction of the poly, which is I think what you are looking for.
You want to be able to select al polys facing a certain direction - or between a defined range of angles. I feel sure this must be posible with a COFFEE expression, or even an Xpresso set-up, could do this. Perhaps one of our forums resident codemeisters might rise to the challenge?
Cheers
Linds
Per-Anders
10-26-2006, 03:53 AM
for 8.2 upwards there is my free phong select plugin at www.thirdpartyplugins.com
moka.studio
10-26-2006, 06:47 AM
There is a plugin called Flush Select that will do what you want.
Basically you select one or more polygons to define the tolerance value, and all polygons that are relatively planar to this will be selected.
www.C4dplugs.com should have the author listed
Multiman
10-26-2006, 07:25 PM
Thanks. 'Phong Select' seems to only selects edges that are dependent on adjacent normals. I need to be able to selct polygions whose normals are within a certain defineable angle.
'Flush Select' sounds like its exactly what I need but it doesnt appear to be available anymore.
Edit:
Just noticed its available on the third party website. Just the link from C4Dplugs isnt working.
cheers!
DD
Geespot
10-27-2006, 03:48 PM
Ive just written script that can do this Multiman.
It should do what you want
http://forums.cgsociety.org/showpost.php?p=3963058&postcount=17
Multiman
10-27-2006, 10:01 PM
Thanks Geespot but Im not sure what to do with the file. It unzips with the suffix CSC which is not something Ive come across before. I can see the code in a text editor but not sure what to do with it.
cheers
David
Geespot
10-27-2006, 10:04 PM
Thanks Geespot but Im not sure what to do with the file. It unzips with the suffix CSC which is not something Ive come across before. I can see the code in a text editor but not sure what to do with it.
cheers
David
You have to copy the .csc file into your c4d/library/scripts folder. When you start Cinema, it will show up in the script manager.
Multiman
10-27-2006, 10:10 PM
wow, that was a fast reply. Yeah i figured it out. Many thanks!! Its exactly what I need.
cheers,
David
CGTalk Moderation
10-27-2006, 10:11 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.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.