top of page
Search

Week 20: How to Create a Curve from a Cross Section of a Mesh in Maya and Houdini

Updated: Mar 30, 2021

Maya:

  1. Create a plane that goes across mesh to represent the cross section.

  2. Boolean difference mesh minus plane with the intersection classification option set to "Normal".

  3. Select the edge loop that was just created by the boolean difference.

  4. Modify > Convert > Polygon Edges to Curve.

Alternatively, use the following script to create the cross section at the origin.

After running the script you get a curve!

















Houdini:

  1. Get SideFX Labs

  2. Make a geo object

  3. Inside the geo object, make the following:

    1. The geometry you want to make a cross section curve of.

    2. A clip SOP, set "Keep" to "All Primitives"

    3. Next, make a group SOP, where you group edges by bounding box. Make the Y size really small, like 0.0001 small, and the other axis bigger than your bounding box.

    4. Finally, create the Edge Group to Curve SOP, and select the group you made previously.



Alternatively, download the Cross Section HDA

bottom of page