algorithmic modeling for Rhino
Hi, does anyone know of a solution for this:
Given point A and B and the length of an arc (s = 10). How do you find the center point of the arc (x,y) and its radius r? i.e. how to fit an arc with a pre-determined length through 2 given points?
Feels like it should be a very simple solution.
Thanks in advance, Jason
Tags:
hi,
you have to find a solution for
 Sin (r * PI/s) - AB / (2*r)
while AB represents the Distance between A and B.
 I don't know how this is mathematically possible, but you can do it manually. adjust the radius until the equation is nearest at 0.
best regards
 laur
 circles.gh, 4 KB
 circles.gh, 4 KB                            Until you find an analytic solution, here's a Galapagos one. I made it so it only works in the World XY plane, in 3D you'll always have an infinite number of solution rather than just two.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
 FindRadius.gh, 4 KB
 FindRadius.gh, 4 KB                            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
    © 2025               Created by Scott Davidson.             
    Powered by
    