Curve correction tool 1.0.0 (maya script)

Draw curves intuitively in Maya, similar to Adobe Illustrator. The tool would attach, correct, open and close curves automatically.

License Type:

Freeware

File ID:

32773

File Size:

7.3 KB

Created / Updated:

Jun 30, 2011 / Jul 02, 2011

Owner:

z l   More free downloads from this user See users marketplace items See this users portfolio Send a Private Message

Platforms:

mac, windows

Downloaded:

258

Maya:

2010, 2011, 2012

Tags:

correction, curve


Use toggle() to toggle between on/off states, assigning/killing script jobs, who monitor curves selection and creation, and apply correction automatically.
Use soft select falloff radius to set the threshold for the test if the curve edges of the correcting curve are close enough to the first curve in order to apply the correction.

Specifically:

1. Put the script in PYTHONPATH (e.g. C:/Documents and Settings/<user>/My Documents/maya/scripts).
2. Make a shelf button from the following code or simply run it:
   import curve_correction
   curve_correction.toggle()
3. Draw one curve or select one curve.
4. Draw another curve close to it. Closeness is determined relatively to the falloff radius of the soft select tool (Hold b and LMB while moving the mouse horizontally).
5. Features and notes:
   A. It attaches lines automatically.
   B. It closes the first curve automatically if both ends of one curve are close to both ends of the other curve.
   C. The orientation of the second curve matters - it matters from where you start drawing.
   D. Algorithm:
      1. It locates on cur1 the closest point to each one of the two ends of cur2.
      2. It detaches curve1 in these two points, splitting it to 3 curves: dc0, dc1, dc2.
      3. dc1 is deleted.
      4. cur2 is attached to dc0 and dc2.


Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum to ask any questions.
Please rate my product in the Review section.

People who have favorited this file

More from this artist

Related Marketplace Items