- fixed the Gerber object UI layout

- added ability to mark individual apertures in Gerber file using the Gerber Aperture Table
This commit is contained in:
Marius Stanciu
2019-02-25 16:28:32 +02:00
committed by Marius
parent a25fc1e88c
commit d43de2ea77
6 changed files with 273 additions and 104 deletions

View File

@@ -165,7 +165,9 @@ class PlotCanvas(QtCore.QObject):
"""
self.vispy_canvas.view.camera.zoom(factor, center)
def new_shape_group(self):
def new_shape_group(self, shape_collection=None):
if shape_collection:
return ShapeGroup(shape_collection)
return ShapeGroup(self.shape_collection)
def new_shape_collection(self, **kwargs):