Hi everyone,

I am having some trouble transporting this logic into 3D. The idea is that depending on the curve’s direction, a concave or convex curve is generated.

If parallel to Y axis its concave.

If parallel to X axis its convex.

To achieve this I used the absolute function.

But in 3D space, the vector is decomposed into word coordinates instead of the specific plane needed, and it does not work.

The attached def contains both the 2D version and the 3D version.

Thanks for any help.

Flip Curve by Rotation.gh (21.8 KB)