06 June 2005 | |
![]() |
|
New Member
Andy Vella
USA
|
![]() Hello, just started working with the Maya API recently after trying to work with something in MEL and finding it too slow. I'm trying to replicate the functionality of the MEL command "intersect" which tells if two NURBS Surfaces are intersecting, and then creates the curve on surface for the intersection.
I don't actually need to create the curve, all I need to do is check if they're intersecting. The part I can't figure out is - the intersect command creates an intersectSurface node and then feeds the two surfaces you want to test as input to it. It connects the worldSpace attribute to the inputSurface attribute of the intersectSurface node. Now before it connects it, the worldSpace attribute is an empty array. After it connects it, it has a single value which it uses to connect. How do I replicate this in API? Or, is there an easier way to perform the test that I'm missing? Thanks for the help! &y |
06 June 2005 | |
![]() |
|
Frequenter
|
check out KoshigayaStudiosScripts (http://www.koshigaya.de/) there is a nice intersect mel script there.
|
06 June 2005 | |
![]() |
|
Expert
|
Thread automatically closed
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.
__________________
CGTalk Policy/Legalities Note that as CGTalk Members, you agree to the terms and conditions of using this website. |
Thread Closed share thread |
«
Previous Thread
|
Next Thread
»
|
|
|