Talk:LlSculpt mel

From Second Life Wiki
Jump to: navigation, search

Would it be possible to write a Maya script that runs in reverse, taking a positional map (or are we calling them sculpting maps?) and builds an object out of it? Eddy Stryker 02:23, 28 April 2007 (PDT)


Is this a Python script?

It is a Maya Embedded Language script Eddy Stryker 22:06, 28 April 2007 (PDT)

Maya 8.5

In Maya 8.5 it gives me an error of // Error: Error evaluating argument at position 1 in procedure "llFirst". when trying to run this script

This generally happens if you have no object selected. Select it before you press export. --Blakar Ogre 08:09, 10 May 2007 (PDT)

Suggestion for changes to the script

I don't want to try to alter the script in the article as I'm no Maya scripting guru but:
Line 17: the duplicate should have -renameChildren as parameter as otherwise script can fail next time you refer to object_copy if parent and child have same name (they can still be addressed correctly by |name and |name|name but it's pointless to cover for that in the script if you can avoid it) --Blakar Ogre 15:30, 11 May 2007 (PDT)
Line 247: scrollable should be 0 instead of 1 in order to have the UI properly render in Maya 8.5. If not the checkbox for "Correct Orientation" is not displayed but a (useless) scrollbar is there. --Blakar Ogre 14:43, 11 May 2007 (PDT)


I've added a reverseSurface on U for NURBS, to make the script compatible with the last changes in SL and the main grid version of sculpted prims --Damanios Thetan 20:48, 25 May 2007 (PST)

I am using 6.5 and this is the error message I am getting:


// Error: if (size($parents) != 0) // // Error: Syntax error // // Error: (($shape != "") && (nodeType($shape) == "nurbsSurface"))) // // Error: "$shape " is an undeclared variable. // // Error: if ($i != size($tokens) - 2) // // Error: "$i " is an undeclared variable. //

Maya 8.5 Duplication error

Sometimes , some nurbs, for some strange reason will not convert to texture files after i hit the Mel script button. The error I get is : Error: More than one object matches name: MY_NURB Error: Cannot use data of type no type in a scalar operation this also resaults in a strange duplication event. The Nurb i attempted to convert to a texture produces an additional nurb object in maya. The 2nd duplicated nurb is usually smaller and in another location, not directly duplicated at the same location.

This doesn't always happen, typically when i work with a nurb i can convert to texture a few times. At some point the between modifying it's surface and saveing the file as multiple instances It seems the nurb becomes "stale" and unusable. At this point my only option is to make a "new" nurbs sphere and copy the other one manually. This is extremely tedius and doesn't make sense.--Iris Bourdeille 12:59, 9 Aug 2007 (PDT)

php a big mistake

If I may. The recent linking to the melscript as a php page destroyed the formatting of the script in IE, also causing my machine to lanch Dreamweaver. For simplicitiy's sake, the script should be formatted as a cut & paste-able simple lage if possible. I was nly able to get the script to work properly in Maya 8.5 using a previous history page, and cutting and pasting from there. Karl Reisman 04/26/2008 5:25 PDT