Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Active Contributor
29 Posts
1 Kudo
Registered: ‎11-23-2009
Post 1 of 7

Curve from polyline segments

674 Views, 6 Replies
04-13-2012 02:50 AM

Hi!

 

I´m looking for oportunities to can modify a polyline with 4 or more segments in a polyline with arc. I think it´s possible to pick start and end segment first and than all straight segements to will be in arc segments. Have you a idea to can do this.

*Expert Elite*
9,827 Posts
1,216 Kudos
Registered: ‎06-29-2007
Post 2 of 7

Re: Curve from polyline segments

04-13-2012 02:54 AM in reply to: cadplayer

Hi,

 

I'm not able to imagine what you want to do, e.g how should this polyline with 4 segments be converted to one arc?

 

Prepare some samples so we can see the rules you'd like to follow.

 

- alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Active Contributor
29 Posts
1 Kudo
Registered: ‎11-23-2009
Post 3 of 7

Re: Curve from polyline segments

04-13-2012 03:14 AM in reply to: Alfred.NESWADBA

Have a look, in example you can see a polyline with 5 segments. Maybe Autocad have a function which I don´t know to modify segement 2,3,4 in arc-entities so all arc goes tagential in together. It´s a little complicate as use fillet only and I don´t realy like to use pedit to confirm in a curve, better is a polyline with line and arc.

*Expert Elite*
9,827 Posts
1,216 Kudos
Registered: ‎06-29-2007
Post 4 of 7

Re: Curve from polyline segments

04-13-2012 03:22 AM in reply to: cadplayer

Hi,

 

if you would like a progi that automatically finds that situations where an arc may fit .... it's not the easiest job with a lot of intelligence within the app.

 

If you want to get this result with support by the user you can:

  • draw a circle with tangent to first curve, tan to last curve and a point to pass through (in your sketch point 3)
  • start _TRIM and trim the "inner side" of the circle and the polyline-segments
  • connect the resulting objects using _PEDIT.

 

- alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Active Contributor
29 Posts
1 Kudo
Registered: ‎11-23-2009
Post 5 of 7

Re: Curve from polyline segments

04-13-2012 04:01 AM in reply to: Alfred.NESWADBA

Yes I done it before but I was asking if there another solution maybe with lisp. I need thinking little...

Active Contributor
29 Posts
1 Kudo
Registered: ‎11-23-2009
Post 6 of 7

Re: Curve from polyline segments

04-16-2012 11:29 AM in reply to: cadplayer
Is it possible to erase segments from polyline
*Expert Elite*
9,827 Posts
1,216 Kudos
Registered: ‎06-29-2007
Post 7 of 7

Re: Curve from polyline segments

04-16-2012 12:10 PM in reply to: cadplayer

Hi,

 

>> Is it possible to erase segments from polyline

I would do a _BREAK and show the points (start- and endpoint of the segment(s)).

Without development there is no command or function available for "erase segment of polyline".

 

- alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!