What command to draw average of 7 curves?

having obtained sections through a rusty metal bar thats seen some usage, I need to get one curve which is the average of them all.

attached the sections for ‘steering gear’ item, I then do same for ‘handbrake’ item and can then use these to best align the two objects together.

How is getting an average curve from 7 done ? to be created on cpalne from views in lower left pane.

attached the file.

I am going to be placing sections though meshes and needing to average out the sections many times for my projects referencing meshes, so this for working with meshes as stage one of redrawing with curves surfaces and solids is essential to me.
average 7 sections.3dm (124.4 KB)



If you are using Grasshopper the My Pufferfish plug-in has a nice easy Average Curve component you can use. I have no idea how to do that manually without code.

Sorry not into Grasshopper at all.

I am V5 by the way,


Hi Steve - here is a curve averager that works in V5 - it s based on simply interpolating averaged sample points in each curve.
AverageCurves.py (2.2 KB)

To use the Python script use RunPythonScript, or a macro:

_-RunPythonScript "Full path to py file inside double-quotes"