Curve Toolkit v1.0#
What does it do#
The Curve Toolkit offers several functions to support and streamline your workflow with curves in Maya.
Copy CurveToolkit.py to :
Launch / Restart Maya
In Maya, open a Python Tab in the Script Editor and execute :
import CurveToolkit as CrvTK CrvTK.MainClassCrvKit()
Please make sure that there are no Space characters in front of the code lines.
The Tool menu is located in the top right corner of the toolkit.
Up arrow closes all tabs
Down arrow opens all tabs
Stack icon opens a new window with information about the tool
Helps to inspect curves.
With a single curve selected, Get Curve(s) lists the:
- Length of the curve
- CV count
- Span count
- Degree count
With multiple curves selected, Get Curve(s) lists the length of the Shortest and the Longest curve.
- Use the little S buttons to select the respective curve.
Use R next to the Get Curves(s) button to reset the analysis tab.
Pivot To Curve Origin sets the Pivot of every selected curve to their origin.
Snap Curve Origin To Surface snaps selected curves to the closest point on a specified surface.
- First select your curves
- then Shift select the surface you want to snap to
Reverse Curve Direction reverses the direction for every selected curve.
Select Point Range#
Select a specific point range on one or multiple curves.
When the range is higher than the curves point amount, the curve will be ignored.
- Enter a start and end point
- Select curve(s)
- Click on the Select button to run the script
Rebuild curves based on their length.
- Works in conjunction with the Analysis tab
- Select all your curves and get the length of the shortest curve with the Get Curve(s) function
- Set the Division value accordingly
- When all is set, select all curves and click Rebuild By Length
Open Rebuild Tool is a shortcut to Maya's internal tool
Converts curves to geometry.
Choose an Output type:
Section defines the circular subdivision amount.
Radius specifies the size of the profile.
Taper defines if the extrusion becomes smaller towards the end point.
Extrude Curve(s) converts curves to Nurbs or Polygons and groups the created objects.
To optimise the height subdivisions of your object, rebuild the curve(s) before using the Extruder.