Points along a polyline arc(bulge)...

Points along a polyline arc(bulge)...

Anonymous
Not applicable
2,236 Views
5 Replies
Message 1 of 6

Points along a polyline arc(bulge)...

Anonymous
Not applicable
Does anyone have a VBA applet to extract points along a arc of a polyline
object based on the bulge factor? I have automated thru VBA an SDF Export
utility that needs to handle bulges so I need a way to calc the points. I
have written one for arc, but there is no clean way to extract all info
needed from polyline as with an arc (i.e. start angle end angle radius,
etc...)...any assistance would be greatly appreciated!

Thanx.

Rick...
0 Likes
2,237 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable
Here's some formulas to make use of the bulge factor:

Included angle = 4 * Atn(Abs(bulge factor))
Chord = Distance from startpoint of to endoint of arc
Radius = 1/2 chord / Cos(1/2 included angle - 1/2 PI)

Knowing the radius as well as the start and end points should give you
enough information to calculate points along the arc. Good luck and
let us know what you find out.

--
http://www.acadx.com
Win an autographed copy of
"Mastering AutoCAD 2000 Objects"
by Dietmar Rudolph

"Rick Johnston" wrote in message
news:[email protected]...
> Does anyone have a VBA applet to extract points along a arc of a
polyline
> object based on the bulge factor? I have automated thru VBA an SDF
Export
> utility that needs to handle bulges so I need a way to calc the
points. I
> have written one for arc, but there is no clean way to extract all
info
> needed from polyline as with an arc (i.e. start angle end angle
radius,
> etc...)...any assistance would be greatly appreciated!
>
> Thanx.
>
> Rick...
>
0 Likes
Message 3 of 6

Anonymous
Not applicable
I have a Tool an my Homepage http://www.cad-daum.at/POLYBOEGEN.htm
that konverts polylines with arcs in polylines with only points (on the old
arcs).

The tool is in german, you can test it for 14 Days !
You can send me an mail [email protected] if it is good for you.

Ivo
_______________________________________________________
www.cad-daum.at

"Frank Oquendo" schrieb im Newsbeitrag
news:[email protected]...
| Here's some formulas to make use of the bulge factor:
|
| Included angle = 4 * Atn(Abs(bulge factor))
| Chord = Distance from startpoint of to endoint of arc
| Radius = 1/2 chord / Cos(1/2 included angle - 1/2 PI)
|
| Knowing the radius as well as the start and end points should give you
| enough information to calculate points along the arc. Good luck and
| let us know what you find out.
|
| --
| http://www.acadx.com
| Win an autographed copy of
| "Mastering AutoCAD 2000 Objects"
| by Dietmar Rudolph
|
| "Rick Johnston" wrote in message
| news:[email protected]...
| > Does anyone have a VBA applet to extract points along a arc of a
| polyline
| > object based on the bulge factor? I have automated thru VBA an SDF
| Export
| > utility that needs to handle bulges so I need a way to calc the
| points. I
| > have written one for arc, but there is no clean way to extract all
| info
| > needed from polyline as with an arc (i.e. start angle end angle
| radius,
| > etc...)...any assistance would be greatly appreciated!
| >
| > Thanx.
| >
| > Rick...
| >
|
0 Likes
Message 4 of 6

DariuszSkibicki
Observer
Observer

really silly answer, please don't answer if you don't know what



@Anonymous wrote:
Here's some formulas to make use of the bulge factor:

Included angle = 4 * Atn(Abs(bulge factor))
Chord = Distance from startpoint of to endoint of arc
Radius = 1/2 chord / Cos(1/2 included angle - 1/2 PI)

Knowing the radius as well as the start and end points should give you
enough information to calculate points along the arc. Good luck and
let us know what you find out.

--
http://www.acadx.com
Win an autographed copy of
"Mastering AutoCAD 2000 Objects"
by Dietmar Rudolph

"Rick Johnston" wrote in message
news:[email protected]...
> Does anyone have a VBA applet to extract points along a arc of a
polyline
> object based on the bulge factor? I have automated thru VBA an SDF
Export
> utility that needs to handle bulges so I need a way to calc the
points. I
> have written one for arc, but there is no clean way to extract all
info
> needed from polyline as with an arc (i.e. start angle end angle
radius,
> etc...)...any assistance would be greatly appreciated!
>
> Thanx.
>
> Rick...
>
0 Likes
Message 5 of 6

norman.yuan
Mentor
Mentor

@DariuszSkibicki , sorry, this is the rudest post I have ever seen in this forum!

 

Frank's reply (even it is almost 20 years, back then he was one of the most respected in this forum) provided enough information for anyone who seriously wants to know/learn how to get point along polyline arc: basic math knowledge is required to do AutoCAD programming. To say that is not an answer shows how much AutoCAD programming one really does not know!

 

 

Norman Yuan

Drive CAD With Code

EESignature

Message 6 of 6

DariuszSkibicki
Observer
Observer
Dear All,

If you want to help someone please give a complete solution, not a piece
of information which are widely available! This is an example of an
information smog.


Best regards
Skibicki
0 Likes