- fixed an module import issue in NCC Tool

- minor change (optimization) of the CNCJob UI
- work in progress in German translation ~20%
This commit is contained in:
Marius Stanciu
2019-03-25 22:00:07 +02:00
parent d7f4b7e6b0
commit a964e6282d
5 changed files with 343 additions and 298 deletions

View File

@@ -13,6 +13,7 @@ import time
import gettext
import FlatCAMTranslation as fcTranslate
from shapely.geometry import base
fcTranslate.apply_language('strings')
import builtins
@@ -661,7 +662,7 @@ class NonCopperClear(FlatCAMTool, Gerber):
# Prepare non-copper polygons
try:
bounding_box = self.ncc_obj.solid_geometry.envelope.buffer(distance=margin, join_style=JOIN_STYLE.mitre)
bounding_box = self.ncc_obj.solid_geometry.envelope.buffer(distance=margin, join_style=base.JOIN_STYLE.mitre)
except AttributeError:
self.app.inform.emit(_("[ERROR_NOTCL]No Gerber file available."))
return