- removed the forcing of multigeo geometry usage when creating CNCJobs

This commit is contained in:
Marius Stanciu
2020-11-11 17:52:06 +02:00
parent dc2143f4c9
commit 23c4589a5e
3 changed files with 9 additions and 7 deletions

View File

@@ -7,6 +7,10 @@ CHANGELOG for FlatCAM beta
=================================================
11.11.2020
- removed the forcing of multigeo geometry usage when creating CNCJobs
10.11.2020
- renamed the Extract Drills Tool to Extract Tool and enhanced the tool to extract a Soldermask Gerber from a given Gerber object

View File

@@ -2103,7 +2103,8 @@ class GeometryObject(FlatCAMObj, Geometry):
self.app.inform.emit(msg)
return
self.multigeo = True
# force everything as MULTI-GEO
# self.multigeo = True
# Object initialization function for app.app_obj.new_object()
# RUNNING ON SEPARATE THREAD!

View File

@@ -4240,13 +4240,11 @@ class App(QtCore.QObject):
obj = self.collection.get_active()
if obj is None:
self.inform.emit('[ERROR_NOTCL] %s' %
_("Failed. Select a Geometry Object and try again."))
self.inform.emit('[ERROR_NOTCL] %s' % _("Failed. Select a Geometry Object and try again."))
return
if not isinstance(obj, GeometryObject):
self.inform.emit('[ERROR_NOTCL] %s: %s' %
(_("Expected a GeometryObject, got"), type(obj)))
self.inform.emit('[ERROR_NOTCL] %s: %s' % (_("Expected a GeometryObject, got"), type(obj)))
return
obj.multigeo = False
@@ -4260,8 +4258,7 @@ class App(QtCore.QObject):
self.should_we_save = True
self.inform.emit('[success] %s' %
_("A Geometry object was converted to SingleGeo type."))
self.inform.emit('[success] %s' % _("A Geometry object was converted to SingleGeo type."))
def on_defaults_dict_change(self, field):
"""