
Hi,
I have created a stylized Christmas tree from a series or arcs, and tree straight lines forming the stem. With Paths -> combine I've combined these paths to a single path.
All this forms a layer, and on a layer underneath is a picture.
What I want is to create a mask from the Christmas tree, so that only that part from the picture that is within the Christmas tree is visible.
From Tamjongs course I learned that it is clipping that I need, but I cannot find that in my Dutch translated Inkscape (.47 and .48), and also masking (that should do the inverse if I'm correct, that is, only that nót within the Christmas tree becomes visible) doesn't seem to do anything.
Can someone help me out?
Thanks!
regard, Jogchum

On 2010-12-05 17:27, Jogchum Reitsma wrote:
... From Tamjongs course I learned that it is clipping that I need, but I cannot find that in my Dutch translated Inkscape (.47 and .48), and also masking (that should do the inverse if I'm correct, that is, only that nót within the Christmas tree becomes visible) doesn't seem to do anything.
Both masking and clipping serve a similar purpose, but clipping simply retains that which is inside the path, while masking lets through more or less of the masked object, depending on the color of the mask. In particular, any white areas in the mask fully show the masked object, while (transparent) black areas give a fully transparent result (at that point).
I hope that clarifies how masking should work. As for clipping, although I'm Dutch I always use English UIs, so I wouldn't know what it's called, but the clip path can be set using the submenu above the masking (masker?) submenu (both in the Object menu).

Op 05-12-10 18:11, Jasper van de Gronde schreef:
On 2010-12-05 17:27, Jogchum Reitsma wrote:
... From Tamjongs course I learned that it is clipping that I need, but I cannot find that in my Dutch translated Inkscape (.47 and .48), and also masking (that should do the inverse if I'm correct, that is, only that nót within the Christmas tree becomes visible) doesn't seem to do anything.
Both masking and clipping serve a similar purpose, but clipping simply retains that which is inside the path, while masking lets through more or less of the masked object, depending on the color of the mask. In particular, any white areas in the mask fully show the masked object, while (transparent) black areas give a fully transparent result (at that point).
I hope that clarifies how masking should work. As for clipping, although I'm Dutch I always use English UIs, so I wouldn't know what it's called, but the clip path can be set using the submenu above the masking (masker?) submenu (both in the Object menu).
What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
Your explanation confirms that it is clipping that I need (I was wrong in what I thought the effect of masking is, but that's not what I need anyhow). Masking is translated as "Masker" indeed, and above that in the Object menu is Maskerpad, so that would be Clipping. What I do is - select the layer with the x-mas tree - select the x-mas tree itself - than choose Object->Maskerpad->Instellen
I would expect everything outside the x-mas tree to become invisible - transparent, I hope - but nothing happens.
Can it have something to do with the fact that I use layers? Or am I simply doing things wrong?

Hi Jogchum!
On 05.12.2010, at 20:00, Jogchum Reitsma <j.reitsma@...226...> wrote:
Op 05-12-10 18:11, Jasper van de Gronde schreef:
On 2010-12-05 17:27, Jogchum Reitsma wrote:
... From Tamjongs course I learned that it is clipping that I need, but I cannot find that in my Dutch translated Inkscape (.47 and .48), and also masking (that should do the inverse if I'm correct, that is, only that nót within the Christmas tree becomes visible) doesn't seem to do anything.
Both masking and clipping serve a similar purpose, but clipping simply retains that which is inside the path, while masking lets through more or less of the masked object, depending on the color of the mask. In particular, any white areas in the mask fully show the masked object, while (transparent) black areas give a fully transparent result (at that point). [...]
Your explanation confirms that it is clipping that I need (I was wrong in what I thought the effect of masking is, but that's not what I need anyhow). Masking is translated as "Masker" indeed, and above that in the Object menu is Maskerpad, so that would be Clipping. What I do is
- select the layer with the x-mas tree
- select the x-mas tree itself
- than choose Object->Maskerpad->Instellen
I would expect everything outside the x-mas tree to become invisible - transparent, I hope - but nothing happens.
Can it have something to do with the fact that I use layers? Or am I simply doing things wrong?
I haven't tried this but IIRC you have to put both objects onto the same layer, select them both (I'm not sure if the order of the selection is important) and then use the tool.
Andi

On 2010-12-05 20:00, Jogchum Reitsma wrote:
... Your explanation confirms that it is clipping that I need (I was wrong in what I thought the effect of masking is, but that's not what I need anyhow). Masking is translated as "Masker" indeed, and above that in the Object menu is Maskerpad, so that would be Clipping. What I do is
- select the layer with the x-mas tree
- select the x-mas tree itself
- than choose Object->Maskerpad->Instellen
Try selecting the image and the x-mas tree and then setting the "maskerpad" (clip path). The clip path only applies to the object it is applied to.

Op 05-12-10 21:54, Jasper van de Gronde schreef:
On 2010-12-05 20:00, Jogchum Reitsma wrote:
... Your explanation confirms that it is clipping that I need (I was wrong in what I thought the effect of masking is, but that's not what I need anyhow). Masking is translated as "Masker" indeed, and above that in the Object menu is Maskerpad, so that would be Clipping. What I do is
- select the layer with the x-mas tree
- select the x-mas tree itself
- than choose Object->Maskerpad->Instellen
Try selecting the image and the x-mas tree and then setting the "maskerpad" (clip path). The clip path only applies to the object it is applied to.
What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
Jasper, Andreas,
Thanks for your suggestions!
Your advices lead to something, be it not quite yet what I had in mind...
I have selected both layers, and applied clipping. There is result now indeed. But instead of leaving visible everything within the x-mas tree, now everything is visible that is enclosed by the individual arcs that make up the tree, and the straight line between the endpoints of the arc (that line is called "koorde" in Dutch, but I don't have the English term at hand).
I have the impression that the tree is not yet seen by Inkscape as *one* object. Something I conclude also from the fact that I can move a single end point of an arc, thereby loosening it from the adjacent endpoint of the neighbor arc.
Jogchum

On 2010-12-06 16:47, Jogchum Reitsma wrote:
... I have selected both layers, and applied clipping. There is result now indeed. But instead of leaving visible everything within the x-mas tree, now everything is visible that is enclosed by the individual arcs that make up the tree, and the straight line between the endpoints of the arc (that line is called "koorde" in Dutch, but I don't have the English term at hand).
I have the impression that the tree is not yet seen by Inkscape as *one* object. Something I conclude also from the fact that I can move a single end point of an arc, thereby loosening it from the adjacent endpoint of the neighbor arc.
Clipping basically uses the same area as the fill of the object, so does the fill of the xmas tree show the right area? In any case, you can make Inkscape connect two subpaths by using the node tool, selecting the two ends you want to connect and pressing one of two buttons on the node toolbar, one shows a gap being changed into a segment, the other shows a gap plus its two endpoints collapsing into one (regular) point. The second button is most useful when you already have two endpoints in (almost) the same location (just select both endpoints by dragging a selection rectangle around them).
If you still can't figure it out, you may want to send the image (you can send it to me personally if its large for example). That way we can see what's the problem.

Op 06-12-10 18:23, Jasper van de Gronde schreef:
Clipping basically uses the same area as the fill of the object, so does the fill of the xmas tree show the right area? In any case, you can make Inkscape connect two subpaths by using the node tool, selecting the two ends you want to connect and pressing one of two buttons on the node toolbar, one shows a gap being changed into a segment, the other shows a gap plus its two endpoints collapsing into one (regular) point. The second button is most useful when you already have two endpoints in (almost) the same location (just select both endpoints by dragging a selection rectangle around them).
If you still can't figure it out, you may want to send the image (you can send it to me personally if its large for example). That way we can see what's the problem.
What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
Yes! I tried that connecting of adjacent nodes *before* I combined the arc-paths in to one path, but then that didn't work. Now it does, and with a visible filling one can see the difference node by node in the connecting process.
And now the clipping works as wanted!
Thanks a lot, Jasper and of course also Andreas.
Jogchum
participants (3)
-
Andreas Neustifter
-
Jasper van de Gronde
-
Jogchum Reitsma