Talk:LlSculpt mel

From Second Life Wiki
Jump to navigation Jump to 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)

question...

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)

Changes

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:

llSculptEditor;

// 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. //