The script I am working on, is an attempt to create pipework (converting lines to pipework) that is square and utilizes a rail sweep. This Grasshopper definition creates a multiple pipe with a rectangular section from curves, lines, and lines with fillet.
Square Pipes.ghx is the definition
-creates a vector between the start point and a point very close to it
-creates a rectangular section normal to the vector at the start point of the line or reference curve
-creates a sweep 1 rail along the line or curve
The warning that I receive under Swp1 is: Insufficient section curves could be constructed. The image is attached, but any help that can be offered is greatly appreciated.
kw

Tags: