In the below video I was trying to fit a circle with a given radius into two curves. However, the script I developed doesn’t seem to work. The circle is still intersecting with the two curves.
@DanielPiker any ideas?
BouncyRadii.gh (21.7 KB)
In the below video I was trying to fit a circle with a given radius into two curves. However, the script I developed doesn’t seem to work. The circle is still intersecting with the two curves.
@DanielPiker any ideas?
BouncyRadii.gh (21.7 KB)
Hi - the input curves are missing. If you can upload with them internalised I’ll show how this can be done
Thanks for the quick response!
Here you go!
BouncyRadii.gh (22.6 KB)
Here’s how you can solve this with Kangaroo.
It keeps 2 line segments perpendicular to the curves, with their length being the desired radius.
Note for simplicity I moved your curves, as they were far from the origin and not on the XY plane.
In Rhino you could also use the Circle by Tangent,Tangent,Radius command
@DanielPiker
Thanks!
I see there is some C# coding involved.
I know a bit of C# and would like to know in the future how we could recreate a custom class inheriting the GoalObject?
Is there any documentation for the GoalObject class?