Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Programming (https://simplymaya.com/forum/forumdisplay.php?f=32)
-   -   dnPolyhedron.mel is available (https://simplymaya.com/forum/showthread.php?t=11947)

dannyngan 24-05-2004 08:46 AM

dnPolyhedron.mel is available
 
After testing out the script from Tim_LIVID's thread in the polygon forum, I decided to write my own polyhedron/geosphere MEL script. The version posted in that thread works ok, but it only creates shapes using centimeters. I regularly work with meters as my linear units, so the shapes always showed up very very very small. Also, I happened to be going through the icosahedron tutorial in David Stripinis's book "The MEL Companion".

So, after a lot of hacking away in my text editor, I finally finished dnPolyhedron.mel. Here are a couple of screenies:

http://www.dannyngan.com/tools/dnPol...samples_sm.jpg

http://www.dannyngan.com/tools/dnPol...ron_window.jpg

It's derived heavily from the sources mentioned above, but I did make some changes to how things are handled. The biggest change was getting it work in any linear unit scale. Also, the script is contained in a single file and does not have a large image in the window (like in GeoSphere.mel).

You can download the script here:

http://www.dannyngan.com/tools.htm

If you do end up testing it out, let me know how it works and if you find any bugs.


All times are GMT. The time now is 04:00 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018