algorithmic modeling for Rhino
In case of open curves, try use "Flip Curve" component, you can assign a guide curve, maybe it helps.
In case of closed planar curves, you can "convert" them into surfaces, and depending on the angle between normal and Z+ vector determine if the curve is to be flipped or not. (counerclockwise perimeter make a positive normal)
Similar with non-planar closed curves but by using patch component.
Those are heavy solutions, slow.
Remember always to attach your data, or it will always be hard to get proper help.
The 'guide' input for the Flip Curve component is actually handy for both open and closed curves. If all curves (including the guide) are open, then each curve is reduced to a line from start to end. If flipping this line improves alignment with the guide, the curve is flipped.
If all curves (including the guide) are closed, then orientation is looked at instead.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by