I’m having problems creating rectangles from a divided curve. I’ve divide a curve every 0.11 m. and then I created the rectangles form its tangent. It seems to be ok at the beginning but at one point the rectangles are created in the opposite direction.
Can anyboy help me please? I’ve tried flipping the curve and evaluating it but evereything looks great until I created them.
Hey not sure if this what are you trying to achieve, but i reckon you have better control by using align plane and the output tangent from divide length.
Also check the direction of your curve with vector display
Thank you very much for your answer but actually that’s not what I’m trying to achieve. I’ll upload the definition because the curve it’s not a flat curve.
the cross product follows the right hand rule.
ZxA will flip as shown in the screenshot.
Your curve is a polyline - for a robust definition make sure, it also works for 0-Degree corner.
You need a proper characteristic that defines “left” or “right” side of the curve (for example a positive x-component of the vector or a nearly infinite point ).
@ftzuk
the original definition results in quads, that have 2 edges that are perpendicular to world Z / or in other words - that are horizontal. The differenz is more visible with a freeform curve:
@Tom_P thank you very much for the explanation. I created a vector that defined the side “right” or “left” and with this vector I fixed the mistake. Thanks!!