Splitting Duct on Required Distance

Hi,

Can anyone please explain what am I doing wrong?

What is your setting for the modeling range in Dynamo?

1 Like

Hi Marcel,
I got rid of error by using Springs.CurrentSelection node for selecting elements. But Curve.DivideCurveByDistance is not returning points as expected.
For example in this instance I was expecting to get points at [1500,1300,300] but it is returning [1500,1500,100]

Hey i would recommend using the “Split.BySegmentLength” node instead of the Curve.DivideCurveByDistance node.

That is because you have a point at 1500 mm. Then another point, also at 1500 mm. Try using 0…X…1500; in a code block

Hi @Daan @AlexanderBerg
After setting Geometry Scale Range Curve.DivideCurveByDistance is working fine for me now. Is there any way I could place union fittings at the calculated points because Tool.SplitDuct is only splitting ducts but Unions are not placed

I didn’t understand your question at first. My Modeling Range was at medium. I set it to Extra Large and now it’s working.

2 Likes

Happy you found the solution
you learn something new every day.
i started working with Dynamo in 2014, and i still make those little discoveries.

1 Like

Is this work? can you share the file. if its fine. thanks