Is it possible to have one object at the same time on and bellow an other object? My current output is in the following figure:
2 Answers
I have never used inkscape before but this is common logic so I'll give it a shot.
First, no, you can't have one layer be underneath and on top at the same time. What you CAN do is make a selection of the bottom hashed layer right where you want it to be on top of the other one, copy that selection and paste-in-place in a 3-rd layer that's above the other two.
(or you could just duplicate the hashed layer, place it over all the other layers and delete the left half of it, it's the same thing)
I think you can achieve that in inkscape, right?
No, this is not possible. There is no allowance for this in the SVG standard. Objects in SVG are rendered in the order they appear before the next object is rendered.
- Duplicate the two objects Ctrl+D.
- Select both new objects.
- Click
Path > Intersection
.
This should create a new object of the correct size to create the effect you want.
-
This will not get the result I am looking for. Once I apply the union, both objects will get the same filling. I ended up solving this by creating a third object, which is simply the second half of the dashed surface, and then I superimpose it to get the effect I am looking for Oct 7, 2015 at 13:59
-
Whoops. There was a typo--it was supposed to be "intersection", not "union". These steps do create a 3rd object, which it sounds like you already figured out to do. Oct 7, 2015 at 15:34