Connect the curve parameter to a 'perp. frames' component, connect the
frames output to a 'plane components' component and connect the X axis
and the plane origin to a 'line SDL' component.

>also, how do
> you determine which direction the line goes in - for example
> perpendicular to the right or the left?

The perpendicular direction will depend on the main direction of the
curve. Curves have one direction that can be flipped using the 'dir'
command in rhino. The x axis vector of the created planes will be
pointing to the the right hand side of the curve, if you invert it, or
insert a negative length value, you'll get perpendicular lines to the
left hand side of the curve.

On Apr 17, 5:16 pm, soda10011 <[email protected]> wrote:
> i read another post on this but still could not figure it out.  i just
> starting learning grasshopper and know nearly nothing about
> scripting.  i have a curve that is divided into equal segments - how
> do i draw perpendicular lines to the curve (tangent) starting at each
> point?  i can create lines that are either the tangents themselves or
> perpendicular and sticking straight up in z axis.  I can't create a
> perpendicular to the curve in the plane of the curve.  also, how do
> you determine which direction the line goes in - for example
> perpendicular to the right or the left?
>
> thank you.

Reply via email to