Visual Basic Customization

Visual Basic Customization

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

Points along a polyline arc(bulge)...

387 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...
*Oquendo, Frank
Message 2 of 3 (387 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
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...
>
*Daum, Ivo
Message 3 of 3 (387 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
| 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...
| >
|

You are not logged in.

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.