Hi.
I have two similar objects, that is overlapping on two places. Call it obj1 and obj2.
As it is now, obj1 is in layer1 and obj2 is in layer2. Dependent on how I organize the layers, either obj1 or obj2 will be on top on both overlapping places.
Is it possible to make it so that obj1 comes over obj2 in one overlap area while obj2 is over obj1 on the other overlap area?
[SOLVED] Two objects under and over each other
[SOLVED] Two objects under and over each other
Last edited by Grobe on Wed Aug 11, 2010 4:53 am, edited 1 time in total.

Re: Two objects under and over each other
No, that's not possible. You have to split one of your objects into two pieces and put on piece above and one below. So you'll have obj1a, obj2, obj1b.
Re: Two objects under and over each other
try this..
1. Ctrl+C the Red (top) object, we'll paste it later
2. Select Both objects and use Ctrl+- (Path Difference)
this will leave the bottom object with openings.
3. Use the Edit Path by Nodes Tool (F2) and collapse one
of the openings. Easiest way is to click on the segments
and use the 5th icon of the Tool Controls Bar 'Delete Segment
between two nodes" (bar above the canvas).
4. Select two of the end nodes and Shift+J (Join selected end Nodes)
repeat this for the adjacent end paths
Now use Ctrl+Alt+V paste in place done.
I've attached a file that shows the steps on canvas... You may want to have a look at
the Knot effect (Path >Path Effect Editor >Knot[pull down menu]) closed overlapping path though
http://tavmjong.free.fr/INKSCAPE/MANUAL ... -Knot.html
1. Ctrl+C the Red (top) object, we'll paste it later
2. Select Both objects and use Ctrl+- (Path Difference)
this will leave the bottom object with openings.
3. Use the Edit Path by Nodes Tool (F2) and collapse one
of the openings. Easiest way is to click on the segments
and use the 5th icon of the Tool Controls Bar 'Delete Segment
between two nodes" (bar above the canvas).
4. Select two of the end nodes and Shift+J (Join selected end Nodes)
repeat this for the adjacent end paths
Now use Ctrl+Alt+V paste in place done.
I've attached a file that shows the steps on canvas... You may want to have a look at
the Knot effect (Path >Path Effect Editor >Knot[pull down menu]) closed overlapping path though
http://tavmjong.free.fr/INKSCAPE/MANUAL ... -Knot.html
- Attachments
-
- OverUnder1.svg
- (13.44 KiB) Downloaded 174 times
Re: Two objects under and over each other
vwanweb: Thank you very much for a great explanation
I've being gone this summer, so I haven't had time to test your explanation before now.
Only issue I encountered was when pasting the first object, the object wasn't possible to paste (have pasted something else afterwards). So I opened the same file in a new instance of Inkscape and copied from there. So far all well.
But when pasting the object, I experienced that the object placement wasn't ideal, so I have to moved it to fit.
It's just a small issue, and as long as the stroke is wide, there is no need for very accuracy placement. Maybee I shall improve this by using two layers and having each objects in it's own layer. I think that's the way to do it so the object doesn't move

I've being gone this summer, so I haven't had time to test your explanation before now.
Only issue I encountered was when pasting the first object, the object wasn't possible to paste (have pasted something else afterwards). So I opened the same file in a new instance of Inkscape and copied from there. So far all well.
But when pasting the object, I experienced that the object placement wasn't ideal, so I have to moved it to fit.
It's just a small issue, and as long as the stroke is wide, there is no need for very accuracy placement. Maybee I shall improve this by using two layers and having each objects in it's own layer. I think that's the way to do it so the object doesn't move


Re: [SOLVED] Two objects under and over each other
>Edit >Paste in Place (Shift+Alt+V) will place the object(s) directly to its original x/y coordinates from where it was Cut (>Edit >Cut, Ctrl+X) or Copied (>Edit >Copy (Ctrl+C) from.
Re: [SOLVED] Two objects under and over each other
Ok, thanksvwanweb wrote:>Edit >Paste in Place (Shift+Alt+V) will place the object(s) directly to its original x/y coordinates from where it was Cut (>Edit >Cut, Ctrl+X) or Copied (>Edit >Copy (Ctrl+C) from.

Exept from the latest version I use (Inkscape 0.47+devel r9596) use Ctrl+Alt+V

