Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Anonymous
1748 Vistas, 3 Respuestas

How to calculate start angle and end angle in ARC for DXF file ?

I am writing a software to generate simple 3D model from point cloud, output of which is also to be exported as DXF. Got struck with the 3D ARC generation in DXF format.

I have three 3D points (P1<x1,y1,z1> ; P2<x2,y2,z2> ; P3<x3,y3,z3>) with which I have to generate ARC and store it in DXF format. So far I am able to generate coordinates for Center (Code : 10,20,30 ), Radius (Code : 40), Extrusion Vector (Code: 210, 220, 230). But not able to find or develop mathematics for start angle and end angle for arc (Code: 50, 51).

 

Please help me to understand the mathematics behind generating Start and End Angle for ARC.

 

P.S. I am very new to CAD world.

 

Thanks,

Yash 

Etiquetas (3)