View Full Version : writing nodes or commands in mel?
Borgus 01-09-2009, 02:17 PM Hi!
Just want to know, if it is possible to write a node or something in mel that can rebuild
an existing curve based on the parameters i change.
i want actually the same behavior like the polyCube command. when i change the devison
attribute the cube is beeing rebuild by the node.
my fist thought was that i have to write it in c++, but i hoped there's a way to do it in
mel.
it's maybe a stupid question but i just want to know...
borgus
|
|
greatPumpkin
01-10-2009, 12:27 AM
you mean like rebuildCurve? if you run that command with keep originals on you should get a node that gives you the options you are looking for?
Borgus
01-10-2009, 11:42 AM
hi greatPumpkin!
i know what you mean but actually i'm writing a script thats creates a spiral curve
around another. the script works fine but you have to decite howmany divisions you
want and rotation angle etc. before execution and you can't really estimate how the result
will look like.
now i don't want a script executed once, but a node thats creates the result every time
i change the parameters.
the goal is to achieve a dependancy between the spiral curve and the source curve, so
when anything is changing (shape of the sourcecurve or parameters of the spiral-node)
it's always updated. sounds like compiling a plugin?
hope you understand what i mean :wip:
Phlok
01-10-2009, 11:54 AM
You cannot write nodes in MEL, if you aren't keen on using the BFG C++, try Python.
Borgus
01-10-2009, 12:00 PM
Hi! ok, gonna try python. last time that i wrote a c++ program was 6 years ago...
CGTalk Moderation
01-10-2009, 12:00 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-2012, Jelsoft Enterprises Ltd.