vrn Div Con
--------------------------------------------------------------------------
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/<version>/scripts
2. If you plan on using this as a shelf button, feel free to copy the icon vrnDivCon.png to
My Documents/maya/<version>/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:
--------------------------------------------------------------------------
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
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!