How to add an arc segment to a polyline

How to add an arc segment to a polyline

EQ_001
Explorer Explorer
243 Views
1 Reply
Message 1 of 2

How to add an arc segment to a polyline

EQ_001
Explorer
Explorer

Hi, everyone,

   

I want to create a close area polyline (red color) as in the picture below.

Can you please give me some hints or c# sample code to achieve this?

 p1.png

0 Likes
244 Views
1 Reply
Reply (1)
Message 2 of 2

_gile
Consultant
Consultant

Hi,

You have to set a 'Bulge' value to the corresponding segment.

The bulge equals the tangent of the quarter of the arc angle (IOW the ratio between the arc sagitta and half chord). The bulge is negative if the arc is clockwise; positive otherwise.



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub