Self-intersecting curve cannot be used as a boundary for XCLIP

Self-intersecting curve cannot be used as a boundary for XCLIP

Anonymous
Not applicable
14,595 Views
14 Replies
Message 1 of 15

Self-intersecting curve cannot be used as a boundary for XCLIP

Anonymous
Not applicable

Dear all,

I have a array object and I need it to be clipped by a closed curve as follow:

Clipboard01.jpg

 

Clipboard02.jpg

 

However, when I used XCLIP --> New Boundary --> Select polyline

It rejects my command saying:

Self-intersceting Boundary is not acceptable

I tried zooming in and zomming out but it didn't work.

 

Please find the attachment for my DWG file

0 Likes
Accepted solutions (1)
14,596 Views
14 Replies
Replies (14)
Message 2 of 15

kite15
Advocate
Advocate

Can you try with CLIPIT command ??

After that the XCLIPFRAME will be help with this operation.Smiley Happy

0 Likes
Message 3 of 15

Anonymous
Not applicable

Hi,

 

I tried CLIPIT and it took a long time to process. Still, it didn't work. 

 

I tried simplifying the curve but the problem persists

"self intersecting curve"

 

How do I find out where the curve self intersects?

0 Likes
Message 4 of 15

M_Hensley
Advisor
Advisor
To get rid of self intersections explode the polyline then use overkill command to get rid of duplicates then use pedit command and join option to turn things back into a polyline.
Message 5 of 15

Kent1Cooper
Consultant
Consultant

@M_Hensley wrote:
To get rid of self intersections explode the polyline then use overkill command to get rid of duplicates then use pedit command and join option ....

If backtracking of the Polyline over itself is the source of the self-intersection problem, Explode/Overkill may not fix it for you.  If you have, say, a segment going to the right, and then one going partially back over that segment, and then another continuing farther to the right beyond that segment, Overkill won't find that because none of the Lines resulting from Exploding will match at both ends.  But certainly try that approach first, in case a complete segment coincidence is the issue and it can fix it.

 

But you might be able to see where such an incomplete-overlap situation is by selecting the Polyline, and in the Properties box, picking in the Vertex slot and then on the arrows that will step an X marker around the vertices, and watching for it to back up anywhere.  Or you can get the same marker moving around with PEDIT, Edit-vertex option, and repeated Enters for the default Next-vertex option.  Within that command, if you find a backtrack, with the Previous and Straighten options, you can fix it without Exploding it.

Kent Cooper, AIA
0 Likes
Message 6 of 15

TheCADWhisperer
Consultant
Consultant

See attached file.

There might be other less obvious self-intersections.

0 Likes
Message 7 of 15

Anonymous
Not applicable
Accepted solution

Thank you all!

 

Despite a lot of efforts, I couldn't solve the problem solely by my limited knowledge of AUTOCAD. So I resorted to rhinocereos and successfully simplify the curve enough to be imported back to AUTOCAD for the xclip.

 

My kind advice for whoever encounters a similar problem is that when you drew too many vertices, the risk of self-intersection becomes very high. So try keep the no. of vertices minimal.

0 Likes
Message 8 of 15

Anonymous
Not applicable

Try doing offset with minimum distance to the pline. Offset back if you want to keep the previous pline. 

I've tried this with complex clipping and it worked. 

Message 9 of 15

TheCADWhisperer
Consultant
Consultant

@Anonymous 

You are about 6 yrs too late.

0 Likes
Message 10 of 15

Anonymous
Not applicable

I know I'm late. But i think this might be helpfull for others in the future. 

Message 11 of 15

TheCADWhisperer
Consultant
Consultant

@Anonymous wrote:

I've tried this with complex clipping and it worked. 


Did you try this with the OP’s file and it worked?

Can you Attach your solution?

0 Likes
Message 12 of 15

J-Cota
Community Visitor
Community Visitor
Thank you. Offset worked for me.
0 Likes
Message 13 of 15

dillonbL6WJK
Community Visitor
Community Visitor
This worked for me thank you
0 Likes
Message 14 of 15

unicornmounted
Observer
Observer

Worked!

Thanks for posting despite the 6-year-gap

0 Likes
Message 15 of 15

aszymaszek
Contributor
Contributor

FYI - a solution for me was to use LINEWORKSHRINKWRAP, and use the resultant polyline as my border.

0 Likes