Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Active Contributor
cadplayer
Posts: 29
Registered: ‎11-23-2009
Message 1 of 7 (573 Views)

Curve from polyline segments

573 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*
Alfred.NESWADBA
Posts: 8,963
Registered: ‎06-29-2007
Message 2 of 7 (570 Views)

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
cadplayer
Posts: 29
Registered: ‎11-23-2009
Message 3 of 7 (566 Views)

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*
Alfred.NESWADBA
Posts: 8,963
Registered: ‎06-29-2007
Message 4 of 7 (560 Views)

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
cadplayer
Posts: 29
Registered: ‎11-23-2009
Message 5 of 7 (557 Views)

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
cadplayer
Posts: 29
Registered: ‎11-23-2009
Message 6 of 7 (521 Views)

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*
Alfred.NESWADBA
Posts: 8,963
Registered: ‎06-29-2007
Message 7 of 7 (515 Views)

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
-------------------------------------------------------------------------
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 or visit the Installation and Licensing Forum to get help installing your software.