Question about the clip option
Question about the clip option
How does the clip option behave for more than 2 selected objects? For 2 I understood it, it's a lot like Intersection, but for more than 2, I can't explain what really happens...
-
- Posts: 2344
- Joined: Sun Apr 14, 2013 12:04 pm
- Location: Michigan, USA
Re: Question about the clip option
Maybe you have seen this?
http://tavmjong.free.fr/INKSCAPE/MANUAL ... pping.html
Any path, regular shape, or regular text object can be used as a clipping path.
To clip an object (or Group), select both the object and the clipping path. The clipping path must be above the object to be clipped in z-order. Then use the Object → Clip → Set command. To unclip a clipped object, select the object and use the Object → Clip → Release command. The clipping path is then restored as a regular object, placed just above the formerly clipped object in z-order.
More than one object (or Group) can be clipped at the same time. Just follow the above instructions but include all the objects to be clipped in the selection (with the clipping path on top). Inkscape will store one copy of the clipping path in the <defs> section of the SVG file for each clipped object; thus, the clipped objects can be edited separately.
http://tavmjong.free.fr/INKSCAPE/MANUAL ... pping.html
Have a nice day.
I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1
The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/
I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1
The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/
Re: Question about the clip option
Ok, thank you! 
I checked it, it's a bit complicated to understand different terms in this manual though but I am going to do it.

I checked it, it's a bit complicated to understand different terms in this manual though but I am going to do it.
Re: Question about the clip option
I would suggest not thinking about clipping in terms of path operations. They are not related.
Simply, everything inside the clipping path will show up, and everything outside of it doesn't show up. Adding a 2nd object under a clipping path doesn't change anything. Whatever is inside will show, whatever is outside will not show.
Note that clipping is not the same a cropping. The area which is hidden by clipping is just hidden. The whole object or image is still in the file, you just can't see it.
If you have a clipping path made of 2 or more sub-paths, it gets more complicated. But that might be too much for a beginner. I would stick with a single clipping path for now.
If you have a particular situation on your canvas, or something you're trying to achieve, or don't understand, please feel free to share the details (and SVG file) and we can help to explain. We do need the SVG file. (Despite some pretty fantastic displays of mind-reading which we see here from time to time, it's best not to leave us to mind-reading or guessing.)
Simply, everything inside the clipping path will show up, and everything outside of it doesn't show up. Adding a 2nd object under a clipping path doesn't change anything. Whatever is inside will show, whatever is outside will not show.
Note that clipping is not the same a cropping. The area which is hidden by clipping is just hidden. The whole object or image is still in the file, you just can't see it.
If you have a clipping path made of 2 or more sub-paths, it gets more complicated. But that might be too much for a beginner. I would stick with a single clipping path for now.
If you have a particular situation on your canvas, or something you're trying to achieve, or don't understand, please feel free to share the details (and SVG file) and we can help to explain. We do need the SVG file. (Despite some pretty fantastic displays of mind-reading which we see here from time to time, it's best not to leave us to mind-reading or guessing.)
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
-
- Posts: 2344
- Joined: Sun Apr 14, 2013 12:04 pm
- Location: Michigan, USA
Re: Question about the clip option
brynn wrote:Simply, everything inside the clipping path will show up, and everything outside of it doesn't show up. Adding a 2nd object under a clipping path doesn't change anything.
Not quite...
When multiple objects are clipped, multiple clip paths are also created. Thereafter, each object and its respective clip object can be edited.

Have a nice day.
I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1
The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/
I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1
The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/
Re: Question about the clip option
I didn't realize the question was involving separating the objects, moving them around, and editing their clip paths individually. Of course that's going to change things! It's something I would not advise doing, unless you really know what you're doing.
For clipping several objects and not manipulating them separately, what I said is true.
To be honest, it's always annoyed me since we got this feature where clipping multiple objects with the same clipping path, ends up creating multiple clipping paths. I can't figure out what it's purpose really is, and for me, it just causes trouble. I wish we could opt out of it.
For clipping several objects and not manipulating them separately, what I said is true.
To be honest, it's always annoyed me since we got this feature where clipping multiple objects with the same clipping path, ends up creating multiple clipping paths. I can't figure out what it's purpose really is, and for me, it just causes trouble. I wish we could opt out of it.
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
-
- Posts: 2344
- Joined: Sun Apr 14, 2013 12:04 pm
- Location: Michigan, USA
Re: Question about the clip option
brynn wrote:...it's always annoyed me since we got this feature where clipping multiple objects with the same clipping path, ends up creating multiple clipping paths. I can't figure out what it's purpose really is, and for me, it just causes trouble. I wish we could opt out of it.
Have a nice day.
I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1
The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/
I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1
The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/
Re: Question about the clip option
Do you mean that avoids making all the individual clip paths?. As far as I recall, when that option first became available, we did not have a single clip path becoming multiple clip paths when used on multiple objects.
I just never wanted all the objects grouped.
If that is considered to be an opt out for the multiple clip paths, it should say say so. I think it's an opt out by default, because putting in a group makes it one object instead of more than one.
But again, I don't really want the objects grouped. It makes selecting the individual objects harder. And as soon as you ungroup, bam, multiple clip paths are created. Of course I know you can enter the group. But I've always found that to be confusing. Would be better if we just didn't get multiple clip paths, when only one was used in the first place. My opinion.
I just never wanted all the objects grouped.
If that is considered to be an opt out for the multiple clip paths, it should say say so. I think it's an opt out by default, because putting in a group makes it one object instead of more than one.
But again, I don't really want the objects grouped. It makes selecting the individual objects harder. And as soon as you ungroup, bam, multiple clip paths are created. Of course I know you can enter the group. But I've always found that to be confusing. Would be better if we just didn't get multiple clip paths, when only one was used in the first place. My opinion.
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Re: Question about the clip option
You can only either clip a group, or a single object, not have one clip for multiple objects (at least by setting that in Inkscape - the specs support using the same one for multiple objects - but that would be confusing in the UI. Displaying those works fine, but they all have their own coordinate systems, so even if it's the same clip path, the area is different for each object - it moves with the object.)
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)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Re: Question about the clip option
Yes, I understand that's how it works now. But it didn't used to.
I don't think I've ever taken several objects which were clipped together, and moved them around individually. I can't think of any reason to do it, although for someone with really advanced skills, there probably is a use for it. As I said, for me, it just causes extra work, especially if I need to edit the clipping path. It's super difficult to edit multiple clipping paths in the same way. The selection is the difficult part for me.
For me, I'm usually clipping several objects all at once in a realism or photorealism situation, and don't plan on ever moving the individual objects. In fact, I want them never to move away from each other. But I don't want them grouped until I'm finished working on them -- mostly because ungrouping them releases and deletes the clip path.
I don't think I've ever taken several objects which were clipped together, and moved them around individually. I can't think of any reason to do it, although for someone with really advanced skills, there probably is a use for it. As I said, for me, it just causes extra work, especially if I need to edit the clipping path. It's super difficult to edit multiple clipping paths in the same way. The selection is the difficult part for me.
For me, I'm usually clipping several objects all at once in a realism or photorealism situation, and don't plan on ever moving the individual objects. In fact, I want them never to move away from each other. But I don't want them grouped until I'm finished working on them -- mostly because ungrouping them releases and deletes the clip path.
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design