a couple of "effects"
Yesterday at Bryce's prompting I wrote a little effect that makes the selected objects a <marker /> in the <defs /> of the current document. Inkscape doesn't really seem to deal well with this but there is some code there to work with if anyone has ideas on how it could be used. I think Bryce made some modifications to his copy as well. Because there is a lack of interactivity you must position the connection point of the marker at (0,0). And there are likely a few other nuances I haven't thought of yet.
http://www.ekips.org/comp/inkscape/inx/makemarker.tar.gz
I also wrote a python script that embeds images in SVG because I didn't feel comfortable editing the perl script. It functions as an effect and can be called from the effects menu. If objects are selected it will only replace the images in the selection, otherwise it should replace the images in the entire document (although in retrospect I didn't test that, oops). Hopefully this effect will be obsolete soon and we can have "embed all" in a menu and "embed" in the images' context menu.
http://www.ekips.org/comp/inkscape/inx/embedimage.tar.gz
Aaron Spike
Cool, please make sure they make it into 0.43 and add descriptions to the Release Notes. Thanks!
-- bulia byak Inkscape. Draw Freely. http://www.inkscape.org
bulia byak wrote:
Cool, please make sure they make it into 0.43 and add descriptions to the Release Notes. Thanks!
Well we are frozen so I would be content to wait if necessary. New effects should pose little to no danger of destablizing the core, though they do tend to exercise it in new ways. And it is nice if they get tested and work properly.
The makemarker.py effect really shouldn't go into the release unless Bryce's revision is significantly better than mine, because it dosen't actually work with Inkscape.
Aaron Spike
On Sun, Oct 30, 2005 at 01:58:52PM -0600, aaron@...749... wrote:
The makemarker.py effect really shouldn't go into the release unless Bryce's revision is significantly better than mine, because it dosen't actually work with Inkscape.
I didn't actually touch the python code at all (I'm a perl guy!) - my fiddling was just with figuring out how to use it to generate a new markers.svg file. For this to work, we need an option in the script that merges new defs with existing ones; currently it would replace markers.svg entirely.
So, the script's really cool and handy, but needs more development work before it's ready to be unleashed on users. It'll be a nifty feature for 0.44.
Bryce
participants (4)
-
unknown@example.com
-
aaron@...749...
-
Bryce Harrington
-
bulia byak