Animation in Inkscape
by Sanat Ganu
Hello
I am a newbie to Inkscape and scripting in general. I am trying to build an
animation extension with Inkscape for doing simple animations as a project
in my multimedia course. For that I need to add a timeline in Inkscape and
write the timing data for a particular object manipulated by the user into
my animation file. Is this possible with Inkscape extensions? Could anyone
guide me in finding a resource who could help me with this?
Regards
Sanat
13 years, 9 months
Python
by Elwin Estle
I have tried a couple of times to learn Python, but I am an old fogy
and keep coming up against a wall whenever I try to get my head around
the whole object oriented programming thing (yes, I know, Python can do
procedural just fine...but it seems like OOP is a sort of central
concept to a lot of what python is capable of..)
Anybody got any good recommendations for books for learning Python?
Especially ones that actually give a clear explanation of the the whole
OOP thing in a Python context? I've found stuff that kind of explains
things for other languages, but that doesn't help with understanding
things from a Python specific point of view. I've gotten a Python for
Dummies book...but...it seems I am too dumb even for that.
I'd really like to get a handle on this, since Python scripts both Gimp and Blender as well as Inkscape.
I've been tinkering with computers for over 20 years, but my
programming experience, what there is of it, is pretty much in
procedural. Some Pascal (back in the 80's), various flavors of BASIC,
mostly on old Atari 8-bit machines, some on Commodor64, Action --think
of a cross between C and Pascal, it ran on the Atari--, and lately,
Tcl/Tk (Not explicitly OOP, but it is supposedly capable of it), on Win
and Linux.
13 years, 9 months
Re: [Inkscape-user] Animation in Inkscape
by Matt Jordan
>
> Hello
> I am a newbie to Inkscape and scripting in general. I am trying to build an
> animation extension with Inkscape for doing simple animations as a project
> in my multimedia course. For that I need to add a timeline in Inkscape and
> write the timing data for a particular object manipulated by the user into
> my animation file. Is this possible with Inkscape extensions? Could anyone
> guide me in finding a resource who could help me with this?
>
> Regards
> Sanat
If you just want to use Inkscape's great drawing tools in an open source
animation pipeline and you don't have to build an extension as some sort of
class requirement or other, then the easy route would be to use Pencil to
work out your timing, export an image sequence, then use Inkscape to ink and
paint. It's how I'm doing most of the scenes for an animated book trailer
I'm working on. Some example clips:
http://www.youtube.com/watch?v=Dg8JBKLOY3Q
http://www.youtube.com/watch?v=tRlqoKE7Y40
Pencil is at:
http://www.pencil-animation.org/
Cheers,
Matt Jordan
13 years, 9 months
Status of dbus capability
by Kent Tenney
Howdy,
I just built inkscape from bzr and ran
import dbus
bus = dbus.SessionBus()
inkdoc1 = bus.get_object('org.inkscape', '/org/inkscape/desktop_0')
doc1 = dbus.Interface(inkdoc1, dbus_interface="org.inkscape.document")
im = doc1.image(100 ,100, '/home/ktenney/Firefox_wallpaper.png')
Which worked on a dbus branch a while back.
Now it starts inkscape, but d
- was the dbus code merged?
- if so, how do I enable/use it?
- if not, where is dbus capable code?
Thanks,
Kent
13 years, 9 months
graphic tablet problem
by Joanne Rancourt
I am having problems with my wacom intuos 3 tablet. It works on all the tools and when I go to add it, it appears to be there but I can't change any of the settings. It works in other programs like PSP ok and I have the latest driver installed.
I am using inkscape .46 and .47 and can't get it to work in either. But strangely (no idea why I tried this) the erasor seems to work ! No idea why. Can someone help me here please ?
cheers,
Jo
13 years, 9 months
Re: [Inkscape-user] Photo retouching in Inkscape
by Guillermo Espertino
I fail to understand why are you using inkscape and don't do that
directly in GIMP, which is the proper tool for photoretouching.
Using vectors for something that should be pixels is too problematic
(mostly for printing). According to my experience, I'd reccomend you to
only use vectors if you need them, and do all the photo stuff with
pixels, at the right resolution.
Vector graphics are great for type and things that need to be enlarged,
but they can give you some problems when it comes to interaction with
bitmap images and printing.
I'm not saying you can't use them, but keep that in mind. Mostly if
you're using Linux, where you don't have reliable export filters for
mixed vectors and bitmaps: PDF export in Inkscape isn't ready for
production, SVG import in Scribus has lots of limitations (that you'll
find in Adobe products too), PDFs from Scribus aren't interpreted
correctly by Adobe software, and (you already found it out) GIMP doesn't
have a good vectors support.
13 years, 9 months
Inkscape2Tikz traceback
by Wolfgang Keller
Hello,
when I try to export anything from Inkscape 0.47 (on Windows) to Tikz
using the export script from http://code.google.com/p/inkscape2tikz/,
all I get is a traceback:
Traceback (most recent call last):
File "F:\Wolfgang\Inkscape\share\extensions\tikz_export.py", line
1389, in <module> main_inkscape()
File "F:\Wolfgang\Inkscape\share\extensions\tikz_export.py", line
1379, in main_inkscape effect.affect()
File "F:\Wolfgang\Inkscape\share\extensions\inkex.py", line 207, in
affect self.effect()
File "F:\Wolfgang\Inkscape\share\extensions\tikz_export.py", line
1294, in effect graphics_state = GraphicsState(none)
NameError: global name 'none' is not defined
This is a "minimum" Inkscape file as an example:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="297mm"
height="210mm"
id="svg8293"
version="1.1"
inkscape:version="0.47 r22583"
sodipodi:docname="Neues Dokument 3">
<defs
id="defs8295">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 372.04724 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="1052.3622 : 372.04724 : 1"
inkscape:persp3d-origin="526.18109 : 248.03149 : 1"
id="perspective8302" />
</defs>
<sodipodi:namedview
inkscape:document-units="mm"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.43415836"
inkscape:cx="82.314657"
inkscape:cy="380"
inkscape:current-layer="layer1"
id="namedview8297"
showgrid="false"
inkscape:window-width="1280"
inkscape:window-height="1001"
inkscape:window-x="-4"
inkscape:window-y="-4"
inkscape:window-maximized="1" />
<metadata
id="metadata8299">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<path
style="fill:#ffffff;fill-opacity:0;stroke:#000000;stroke-width:0.11977783;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
d="m 356.82309,267.12003 117.84762,0 0,71.78234 -117.84762,0
0,-71.78234 z" id="rect8304" />
<g
style="font-size:32px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Linux
Biolinum O;-inkscape-font-specification:Linux Biolinum O" id="text9078">
<path
d="m 389.61287,296.83294 0,7.8399 c 0.003,1.20865
-0.0187,2.3593 -0.064,3.45195 -0.0453,1.09266 -0.13068,2.07531
-0.256,2.94796 l 0.032,0.096 c -6.7e-4,-0.004 0.13666,-0.02
0.41199,-0.048 0.27533,-0.028 0.69265,-0.044 1.25199,-0.048
0.54398,0.004 0.95198,0.02 1.22398,0.048 0.27199,0.028 0.40799,0.044
0.408,0.048 l 0.064,-0.096 c -0.12535,-0.91465 -0.21068,-1.9093
-0.256,-2.98396 -0.0453,-1.07465 -0.0667,-2.2133 -0.064,-3.41595 l
0,-7.8399 c -0.001,-0.21273 0.005,-0.62635 0.0166,-1.24088
0.012,-0.61449 0.0365,-1.24145 0.0735,-1.88086 0.0369,-0.63938
0.0922,-1.10278 0.16593,-1.3902 2.14529,0.016 3.7586,0.08
4.83993,0.19199 1.08131,0.11202 1.62263,0.17602 1.62398,0.192 l
0.064,-0.128 c -0.032,-0.24331 -0.048,-0.54864 -0.048,-0.91599
-1e-5,-0.36731 0.016,-0.77663 0.048,-1.22798 l -0.064,-0.096 c
-0.26201,0.032 -0.56201,0.056 -0.89999,0.072 -0.33801,0.016
-0.678,0.024 -1.01998,0.024 l -12.35184,0 c -0.342,2e-5 -0.682,-0.008
-1.01999,-0.024 -0.338,-0.016 -0.63799,-0.04 -0.89999,-0.072 l
-0.064,0.096 c 0.032,0.45135 0.048,0.86068 0.048,1.22798 0,0.36735
-0.016,0.67268 -0.048,0.91599 l 0.064,0.128 c 0.001,-0.016
0.54266,-0.08 1.62398,-0.192 1.08132,-0.11198 2.69463,-0.17598
4.83994,-0.19199 0.0737,0.28742 0.12898,0.75082 0.16592,1.3902
0.0369,0.63941 0.0614,1.26637 0.0735,1.88086 0.012,0.61453
0.0176,1.02815 0.0166,1.24088 z" style="" id="path9083" /> <path d="m
403.59892,301.88887 c 0.34399,-1.6053 0.92798,-2.61862 1.75197,-3.03996
0.82399,-0.42131 1.45598,-0.60265 1.89598,-0.54399 0.61198,-0.0193
1.18798,0.20334 1.72798,0.66799 0.53998,0.46467 0.82798,1.28733
0.86399,2.46797 0.001,0.14467 -0.0333,0.25534 -0.104,0.33199
-0.0707,0.0767 -0.18534,0.11534 -0.344,0.116 z m 8.67189,5.82393 c
-0.55468,0.60666 -1.17333,1.05732 -1.85598,1.35198 -0.68267,0.29466
-1.46132,0.44133 -2.33597,0.43999 -0.97466,0.0393 -1.96132,-0.39932
-2.95996,-1.31598 -0.99866,-0.91665 -1.53732,-2.54729 -1.61598,-4.89194
l 8.60789,0 c 0.17798,-6.6e-4 0.31798,-0.0473 0.41999,-0.13999
0.10199,-0.0927 0.15399,-0.22733 0.156,-0.404 0.0373,-1.41464
-0.34134,-2.70529 -1.13599,-3.87195 -0.79466,-1.16664 -2.22931,-1.7853
-4.30394,-1.85598 -1.60332,0.016 -3.07663,0.68801 -4.41994,2.01598
-1.34332,1.32799 -2.05664,3.21597 -2.13998,5.66393 0.007,1.88864
0.58466,3.46329 1.73198,4.72393 1.14732,1.26066 2.82063,1.91531
5.01994,1.96398 1.15997,-0.0147 2.20796,-0.28133 3.14396,-0.79999
0.93597,-0.51866 1.71196,-1.20132 2.32797,-2.04797 z" style=""
id="path9085" /> <path d="m 415.22795,308.00079 -0.51199,2.52797 c
0.87465,0.316 1.7093,0.53999 2.50396,0.67199 0.79465,0.132
1.48531,0.196 2.07198,0.192 2.0333,-0.0727 3.40661,-0.58333
4.11994,-1.53198 0.71332,-0.94865 1.04665,-1.89931 0.99999,-2.85196
-0.0347,-1.27465 -0.44534,-2.2053 -1.23198,-2.79197 -0.78667,-0.58665
-1.74132,-1.05331 -2.86397,-1.39998 -0.60333,-0.17199 -1.19665,-0.43599
-1.77997,-0.79199 -0.58333,-0.35599 -0.89666,-0.92398 -0.93999,-1.70398
0.022,-0.66331 0.27399,-1.18464 0.75599,-1.56398 0.48199,-0.37931
1.06198,-0.57264 1.73998,-0.57999 0.78265,0.0333 1.4173,0.27868
1.90397,0.73599 0.48665,0.45734 0.83332,0.92667 1.03999,1.40798 l
0.41599,-0.032 0.608,-2.14397 -0.064,-0.096 c -0.43934,-0.25265
-0.98467,-0.48331 -1.63598,-0.69199 -0.65134,-0.20865 -1.36466,-0.31932
-2.13998,-0.332 -1.18265,-0.003 -2.2733,0.31535 -3.27195,0.95599
-0.99866,0.64067 -1.52932,1.62333 -1.59198,2.94796 0.003,0.42067
0.0607,0.81134 0.172,1.17199 0.11132,0.36067 0.25666,0.66333
0.43599,0.90799 0.34733,0.46933 0.78865,0.84266 1.32398,1.11998
0.53532,0.27734 1.09665,0.52267 1.68398,0.73599 0.89398,0.30401
1.60997,0.624 2.14797,0.95999 0.53799,0.336 0.81398,0.87999
0.82799,1.63198 -0.012,0.85666 -0.26,1.52732 -0.74399,2.01197
-0.484,0.48467 -1.13199,0.73133 -1.94397,0.74 -0.73533,-0.007
-1.42466,-0.20867 -2.06798,-0.604 -0.64332,-0.39532 -1.14865,-0.94065
-1.51598,-1.63598 z" style="" id="path9087" /> <path d="m
428.19543,297.34493 -2.04797,0 c -0.064,-0.005 -0.096,0.0374
-0.096,0.128 l 0,1.15198 c -0.005,0.0907 0.0373,0.13335 0.128,0.128 l
2.01597,0 0,4.92794 c -0.004,0.99599 -0.02,1.97998 -0.048,2.95196
-0.028,0.97199 -0.044,1.71598 -0.048,2.23197 0.012,0.76333
0.244,1.37265 0.696,1.82798 0.45199,0.45533 1.05198,0.68866
1.79997,0.69999 0.66465,0.005 1.29531,-0.11733 1.89198,-0.368
0.59665,-0.25066 1.20331,-0.66132 1.81997,-1.23198 l -0.38399,-0.89599
c -0.418,0.248 -0.79,0.408 -1.11599,0.48 -0.326,0.072 -0.68999,0.104
-1.09198,0.096 -0.422,-6.6e-4 -0.706,-0.16732 -0.85199,-0.49999
-0.14601,-0.33266 -0.214,-0.82732 -0.204,-1.48398 0.004,-0.47332
0.02,-1.04665 0.048,-1.71998 0.028,-0.67332 0.044,-1.48664
0.048,-2.43997 l 0,-4.57594 2.91196,0 c 0.17199,6.8e-4 0.33999,-0.0326
0.504,-0.1 0.16398,-0.0673 0.25198,-0.17265 0.26399,-0.31599 l
0,-0.79999 c -0.005,-0.12799 -0.0907,-0.19199 -0.25599,-0.192 l
-3.42396,0 c -0.001,-1.1193 0.009,-1.92863 0.032,-2.42797
0.0227,-0.49931 0.0653,-1.17263 0.128,-2.01997 -10e-6,-0.21865
-0.096,-0.32531 -0.288,-0.32 -0.378,0.16735 -0.74999,0.32868
-1.11598,0.484 -0.366,0.15534 -0.858,0.26068 -1.47599,0.31599 l
-0.064,0.096 c 0.10733,0.63334 0.17266,1.21467 0.19599,1.74398
0.0233,0.52934 0.0327,1.23866 0.028,2.12797 z" style=""
id="path9089" /> </g> </g> </svg>
TIA,
Sincerely,
Wolfgang
--
NO "Courtesy Copies" PLEASE!
13 years, 9 months