I tried to use this extension, but it throws me an error:
-----
Traceback (most recent call last):
File "clip_below.py", line 26, in <module>
import clip
File "/usr/share/inkscape/extensions/clip.py", line 27, in <module>
import inkex
File "/usr/share/inkscape/extensions/inkex.py", line 29
u'sodipodi' :u'http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd',
^
SyntaxError: invalid syntax
-----
Also I tried to add the <clipPath> in the defs section by hand, with <use xlink:href="url(#g5678)"> and use that clipPath's ID for the clip-path attribute of my clipped layer. But it doesn't work also. I mean, it works for normal pahts inside the <clipPath> tag, but not for <use> tags. All <use> tags are treated as if they weren't be there :-/
It's very frustrating, because I want to have some object on one layer to cut a hole inside all objects on some other layer, and be able to move that hole interactively by moving the hole's shape on that other layer (and hide it when I don't need to edit it). Switching the clip/mask on/off on and on is very irritating, especially that when it's on, all those clip/mask objects disappear and I cannot edit them further until I swith clip/mask off again :/
Any other solutions to that?
The extension cited below could at least walk-around this problem, if only it didn't throw an error ;-/
I tried to use this extension, but it throws me an error:
----- inkscape/ extensions/ clip.py" , line 27, in <module> inkscape/ extensions/ inkex.py" , line 29 sodipodi. sourceforge. net/DTD/ sodipodi- 0.dtd',
Traceback (most recent call last):
File "clip_below.py", line 26, in <module>
import clip
File "/usr/share/
import inkex
File "/usr/share/
u'sodipodi' :u'http://
^
SyntaxError: invalid syntax
-----
Also I tried to add the <clipPath> in the defs section by hand, with <use xlink:href= "url(#g5678) "> and use that clipPath's ID for the clip-path attribute of my clipped layer. But it doesn't work also. I mean, it works for normal pahts inside the <clipPath> tag, but not for <use> tags. All <use> tags are treated as if they weren't be there :-/
It's very frustrating, because I want to have some object on one layer to cut a hole inside all objects on some other layer, and be able to move that hole interactively by moving the hole's shape on that other layer (and hide it when I don't need to edit it). Switching the clip/mask on/off on and on is very irritating, especially that when it's on, all those clip/mask objects disappear and I cannot edit them further until I swith clip/mask off again :/
Any other solutions to that?
The extension cited below could at least walk-around this problem, if only it didn't throw an error ;-/