Visual Basic Customization
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
*Johnston, Rick
Points along a polyline arc(bulge) ...
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
305 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...
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
Re: Points along a polyline arc(bulge) ...
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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
A431CE27F10D7AFFFA1F6FDC0A3CE1C@in.WebX.maYIadrTaR b...
> 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...
>
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"
news
> 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
Re:
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.maYI adrTaRb...
| 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
A431CE27F10D7AFFFA1F6FDC0A3CE1C@in.WebX.maYIadrTaR b...
| > 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...
| >
|
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"
news:6CF7CEF327C34398BB6D48667F6E6B28@in.WebX.maYI
| 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"
| news
| > 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...
| >
|

