Cross Section Area Calculation Problem

I’m creating an Area Ruling program that involves taking cross sections of a vehicle and plotting the area in a graph. My problem is when two parts of the vehicle have a gap between them, creating two separate cross sections from the one cutting plane.

I am stumped on how to combine these separate cross section areas into a single value to plot on my chart. In the example shown the 20 cross section planes produce 31 area results. The result is the wavy cross section area curve shown in green as the program tries to plot two area values on the same point in the graph.

Any suggestions on how to proceed would be greatly appreciated.

Chris


Area Distribution Curves.gh (23.7 KB)

You didn’t internalize your ‘Vehicle Geo (Brep)’.

I would guess that Mass Addition is what you want.

Sorry about that.
Area Distribution Curves.gh (157.9 KB)

Mass Addition just gives me a single value for all of the curves.

Chris


Area Distribution Curves_2021_Jun25a.gh (157.6 KB)

Perfect, thanks !