Hi all,
I'm looking for a "simple" way to build my sketch using parameters, like:
There is an extension that propose a workaround, https://gitlab.com/mnesarco/inkscape-pyscript . That's great, but I personally don't find it very intuitive to use.
Do you know if Inkscape offers other solutions for building sketches with parameters.
Many thanks !
There was a new extension posted to inkscape.org by Scott Pakin, might be what you are looking for:
https://inkscape.org/~pakin/%E2%98%85simple-inkscape-scripting
Seems to work quite well :)
circle([15,25],10)circle([15,25],3)polyline((15,25),(60,75),(75,22))circle([75,22],3)circle([75,22],5)circle([75,22],7)circle([75,22],9)circle([75,22],22)polyline((60,75),(60,100),(45,120),(30,110))polyline((60,100),(65,120),(85,100))line((60,75),(120,25))circle([120,25],10)circle([120,25],3)
Many thanks @inklinea, I was not aware of this extension. It looks like that's indeed what I was looking for.
You've made my day, thanks ! 👍
Simple Inkscape Scripting is now at version 2.1
The code example has to be updated to:
circle([15,25],10)circle([15,25],3)polyline([(15,25),(60,75),(75,22)])circle([75,22],3)circle([75,22],5)circle([75,22],7)circle([75,22],9)circle([75,22],22)polyline([(60,75),(60,100),(45,120),(30,110)])polyline([(60,100),(65,120),(85,100)])line((60,75),(120,25))circle([120,25],10)circle([120,25],3)
Full details here: crash loading new script · Issue #20 · spakin/SimpInkScr (github.com)
Hi all,
I'm looking for a "simple" way to build my sketch using parameters, like:
There is an extension that propose a workaround, https://gitlab.com/mnesarco/inkscape-pyscript . That's great, but I personally don't find it very intuitive to use.
Do you know if Inkscape offers other solutions for building sketches with parameters.
Many thanks !
There was a new extension posted to inkscape.org by Scott Pakin, might be what you are looking for:
https://inkscape.org/~pakin/%E2%98%85simple-inkscape-scripting
Seems to work quite well :)
circle([15,25],10)
circle([15,25],3)
polyline((15,25),(60,75),(75,22))
circle([75,22],3)
circle([75,22],5)
circle([75,22],7)
circle([75,22],9)
circle([75,22],22)
polyline((60,75),(60,100),(45,120),(30,110))
polyline((60,100),(65,120),(85,100))
line((60,75),(120,25))
circle([120,25],10)
circle([120,25],3)
Many thanks @inklinea, I was not aware of this extension. It looks like that's indeed what I was looking for.
You've made my day, thanks ! 👍
Simple Inkscape Scripting is now at version 2.1
The code example has to be updated to:
circle([15,25],10)
circle([15,25],3)
polyline([(15,25),(60,75),(75,22)])
circle([75,22],3)
circle([75,22],5)
circle([75,22],7)
circle([75,22],9)
circle([75,22],22)
polyline([(60,75),(60,100),(45,120),(30,110)])
polyline([(60,100),(65,120),(85,100)])
line((60,75),(120,25))
circle([120,25],10)
circle([120,25],3)
Full details here: crash loading new script · Issue #20 · spakin/SimpInkScr (github.com)