Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.12 KB

README.md

File metadata and controls

25 lines (16 loc) · 1.12 KB

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