Direction on polylines from part shifts

I have 2 stringers that is made from the same face.
The 2.nd face is a copy.
When I drag them back into grasshopper, for another script, they don’t have the same direction.
something causes it to change direction, in the first component.
I can’t figure out what’s going wrong. But i seems to be at the plate component the magic happens.
The sad thing is i can’t recreate it.

//Chears Sören.


so I copy the stringer and only if it moved more then 500mm the direction is the same on both.
I dont get it.

Hi Søren,

Try turning off the Orient input of the Plate components.

Tekla tries to auto-orient any plates or slabs that are inserted by reversing their point order if necessary. This is to get their up-direction aligned with the global Z-direction, so that they play nicer while e.g. positioning.

In your case the plates are vertical so the up-direction is kind of ambiguous, therefore small rounding errors will cause the points to flip in some cases. Turning off the Orient input should make them always keep the original point order.

Cheers,

-b

Sebastian !

A Boolean Toggle at Orient was rigth to do.
I’ll note that plates in other planes then xy, is wise to turn off the Orient input.

THX - Søren.

image

1 Like