Adverti horiz upsell

MakeCenterLine 1.0.0 for Maya (maya script)

Create a curve or joints down the volumetric center of a mesh

License
Button download
283 Downloads

Compatibility

  • 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009, 2008

Operating Systems

  • Irix
  • Linux
  • Mac
  • Solaris
  • Windows

History

Created:08/10/2018
Last Modified:
File Size: 1.59 KB

Keywords

maya, joints, Rigging

Ever wanted to quickly draw a line in the center of a 3D object in Maya? Let’s say you need to place a curve there or joints, or both. This short Python script will let you create a curve or joints down the volumetric center of a mesh by way of an edge loop selection.

This came from a help request on some forum – someone was asking if there was a quick way to draw a line down the center of a 3D mesh.  The answer is “Yes if it has edge loops” – And here’s a useful python script for generating either NURBS curves, joint chains or both down the middle of an object with edge loops. The script has three functions, depending on what you select.

  • If you select one edge and run the script, it will generate a curve down the center of the object using all edge loops.
  • Select two edges, and it will generate a curve BETWEEN those two edge loops.
  • Select three or more edges, and it will generate a curve only using those selected edge loops (Good for heavy, redundant geo)

There are two flags, make centerline(0,1) creates a joint chain, (1,0) makes a NURBS curve and (1,1) makes both.



Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.

People who favorited this item:

  • capnkirk
    capnkirk
  • Nien Star
    Nien Star
  • WWWSHANGLE159
    WWWSHANGLE159
  • tony yang
    tony yang
  • abigaia
    abigaia
  • rushcg
    rushcg
  • vishalkadam472
    vishalkadam472
  • apecornelius
    apecornelius