Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path / Difference behavior #294

Open
pgilfernandez opened this issue Nov 1, 2024 · 3 comments
Open

Path / Difference behavior #294

pgilfernandez opened this issue Nov 1, 2024 · 3 comments
Assignees
Labels

Comments

@pgilfernandez
Copy link

It maybe be as you pretended to be but as it is at the contrary in Inkscape I just commenting it:

If you have 2 shapes and want to do a "difference boolean", that is, Path / Difference, the normal behavior in Inkscape (and other vector graphics softwares) is that the shape on top cuts the one below, but in Friction is at the contrary.
If I start with this arrangement (obviously the red rectangle is on top of the green circle):

one

The result is the following (blue shape):

two

I see that Friction behavior is to keep the original shapes, which is acceptable and probably a good thing in some workflows, but what feels odd in the fact that the one below is the one that is cutting the one on top...

Is that known and is the way you want it to be?

Cheers

@rodlie
Copy link
Member

rodlie commented Nov 1, 2024

You are correct, It does the opposite of what you would expect. Will take a look.

I see that Friction behavior is to keep the original shapes

All options under Path will create a new path item, the original items are not touched.

A compromise could be a checkbox under the Path menu, "Keep original object(s)" with default on?

@rodlie rodlie added the ux label Nov 1, 2024
@rodlie rodlie self-assigned this Nov 1, 2024
@pgilfernandez
Copy link
Author

All options under Path will create a new path item, the original items are not touched.

A compromise could be a checkbox under the Path menu, "Keep original object(s)" with default on?

I don't think leaving the original items is a bad idea "per se", it could be useful in some scenarios, but it would be even better to have that checkbox under the Path menu so that user can choose their preferred o behavior indeed.

@rodlie
Copy link
Member

rodlie commented Nov 1, 2024

I could add the option, note that it will be on by default as this is expected behavior from existing users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants