Skip to content

Python script that makes a torus with worm/flower-like figure in Autodesk Maya, with customizable number of faces and other parameters.

License

Notifications You must be signed in to change notification settings

the-other-mariana/torus-worm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Worm/flower-like Torus

This is a simple script that creates a sine-based torus geometric figure mesh in Autodesk Maya using a bit of math.

Specifications

Maya version: Autodesk Maya 2017

Usage

  1. Download torus-worm.py file and store it in your computer.
  2. Open Autodesk Maya.
  3. Go to Windows > General Editors > Script Editor.
  4. Click on the Python label.
  5. Import the torus-worm.py file or copy-paste the code on the editor.
  6. Type Ctrl + A to select the whole text.
  7. Click on Run button, or Ctrl + Enter to execute the script.

You can customize the variables commented as parameters inside the script to change between worm or flower, its height, its length, etc. By setting flower and worm variables to False, you can achieve a classic torus mesh.

Output

Personally, I like more how the flower option looks like, so I turned the flower parameters to True and saved the object created which looked like the following.

alt text

About

Python script that makes a torus with worm/flower-like figure in Autodesk Maya, with customizable number of faces and other parameters.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages