Rectangular sweep pipe?

Hi i need some help with sweeping a rectangle along a curve. 

currently one of the edges of the section curve (rectangle) is used to make the sweep while i need the rectangle to sweep with the curve in the center.

a solution would be much appreciated

Cheers,

  • up

    Danny Boyes

    The Input for a Rectangle component is a Domain i.e from one value to another. For it to be in the centre you should have -x/2 to x/2 where x is you intended dimension. The way you have it is going from 0 to 0.19 as GH is trying to convert your number to a domain.

    1