Visual Basic Customization

Reply
*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.

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

"Rick Johnston" wrote in message
news:smileyvery-happy:A431CE27F10D7AFFFA1F6FDC0A3CE1C@in.WebX.maYIadrTaRb...
> 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...
>
*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
_______________________________________________________
www.cad-daum.at

"Frank Oquendo" schrieb im Newsbeitrag
news:6CF7CEF327C34398BB6D48667F6E6B28@in.WebX.maYIadrTaRb...
| 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:smileyvery-happy:A431CE27F10D7AFFFA1F6FDC0A3CE1C@in.WebX.maYIadrTaRb...
| > 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...
| >
|

You are not logged in.

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

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.

Need installation help?

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

Ask the Community