- remade the Properties Tool such that it works with the new Gerber data structure in the obj.apertures. Also changed the view for the Gerber object in Properties
- fixed issue with false warning that the Gerber object has no geometry after an empty Gerber was edited and added geometry elements
This commit is contained in:
@@ -3522,8 +3522,13 @@ class FlatCAMGrbEditor(QtCore.QObject):
|
||||
new_poly = MultiPolygon(poly_buffer)
|
||||
new_poly = new_poly.buffer(0.00000001)
|
||||
new_poly = new_poly.buffer(-0.00000001)
|
||||
grb_obj.solid_geometry = deepcopy(new_poly)
|
||||
|
||||
try:
|
||||
_ = iter(new_poly)
|
||||
except TypeError:
|
||||
new_poly = [new_poly]
|
||||
|
||||
grb_obj.solid_geometry = deepcopy(new_poly)
|
||||
grb_obj.follow_geometry = deepcopy(follow_buffer)
|
||||
|
||||
for k, v in self.gerber_obj_options.items():
|
||||
|
||||
Reference in New Issue
Block a user