spakin / SimpInkScr

Simple Inkscape Scripting
https://inkscape.org/~pakin/%E2%98%85simple-inkscape-scripting
GNU General Public License v3.0
320 stars 31 forks source link

Bug when saving svg as python #83

Closed Alieff closed 1 year ago

Alieff commented 1 year ago

When I tried to save my svg to python, then run the script in new document, I got following error:

image

I notice it miss '=' on parameter 'round'

When I checked the code, this line miss the '='

https://github.com/spakin/SimpInkScr/blob/master/simpinkscr/svg_to_simp_ink_script.py#L328

If you are open to PR, let me know

spakin commented 1 year ago

Yes, please go ahead and submit a PR.

Also, could you please post an SVG here that triggers the error when you save to Python?