View Full Version : Constraint Selection ? Please Help ! Max can't be better... :)
stilgarna 08-03-2006, 09:21 AM In 3DS Max there is a wonderfull function in polygon mode (etitable poly)
The "By angle" option.... that allow you to select faces by angle.
here is an example of the selection you can made easily (only 2 mouse clics....) Very usefull for mechanical parts...
http://perso.orange.fr/fabien.corrente/TestSelect.jpg
I try to do the same with constraint selection but I don't Understand....
Please help me... And don't let Max be better than Maya :scream:
Here you can find the objet :
Test File (http://perso.orange.fr/fabien.corrente/Test.zip)
Thanks... Best Regards...
|
|
OmegaN
08-03-2006, 09:49 AM
I dont know if maya has that function by itself but scripts like koshigaya studios have it. HERE (http://forums.cgsociety.org/showthread.php?t=154088) is the link to the scripts thread on this forum.
stilgarna
08-03-2006, 09:55 AM
Sorry...
There is no such function into koshigaya scripts...
Tanks...
OmegaN
08-03-2006, 10:53 AM
Yes there is, I got the script and there sertainly is that function.
With the "interactive tool" you have a option to select by face angle. hope this helps
EgonOnemar
08-03-2006, 12:00 PM
If you go into face mode and select a face then in the Polygon Selection Contraint window under constrain select current and next.
Then under (same window) geometry > visibility: check activate
Then set the angle you wanna pick, like a threshold for the selection, then set the range in one of the axis you wish to constrain.
I hope this helps. Have fun!
stilgarna
08-03-2006, 01:30 PM
Ok, it works ... but it's more complicate than Max...
But it works...
Thanks a lot....
GennadiyKorol
08-03-2006, 02:13 PM
You can do that with polygon selection constraints.
stilgarna
08-03-2006, 03:24 PM
You can do that with polygon selection constraints.
I try but it's not possible to have the same effect
GennadiyKorol
08-04-2006, 04:16 AM
It's not as automated I assume, but try using the Orientation and/or Direction options there. Vx, Vy, Vz specify the direction vector from which angles are calculated to each face normal. Min - Max attributes define the range of angles in which the faces are going to be selected.
Cheers:)
stilgarna
08-04-2006, 07:01 AM
God of Scripts.... Helps us...
Best regards...
Thnkas for all your answers...
GennadiyKorol
08-04-2006, 07:10 AM
So the contstraints work, you just need a script to automate it a bit?
Also could you please tell how does it work in max exactly? I mean, you select a face, adjust the angle and it selects the faces that are facing just like the reference face with this angle tolerance?
Cheers:)
stilgarna
08-04-2006, 07:14 AM
In max, you just ajust the angle between faces and you only have to clic once...
And he select all faces from the one you select...
I think it's an angle tolerance...
Thats all...
Thanks...
GennadiyKorol
08-04-2006, 08:06 AM
Sounded handy, so here's a little simple version of the script :)
Usage:
Select face/s and run the script. It will select all the faces in the same angle tolerance.
Interactively adjust angle slider to pick the right angle
Hit apply button once you're satisfied with the result or click cancel to get back to previous selection.
The first part is a procedure to get component normals I wrote for local tools, so if you're using them you could basically delete that procedure :)
Hope it helps :)
EDIT: added an attachment with the script file, to avoid any copy paste errors.
stilgarna
08-04-2006, 08:38 AM
Sounded handy, so here's a little simple version of the script :)
Usage:
Select face/s and run the script. It will select all the faces in the same angle tolerance.
Interactively adjust angle slider to pick the right angle
Hit apply button once you're satisfied with the result or click cancel to get back to previous selection.
The first part is a procedure to get component normals I wrote for local tools, so if you're using them you could basically delete that procedure :)
Hope it helps :)
EDIT: added an attachment with the script file, to avoid any copy paste errors.
It always return :
// Error: -ac $CloseBut left 2 HKIFActionButton //
// Error: "$CloseBut" is an undeclared variable. //
GennadiyKorol
08-04-2006, 10:41 AM
That's a copy paste error (argh), try the TXT file attached above.
stilgarna
08-04-2006, 11:40 AM
Ok it works but when I change the value with the slide :
// Error: Cannot find procedure "HKSBAupdateAngleSelection". //
GennadiyKorol
08-04-2006, 11:49 AM
Works okay for me. I'm simply copy pasting it to the script editor or to shelf, and using it from there.
stilgarna
08-04-2006, 11:55 AM
Works okay for me. I'm simply copy pasting it to the script editor or to shelf, and using it from there.
Okay... Great... And thanks you very much....
It wroks... But I'll made some screen shoot to explain what I mean... and see the 3DS max diffrences...
bye...
CGTalk Moderation
08-04-2006, 11:55 AM
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-2012, Jelsoft Enterprises Ltd.