Maya Scripts
Script Details

Non-linear grid optimization (surface relaxation) update 11-4-2007
Author: Marcel Haasnoot
Date: 2006-10-03
Synopsis:
Applies (internal) surface relaxation using dynamic relaxation to a polygon surface, in order to optimize the surface grid or to make minimal surfaces
Usage:
Source this .mel file.
Run nlgo; to bring up the interface.
Select the vertices of the polygon surface you wish to optimize and then run the optimization from the interface.
If you invoke the surface constraint for internal surface relaxation, the vertices will remain within the selected nurbs-surface. You can additionally invoke the curve constraint on selected curves. In this case, first select the surface, then the curves and finally the vertices.
Be aware! The script makes use of flushUndo to speed up the processing.
Run nlgo; to bring up the interface.
Select the vertices of the polygon surface you wish to optimize and then run the optimization from the interface.
If you invoke the surface constraint for internal surface relaxation, the vertices will remain within the selected nurbs-surface. You can additionally invoke the curve constraint on selected curves. In this case, first select the surface, then the curves and finally the vertices.
Be aware! The script makes use of flushUndo to speed up the processing.
Script:
Keywords:
surface relaxation optimization
Reactions
Messages 21 - 34 (34)
- GRLpGpAG
2019-03-18 07:15:411 - GRLpGpAG
2019-03-18 07:06:301 - GRLpGpAG
2019-03-18 07:06:011 - GRLpGpAG
2019-03-18 07:05:581 - GRLpGpAG
2019-02-27 23:52:481 - GRLpGpAG
2019-02-27 23:52:401 - GRLpGpAG
2019-02-27 23:52:391 - Marcel
2008-03-18 17:00:23Sorry, it's haasnoot@gmail.com now - Marcel Haasnoot
2008-03-18 09:31:48Kevin,
Execute the script and then start the menu by typing nlgo; in the command line (MEL) - Marcel Haasnoot
2008-03-18 09:29:45Hello everyone,
The script fully works under maya 8.5. Also the surface constraint. I'm almost leaving BK so i will not be on 7N anymore. You can still contact me on marcelhaasnoot@gmail.com for information.
- oompa
2008-03-18 03:50:26Hi
If we would like more info on this script where can we get in touch with you? I dont understand what 7N BK is...
thanks
- kevin
2007-05-15 19:28:08i am very interested in this script, but i cant seem to get it to work. i am running maya 8.5 and when i run the script nothing happens (not even an error).
i dont know what you mean by "nglo" either.
thanks! - MHaasnoot
2006-11-19 14:57:56Thanks
If you want more info visit me at 7N BK
- f_
2006-11-15 09:35:361
Very nice script! Thanks. Can you please tell us more about what exactly the algorithm does.
2
I am having difficulties with the constraints options clicked. Error messages like:
// Error: line 268: The source attribute '.ws' cannot be found. //
and:
Error: line 211: Current selection doesn't match required selection type.
previous
-
next