- in SVG parser: made sure that the minimum number of steps to approximate an arc/circle/bezier is 10
This commit is contained in:
@@ -8873,12 +8873,9 @@ class App(QtCore.QObject):
|
||||
units = self.defaults['units'].upper()
|
||||
|
||||
def obj_init(geo_obj, app_obj):
|
||||
if obj_type == "geometry":
|
||||
geo_obj.import_svg(filename, obj_type, units=units)
|
||||
elif obj_type == "gerber":
|
||||
geo_obj.import_svg(filename, obj_type, units=units)
|
||||
|
||||
geo_obj.import_svg(filename, obj_type, units=units)
|
||||
geo_obj.multigeo = True
|
||||
|
||||
with open(filename) as f:
|
||||
file_content = f.read()
|
||||
geo_obj.source_file = file_content
|
||||
|
||||
Reference in New Issue
Block a user