Skip to content

A Maya tool that allows users to easily and quickly place objects in/around the perimeter of another object with many customizable parameters.

Notifications You must be signed in to change notification settings

jallex/Maya_Tool_Place_Around_Center

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maya Tool Place Around Center

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

What can this tool do?

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

How to Use

  1. Download folder
  2. 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.
  3. Open the "execute_tool.py" file in the Maya script editor
  4. Run the script, and the GUI for the tool will appear on screen.
  5. Select the center object, surrounding outside objects, and other parameters using GUI and press "Apply" - then watch the magic happen!

Future goals

  1. Allow for a higher radius than 99.0
  2. Rotate objects inward towards center, example: chairs around a table
  3. Random scale of objects
  4. Prevent objects from colliding with each other
  5. Patterns - such as placing houses or bricks

About

A Maya tool that allows users to easily and quickly place objects in/around the perimeter of another object with many customizable parameters.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages