vrnDivCon (Maya MEL Script)

File

--------------------------------------------------------------------------

vrnDivCon.mel - MEL Script

--------------------------------------------------------------------------

DESCRIPTION:

Allows accessing the Connect Tool, Divide Edge and Poke Face with a single

hotkey/command based on current poly component selection type as follows:

1. Single vertex: converts to edges and calls Connect Tool.

2. Multiple vertices: connects components and softens the newly created edges

with an angle of 60 degrees (By default polyConnectComponents always

creates hard edges)

3. Single edge: Calls Add Division to Edge command and mouse context. The user can then Middle Click Drag to change the number of inserted

vertices.

4. Multiple edges: Calls Connect Tool.

5. Single Face: Calls Poke Face.

6. Multiple Faces: Calls Connect Tool.


--------------------------------------------------------------------------

INSTALLATION:

1. Copy to My Documents/maya//scripts

2. If you plan on using this as a shelf button, feel free to copy the icon vrnDivCon.png to

My Documents/maya//prefs/icons

3'. Restart Maya

or

3". Type "rehash" (without quotes) in the Script Editor and press the number keypad Enter button.

--------------------------------------------------------------------------

USAGE:

Call the function with:

vrnDivCon();

--------------------------------------------------------------------------

Quick tutorial:


http://vrntech.ro/blog/440N/maya-mel-script-vrndivcon

----------------------------------------------------------------

REQUIREMENTS:

Maya 2016.5 or newer (might work in previous versions although not tested)

--------------------------------------------------------------------------

VERSION HISTORY:

1.0 - 13 feb 2018 initial public release!

--------------------------------------------------------------------------

CONTACT INFO:

Valentin Nadolu

vrntech.ro

You can use the script for personal or/and commercial work.

If you do find it useful, please give me credit in your work where possible!

-------------------------------------------------------------------------- 

Extended Use License
$0
License: Extended Commercial License
Stock Assets

For use on an unlimited number of commercial projects with no limits on sales or views.

Learn More
Files (1)
vrnDivCon_V1.0
7z /
3.1 KB