I’m trying to create cable tray follow cad drawing by dynamo.
so I linked cad drawing and extract curved line like attached images.
And I think, to create cable tray(or duct, pipe as well) I should find centerline for using “CableTray.ByLines” node…
But I have no idea how should I find the centerlines.
I tried that Bounding box, parallel line nodes…but I couldn’t. My skill is not enough to solve it.
Please tell me the solution or any idea~!!
Are the lines 2d? Is it actual solids from Autocad? My first question would be to ask the person creating the CAD if they have the possibility to create a centreline model instead. They often have that possibility if it’s created in a proper MEP software.