What is wrong with these Polylines?

What is wrong with these Polylines?

abbas.baghernezhad
Enthusiast Enthusiast
1,748 Views
26 Replies
Message 1 of 27

What is wrong with these Polylines?

abbas.baghernezhad
Enthusiast
Enthusiast

These polylines come out of Pronest Software. I can't use trim on them. As you can see there is a symbol shown like it is not allowed to trim! If I make the polyline attribiute closed as "NO", the error goes away. I can't figure out why this happens and how to make the polyline cured! If I set closed as "Yes", the error comes back! the same happens for exploding and joining. It is very interesting to know what is wrong with these PLs!

 

abbasbaghernezhad_0-1705054338301.png

0 Likes
Accepted solutions (1)
1,749 Views
26 Replies
Replies (26)
Message 2 of 27

Valentin_CAD
Mentor
Mentor

@abbas.baghernezhad ,

 

See if using the BURST command helps or post the drawing for all to troubleshoot.



Select the "Mark as Solution" if my post solves your issue or answers your question.

Seleccione "Marcar como solución" si mi publicación resuelve o responde a su pregunta.


Emilio Valentin

0 Likes
Message 3 of 27

cadffm
Consultant
Consultant

Hi,

 

If you had attached the DWG, then you could check
Without the DWG you can only look into the crystal ball 😉

 

Self-intersection polyline

I guess there are multiple parts of this polyline at the same place.

You cancheck this by steping tthru the vertices or simple:

Explode it and use a cross/crosswindow sleection to check the exploded result at this point.

Is it just one line or multiple objects?

 

Share your DWG and we can stop guessing 🙂

Sebastian

0 Likes
Message 4 of 27

pendean
Community Legend
Community Legend

@abbas.baghernezhad wrote:

These polylines come out of Pronest Software.... 


Did you try to find out if that software offers other export options that can fix the problem? They might have an idea or two as well

https://www.hypertherm.com/en-US/contact-us/technical/  

https://www.hypertherm.com/en-US/contact-us/ 

 

 

0 Likes
Message 5 of 27

Kent1Cooper
Consultant
Consultant

The command-line history showing in the image indicates that there must be some cutting edge(s) selected by Fence, but they are not apparent in the image [nothing highlighted, including the Polyline itself].  If:

A.  the Polyline is not a cutting edge itself, and does not cross any selected cutting edge(s), or:

B.  the Polyline is closed and only one cutting edge penetrates into but not through it;

then you would get exactly this effect -- you can't Trim the Polyline under those conditions, whether or not it comes from some other software.  Could something like that be what's going on?

Kent Cooper, AIA
0 Likes
Message 6 of 27

abbas.baghernezhad
Enthusiast
Enthusiast

I had prepared a sample. I did upload it... I don't know Why it wasn't there.
I uploaded it again!

sometimes there is a line with lenght of zero in the polyline. sometimes there are not any weired object. But even if you delet that zero lenght line and joint the rest, the problem insist to exist! (try the long polyline in the sample) 

0 Likes
Message 7 of 27

abbas.baghernezhad
Enthusiast
Enthusiast

We have just polylines. I guess BURST works on blocks only.

0 Likes
Message 8 of 27

cadffm
Consultant
Consultant

Hi,

 

If you don't have "valid" cutting edges objects(or segments), you can't cut(trim).  That's all?

I could find any problem in the file/polyline.

 

BTW: If you want to erase a segment from your plines, [CTRL]+[LMB] and [DEL]

 

last or/and next segments tangential, is not two valid cutting edges, because they are not crossing each other

Sebastian

0 Likes
Message 9 of 27

abbas.baghernezhad
Enthusiast
Enthusiast

I'm sorry if there was no sample uploaded. There it is.

These polylines are closed.

0 Likes
Message 10 of 27

pendean
Community Legend
Community Legend

@abbas.baghernezhad Where is this in your DWG file?

pendean_0-1705073742730.png

 

0 Likes
Message 11 of 27

abbas.baghernezhad
Enthusiast
Enthusiast

somrtimes using [CTRL]+[LMB] and [DEL] on these PLs leads to deleting the whole polyline. Not always possible!

do we need "valid cutting edges"  to use trim or  [CTRL]+[LMB] and [DEL] on PL segments? and what is a "valid cutting edge" ?

0 Likes
Message 12 of 27

Kent1Cooper
Consultant
Consultant

@pendean wrote:

....Where is this in your DWG file?


Did you open the wrong file?  I get this with the file at Message 9:

Kent1Cooper_0-1705074317820.png

 

Kent Cooper, AIA
0 Likes
Message 13 of 27

abbas.baghernezhad
Enthusiast
Enthusiast

Sorry again!

0 Likes
Message 14 of 27

cadffm
Consultant
Consultant

This is TRIM command, not Break! You need 2 cutting edges (say trim edges) to trim something.

A tangential curve is NOT an intersetions

cadffm_0-1705074889866.png

 

https://help.autodesk.com/view/ACD/2024/ENU/?guid=GUID-B1A185EF-07C6-4C53-A76F-05ADE11F5C32

 

Sebastian

0 Likes
Message 15 of 27

cadffm
Consultant
Consultant

And regardless,
you cannot completely trim the first segment of a polyline

and also not the closing segment (which you can't see in your example because you have drawn an unnecessary point)

Sebastian

0 Likes
Message 16 of 27

pendean
Community Legend
Community Legend

@Kent1Cooper wrote:

@pendean wrote:

....Where is this in your DWG file?


Did you open the wrong file?  I get this with the file at Message 9:

Kent1Cooper_0-1705074317820.png

 


Message 1...

0 Likes
Message 17 of 27

pendean
Community Legend
Community Legend

@abbas.baghernezhad How much more time do you want to mess with this?

 

Do this: EXPLODE your PLINEs then remake them into PLINEs again (there are dozens of free LISP to do the latter all over the web). All of your problems go away. Took less that 10-15 seconds in each of your two different DXF files posted in this thread.

 

You issue(s) has all to do with hat other software. Sorry, AutoCAD can't auto-fix them for you.

 

Best wishes.

0 Likes
Message 18 of 27

abbas.baghernezhad
Enthusiast
Enthusiast

test trim on the attached sample. It is possible to trim every segment!

0 Likes
Message 19 of 27

abbas.baghernezhad
Enthusiast
Enthusiast

Unfortunately explode and join Doesn't work!

I'm curious about this problem. It is stange. There is sth important about polylines that we are missing.

0 Likes
Message 20 of 27

Kent1Cooper
Consultant
Consultant

@abbas.baghernezhad wrote:

Unfortunately explode and join Doesn't work!

....


If you Explode and then Erase the zero-length Line that results at the original start/end points where you have coincident vertices, and then Join, does it work?

Kent Cooper, AIA
0 Likes