Objects disappear after boolean operation -- weird path?

Post questions on how to use or achieve an effect in Inkscape.
ewilhelm
Posts: 3
Joined: Sat Oct 26, 2019 4:25 am

Objects disappear after boolean operation -- weird path?

Postby ewilhelm » Sat Oct 26, 2019 4:36 am

Hi,

I have a path and a rectangle, and would like to do an intersection. When I select both objects and choose intersection, nothing is left. The same is true of any boolean operation on this path. Can you please help? Is something about the path causing this behavior?

The SVG can be found here:
https://drive.google.com/file/d/1eOyHFp ... sp=sharing
(path is a street scene already missing some parts; rectangle is black in the upper right)

I'm using 0.92 on a Mac, if that makes a difference.

Thank you!

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: Objects disappear after boolean operation -- weird path?

Postby druban » Sat Oct 26, 2019 6:05 pm

Q. Is something about the path causing this behavior?
A. 62761 nodes maybe

if you only want a small part of the picture just trace a cropped image instead of tracing the whole and trying to cut away parts.
Your mind is what you think it is.

Polygon
Posts: 393
Joined: Thu Dec 19, 2013 3:27 am

Re: Objects disappear after boolean operation -- weird path?

Postby Polygon » Sat Oct 26, 2019 7:51 pm

Why not clip-it-away with the rectangle:
Clipped.jpg
Clipped.jpg (30.34 KiB) Viewed 1575 times

Cheers

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Objects disappear after boolean operation -- weird path?

Postby Moini » Sun Oct 27, 2019 8:22 am

Works when you reverse the path direction of the street scene.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

Polygon
Posts: 393
Joined: Thu Dec 19, 2013 3:27 am

Re: Objects disappear after boolean operation -- weird path?

Postby Polygon » Sun Oct 27, 2019 10:08 pm

Sounds like a bug or inconsistency to me, because reversing the path of the rectangle should do as well - but don´t.

ewilhelm
Posts: 3
Joined: Sat Oct 26, 2019 4:25 am

Re: Objects disappear after boolean operation -- weird path?

Postby ewilhelm » Tue Oct 29, 2019 3:54 am

Polygon wrote:Why not clip-it-away with the rectangle:
Clipped.jpg
Cheers


Thanks for the suggestion. I'm ultimately trying to reduce the number of node in this path. Simplify doesn't give satisfactory results. Multiple paths, each with fewer nodes that together have the same overall number of nodes, works fine for my application. That's what I was trying to achieve with boolean operations.

I'm also interested in other strategies for reducing nodes.

Thanks!


Return to “Help with using Inkscape”