Create a Box Sweep around Piping Systems

Hello, I am working on a project that requires me to create a protective box around pipe systems. I have manages to code the sweep using dynamo.

However, there is a break in the line system which does not register the pipe fittings’ center curve line. Causing an incomplete sweep around the pipes.

I have managed to obtain the center pipe line using previously discussed forum, PolyCurve from a Pipe Network. But the sweep does not appear and give me an error.

I am unsure how to solve this as i am not very familiar with dynamo. Would like to know if there is any suggestion to this problem.

Thank you in advance.
Masonry Box Sweep.dyn (75.5 KB)

1 Like