Community
Maya Programming
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MEL or Python script to convert mesh to nurbs

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
cheska_nodado
1457 Views, 2 Replies

MEL or Python script to convert mesh to nurbs

Anyone knows a MEL / Python script that I can copy and paste at Windows > Generel Editors > Script Editor to convert Mesh to Nurbs ?

2 REPLIES 2
Message 2 of 3
mcw0
in reply to: cheska_nodado

I don't believe there's a direct way to convert a mesh to nurbs.  You have to convert the mesh to subD, then convert the subD to nurbs.  You can do those manually and grab the commands from the scriptEditor to construct your script.

Message 3 of 3

In mel.
Enable Echo All Command in the Script Editor (and turn it off when you don't use it anymore).
Click on the one you want to run.

Here's an example: run the NURBS to Polygons Options. Then you will get the following command

NURBSToPolygonsOptions;

The first letter of the command should be capitalized and the command should be blue by default when copied and pasted into the Script Editor.
You can also use this command from the Shelf, Marking-menu and Hotkey Editor.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report