I am looking to create a graph that will calculate the (at least approximate) Centerline Length for a series of connected MEP Fabrication pipes/tubing.
My plan was to use the MEPover Connector Info + to get the connection points, then calculate a curve from said points, thus a speedbump arises.
The selected elements do not come into Dynamo in the order of connection. Is there a node/command that would organize FabricationElements in order of connection?
I was trying to use Nurbscurve to result in one single curve that follows the curvature of the bends that my company uses, and intersects at the connection points of each element. Then all I would need is to get the length of that curve.
I’m sure there are otherways, no doubt, but this is the one I happen to be exploring at the moment.
Correct, the straight pipe does have this Length parameter. Unfortunately, with the database available to us, any fittings/bends/elbows do not have this centerline-length parameter. It is possible that they will add such a parameter in the future, and I will be trying to communicate the importance of that parameter when applicable.
So yes, I am trying to replicate a “Centerline Length” parameter in a script.
It appears that these elements’ geometry consists of Mesh.
The MEPover Connector Info+ will spit out Points that are located at the connection point for each part, as well as the elements that are connected to each connection point.