Script Multi-Unroll Crvs into Horizontal Graph

EDIT: Got some time to re-relearn the ol’ RhinoScriptSyntax, so I’ll be posting as I figure this out, and please feel free to correct, comment, and/or add….

Ultimately what I’m hoping to do is select all the crvs I’ve used for piping wire-harnesses, and create a visual horizontal graph, keeping the crvs’ attributes (name, pipe radius, name, apply layer’s color to crv object) and aggregate the unrolled curves on a new layer.

Something like the following image with the crvs’ start points aligned on the Y-axis. “Text Here” would become (ObjectName) and XX% would become (ObjectLength) and (ObjectDiameter) in decimal inches 0.000

Basically looking to come up with something like @Helvetosaur‘s MultiUnroll_Mitch2017.py (7.4 KB) but for Curves only.

Extra credit will be if I can create an exported .csv of the results :sweat_smile: (@clement I may bother you about this if I find myself stuck!)

image

Sounds more like a job request than a script help. Idk try to do your homework and then if you struggly come and ask? Otherwise It’s too easy to come here and ask, and others provide full code ready for you spending their time while you didnt even try… my 2cents…

Besides its for commercial use so.. ure even going to earn off it… without investing the time to learn coding nor payin who invested his time for you..

Overall I think this is a scripting request forum, not a job request category. I see no code here to assist with.
Again, just my honest opinion, no harm intended.

In case anyone follows this later, I’ve skipped over the Multi-Unroll for now, but working my way through the text placements, and will post when I have that part complete.

1 Like