Reply

Add Arc2d in Profile

[ Edited ]

hallo

In Profile I try to add arc. But I have only Start & End coordinates and Radius value.

 

Solid edge allow creare arc only in these 3 methods>

 

objArcs.AddAsFillet

objArcs.AddByCenterStartEnd

objArcs.AddByStartAlongEnd

 

 

is there any idea how to create arc2d other way.

 

Posted by: Tibor
Post date: 12/14/2010 8:28:39 PM

3 REPLIES

RE: Add Arc2d in Profile

[ Edited ]

Hi Tibor,

 

having the start- & end point coordinates plus the radius allows you to calculate the center point coordinates. Then you are able to use the method AddByCenterStartEnd. The only problem is that there exist 2 possible solutions for the center point, except you have an arc angle of exactly 180 degree.

 

You get the (2) possible center points by solving the system of equations given below for xc and yc:

 

(xs - xc)^2 + (ys - yc)^2 = r^2

(xe - xc)^2 + (ye - yc)^2 = r^2

 

with xs, ys as the given start point coordinates

with xe, ye as the given end point coordinates

with r as the given radius

with xc, yc as the searched center point coordinates

 

I hope this helps ...

 

P.S. The mathematical expressions of the solutions for xc and yc are quite huge, so i omitted to print them here.

 

Posted by: Wolfgang Kunert
Post date: 12/15/2010 1:50:03 AM

RE: Add Arc2d in Profile

[ Edited ]

Hi Wolfgang

Thanks for input.

Please be so kind and send the mathematical expressions to my email> tibor.bl(a)gmail.com

 

Posted by: Tibor
Post date: 12/17/2010 12:40:17 AM

RE: Add Arc2d in Profile

[ Edited ]

Hi Tibor,

 

i've attached a PDF containing the expressions in mathematical notation.

 

 

Posted by: Wolfgang Kunert
Post date: 12/17/2010 1:14:57 AM