plotter app
This commit is contained in:
13
plotter-app/test_svg_manip.py
Normal file
13
plotter-app/test_svg_manip.py
Normal file
@@ -0,0 +1,13 @@
|
||||
import svgutils.transform as sg
|
||||
import sys
|
||||
|
||||
|
||||
drawing = sg.fromfile('insect.svg')
|
||||
|
||||
object = drawing.getroot()
|
||||
|
||||
object.moveto(100, 0)
|
||||
|
||||
drawing.append(object)
|
||||
|
||||
drawing.save('modified_insect.svg')
|
||||
Reference in New Issue
Block a user