Skip to content

This tool is a collection of simple features to help 3D modellers in Maya speed up their workflows.

License

Notifications You must be signed in to change notification settings

danilodelucio/DL_Maya_Toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

34 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

DL_Maya_Toolkit_intro-gif_v003

This tool is a collection of simple features to help 3D modellers in Maya speed up their workflows.


This is a development project for the Python Advanced course taught by Alexander Richter.

I decided to create this tool for two main reasons:

  • To become familiar with Maya's API;
  • To develop simple automated tasks based on suggestions from Maya users;
dlmt_app1

Features:

  • Duplicate Faces;
  • Extract Faces;
  • Combine Objects;
  • Separate Objects;
  • Outliner Renamer;
  • Check Ngons;

๐ŸงŠ Duplicate/Extract Faces | Combine/Separate Objects

These features are similar to the default ones in Maya, with a few differences:

  • No history;
  • Moving the 3D Pivot to the center of the object/face;
image

๐Ÿ“ Outliner Renamer

This feature allows you to rename multiple selected items in the Outliner panel. Optionally, you can add padding by using "#", which will be replaced by sequence numbers.

The increment value will be used if the padding is provided.

image image

โœ… Check Ngons

It will highlight all the faces with more than 4 vertex (which are considered as Ngons).

Important

For now, this feature does not have a progress bar, so keep in mind that this process can take some time depending on the selected 3D model, such as a dense mesh.

image image

โš™๏ธ How to Install

1. Downloading the tool

At the top of this page, click on the green button and download the zip file.

dlmt-github-download

Save it anywhere on your computer, then extract its content. For better convenience, I suggest renaming the folder by removing the "-master" from the filename.


dlmt extracting zip dlmt extracting zip2
2. Maya Setup [Option 1 - userSetup.py]

Copy the userSetup.py file and paste it into the Maya's Scripts directory (usually at C:\Users\<username>\Documents\maya\<version>\scripts).

In case the file already exists, you can copy the entire content from one file and paste it at the end of another.

image

Open it with a text editor and replace the DLMT_TOOL path with where is located DL_Maya_Toolkit folder on your computer.

Using a single backslash \ can cause issues for the file path. Please use either a forward slash / or double backslash \\.

image

Open Maya and you should see the DL_Maya_Toolkit shelf appear.

image
2. Maya Setup [Option 2 - Script Editor]

If you open Maya and the tool does not appear on the shelf after following the option 1 steps, it is possible that the userSetup.py file is being ignored by Maya.

Copy the following code, paste it into the Script Editor and update the file path with where is located the tool.

Using a single backslash \ can cause issues for the file path. Please use either a forward slash / or double backslash \\.

import sys
import importlib

app_module_path = 'put\\your\\file\\path\\here\\DL_Maya_Toolkit'
if app_module_path not in sys.path:
  sys.path.append(app_module_path)

from dlmt import dl_maya_toolkit_ui
importlib.reload(dl_maya_toolkit_ui)
ui = dl_maya_toolkit_ui.DlMayaToolkit()
ui.show()
image image

Now you should see a custom icon on your shelf and you can use it to open DL_Maya_Toolkit.

image

๐Ÿ› ๏ธ Troubleshooting

If you have feedback, suggestions, or feature requests, please visit the Discussions page and create a New Discussion.

For bugs, please go to the Issues page and create a New Issue.


Supporters ๐Ÿ’ช


๐Ÿฅบ Support me

image

This project required significant time and extra hours of hard work to make it available to everyone.

If you find this tool useful, please consider supporting me on Buy Me A Coffee. โ˜•

If you donate any amount, please mention this tool (also your preference name if you want to), so your name will appear in the Supporters list above.

You can also share this tool or send me a positive message, it would help me in the same way.


Special thanks to Luis Regalado, Vitor Borsato, Marco Antonio and Leticia Matsuoka for providing suggestions for this tool.

Also, thanks to Andrea Casati for helping me with UI issues, Juliana Chen for her support and encouragement, and Alexander Ritcher for mentoring this awesome masterclass.

Cheers! ๐Ÿฅ‚

About

This tool is a collection of simple features to help 3D modellers in Maya speed up their workflows.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages