- fixed a bug in the bounding box generation

This commit is contained in:
Marius Stanciu 2020-01-22 01:08:35 +02:00 committed by Marius
parent 6a616168e1
commit 11d4dd633f
2 changed files with 8 additions and 0 deletions

View File

@ -1022,6 +1022,10 @@ class FlatCAMGerber(FlatCAMObj, Gerber):
def geo_init(geo_obj, app_obj):
assert isinstance(geo_obj, FlatCAMGeometry)
if isinstance(self.solid_geometry, list):
self.solid_geometry = MultiPolygon(self.solid_geometry)
# Bounding box with rounded corners
bounding_box = self.solid_geometry.envelope.buffer(float(self.options["bboxmargin"]))
if not self.options["bboxrounded"]: # Remove rounded corners

View File

@ -9,6 +9,10 @@ CAD program, and create G-Code for Isolation routing.
=================================================
22.01.2020
- fixed a bug in the bounding box generation
19.01.2020
- fixed some bugs that are visible in Linux regarding the ArgsThread class: on app close we need to quit the QThread running the ArgsThread class and also close the opened Socket