discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: Calculate points in an arc - tr

RP
Ronaldo Persiano
Thu, Mar 31, 2022 9:42 AM

Em qui., 31 de mar. de 2022 às 06:59, Jan Öhman via Discuss <
discuss@lists.openscad.org> escreveu:

This is probably a trigonometry problem (in the first place)
Assume 3 points in the arc of a circle are known. (the values are a bit
simplified)
(on the top of the circle)
p1 = [10, 50]      // the start value
p2 = [45, 51.5]  // the middle value
p3 = [100.50]    // the end value

is this sufficient to calculate the other values between these points (the
y-value) in the arc of the circle?
(or do I also need to know the radius and center point of the circle
before the arc of the circle can be calculated?)

Em qui., 31 de mar. de 2022 às 06:59, Jan Öhman via Discuss < discuss@lists.openscad.org> escreveu: > This is probably a trigonometry problem (in the first place) > Assume 3 points in the arc of a circle are known. (the values are a bit > simplified) > (on the top of the circle) > p1 = [10, 50] // the start value > p2 = [45, 51.5] // the middle value > p3 = [100.50] // the end value > > is this sufficient to calculate the other values between these points (the > y-value) in the arc of the circle? > (or do I also need to know the radius and center point of the circle > before the arc of the circle can be calculated?) > > https://en.wikipedia.org/wiki/Circumscribed_circle#Cartesian_coordinates_2