A Maya tool written in Python3 using maya.cmds that allows users to easily and quickly place objects in/around another object with a set radius and many other customizable parameters.
Note: Python3 is compatible with Maya 2022 and onward
This tool allows the user to
- Place many selected objects in an even circle around a center object
- Duplicate one object around a center object
- Randomly place selected objects in circle with a max-radius around a center object
- Randomly duplicate object with a max-radius around radius of a center object in a 2D circle or 3D sphere
- Randomly place or duplicate object(s) within a 2D circle or 3D sphere around center object
- Download folder
- Place files in your Maya scripts folder or update line 5 of "execute_tool.py" to be the location of the parent folder that this repository folder is located within OR ensure the parent folder is in your PYTHONPATH. This ensures that Maya can find all files in the project when run.
- Open the "execute_tool.py" file in the Maya script editor
- Run the script, and the GUI for the tool will appear on screen.
- Select the center object, surrounding outside objects, and other parameters using GUI and press "Apply" - then watch the magic happen!
- Allow for a higher radius than 99.0
- Rotate objects inward towards center, example: chairs around a table
- Random scale of objects
- Prevent objects from colliding with each other
- Patterns - such as placing houses or bricks