algorithmic modeling for Rhino
Simple question that is driving me crazy, how can I avoid this to happen?
The vectors are oriented in a single direction, but the circle is drawn with a different orientation depending on the vectors direction. I was doing this in Python in order to make several spirals around a curve but I'm blocked with this problem.
Tags:
The tangent vector isn't enough to define consitent frame (coordinate system). CNR guesses the plane on which to create the circle on fron the world coordinate system.
The PerpFrame constructs a perpendicular frame from tangent and curvature vecors. This should be consistent for your example.
On the other hand, you could find the CurveCP for each curve and a reference point. Then shift the circles seam with the Seam component
Perfect. Thanks!
Didn't think that you would use CNR on a plane and a radius... :D
sometimes GH's tolerance of input parameters can be misleading.
© 2020 Created by Scott Davidson. Powered by