Visual Basic Customization

## Visual Basic Customization

*Johnston, Rick
Message 1 of 3 (344 Views)

# Points along a polyline arc(bulge)...

344 Views, 2 Replies
04-26-2001 03:16 AM
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...
Please use plain text.
*Oquendo, Frank
Message 2 of 3 (344 Views)

# Re: Points along a polyline arc(bulge)...

04-26-2001 03:31 AM in reply to: *Johnston, Rick
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.

--
Win an autographed copy of
"Mastering AutoCAD 2000 Objects"
by Dietmar Rudolph

"Rick Johnston" wrote in message
> 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
> etc...)...any assistance would be greatly appreciated!
>
> Thanx.
>
> Rick...
>
Please use plain text.
*Daum, Ivo
Message 3 of 3 (344 Views)

# Re:

04-26-2001 07:11 PM in reply to: *Johnston, Rick
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 office@cad-daum.at if it is good for you.

Ivo
_______________________________________________________

"Frank Oquendo" schrieb im Newsbeitrag
| 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.
|
| --
| Win an autographed copy of
| "Mastering AutoCAD 2000 Objects"
| by Dietmar Rudolph
|
| "Rick Johnston" wrote in message
| > 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
| > etc...)...any assistance would be greatly appreciated!
| >
| > Thanx.
| >
| > Rick...
| >
|
Please use plain text.

### You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

### Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Recently Solved