Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- length = 18
- imgs = s2c.list("path/to/input_directory", "dxf")
- for i in imgs:
- dxf = i.open()
- dxf.scale(1000, length, s2c.Unit.Inches)
- dxf.save(dxf.path + ".scaled.dxf")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement