SaBeRriDeR
01-18-2007, 08:01 PM
hey you guys,
i'm a total beginner with mel, but i was trying a few things now, and felt the power in this thing. but i always reached one point where i couldn't get any further.
i'm trying to script my workflow for a really huge surface model of an island for a game project. i modeled everything with nurbs, and now i just want to split this huge patch into same- sized smaller patches, for further processing.
so here is my problem:
i can easily calculate all the u and v values, where to detach, but i cannot figure out, how to feed this calculated float array to this detachSurface command. i simply want to use detachSurface with a variable number of parameters, but i don't know how to script this.
is there anything like:
detachSurface -ch off -d 1 -p *HERE_COMES_THE_ARRAY*;
??
thanks for any help...
greez
i'm a total beginner with mel, but i was trying a few things now, and felt the power in this thing. but i always reached one point where i couldn't get any further.
i'm trying to script my workflow for a really huge surface model of an island for a game project. i modeled everything with nurbs, and now i just want to split this huge patch into same- sized smaller patches, for further processing.
so here is my problem:
i can easily calculate all the u and v values, where to detach, but i cannot figure out, how to feed this calculated float array to this detachSurface command. i simply want to use detachSurface with a variable number of parameters, but i don't know how to script this.
is there anything like:
detachSurface -ch off -d 1 -p *HERE_COMES_THE_ARRAY*;
??
thanks for any help...
greez
