Product banner image

MakeCenterLine for Maya

BFX
(30 ratings)
Product description
7 ratings

MakeCenterLine for Maya

https://vimeo.com/283953328

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. You could eyeball it, but here's a handy script solution. 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.

UPDATE 05 2022: Fixed the syntax error (Python 3 / Maya 2022 thing)

UPDATE 02 2022: I've added an AMAZING  UI to this tool plus updated the ancient code to give it a bit more stability.  Download this python file and move it to your Maya scripts directory.  If running windows it's probably C:\Users\[you]\Documents\maya\[version]\scripts.  Then from a python tab in Maya run "import makeCenterLine" and "makeCenterLine.UI()"  


  • 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 edg

MakeCenterLine for Maya

Product description
7 ratings

MakeCenterLine for Maya

https://vimeo.com/283953328

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. You could eyeball it, but here's a handy script solution. 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.

UPDATE 05 2022: Fixed the syntax error (Python 3 / Maya 2022 thing)

UPDATE 02 2022: I've added an AMAZING  UI to this tool plus updated the ancient code to give it a bit more stability.  Download this python file and move it to your Maya scripts directory.  If running windows it's probably C:\Users\[you]\Documents\maya\[version]\scripts.  Then from a python tab in Maya run "import makeCenterLine" and "makeCenterLine.UI()"  


  • 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 edg
ratings
0(0 ratings)
5 stars
100%
4 stars
0%
3 stars
0%
2 stars
0%
1 star
0%
Product Details
Software
Release Version
1