Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

14 REPLIES 14
SOLVED
Reply
Message 1 of 15
Anonymous
9117 Views, 14 Replies

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

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

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

14 REPLIES 14
Message 2 of 15
kite15
in reply to: Anonymous

kite15
Advocate
Advocate

Can you try with CLIPIT command ??

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

0 Likes

Can you try with CLIPIT command ??

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

Message 3 of 15
Anonymous
in reply to: kite15

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

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?

Message 4 of 15
M_Hensley
in reply to: Anonymous

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.

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
in reply to: M_Hensley

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


@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
Message 6 of 15
TheCADWhisperer
in reply to: Anonymous

TheCADWhisperer
Consultant
Consultant

See attached file.

There might be other less obvious self-intersections.

0 Likes

See attached file.

There might be other less obvious self-intersections.

Message 7 of 15
Anonymous
in reply to: TheCADWhisperer

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

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.

Message 8 of 15
Anonymous
in reply to: Anonymous

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. 

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
in reply to: Anonymous

TheCADWhisperer
Consultant
Consultant

@Anonymous 

You are about 6 yrs too late.

0 Likes

@Anonymous 

You are about 6 yrs too late.

Message 10 of 15
Anonymous
in reply to: TheCADWhisperer

Anonymous
Not applicable

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

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

Message 11 of 15
TheCADWhisperer
in reply to: Anonymous

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


@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?

Message 12 of 15
Jim_Cota
in reply to: Anonymous

Jim_Cota
Community Visitor
Community Visitor
Thank you. Offset worked for me.
0 Likes

Thank you. Offset worked for me.
Message 13 of 15
dillonbL6WJK
in reply to: Anonymous

dillonbL6WJK
Community Visitor
Community Visitor
This worked for me thank you
0 Likes

This worked for me thank you
Message 14 of 15
unicornmounted
in reply to: Anonymous

unicornmounted
Community Visitor
Community Visitor

Worked!

Thanks for posting despite the 6-year-gap

0 Likes

Worked!

Thanks for posting despite the 6-year-gap

Message 15 of 15
aszymaszek
in reply to: Anonymous

aszymaszek
Contributor
Contributor

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

0 Likes

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report