- in Tcl command geocutout fixed an error due of a no longer used parameter
This commit is contained in:
@@ -7,6 +7,10 @@ CHANGELOG for FlatCAM beta
|
|||||||
|
|
||||||
=================================================
|
=================================================
|
||||||
|
|
||||||
|
28.01.2022
|
||||||
|
|
||||||
|
- in Tcl command `geocutout` fixed an error due of a no longer used parameter
|
||||||
|
|
||||||
27.01.2022
|
27.01.2022
|
||||||
|
|
||||||
- made sure that for the Tcl command `cncjob` when using the `dpp` parameter (multi depth) the value is always positive, as expected
|
- made sure that for the Tcl command `cncjob` when using the `dpp` parameter (multi depth) the value is always positive, as expected
|
||||||
|
|||||||
@@ -184,7 +184,7 @@ class TclCommandGeoCutout(TclCommandSignaled):
|
|||||||
"[WARNING] %s" % _("Tool Diameter is zero value. Change it to a positive real number."))
|
"[WARNING] %s" % _("Tool Diameter is zero value. Change it to a positive real number."))
|
||||||
return "Tool Diameter is zero value. Change it to a positive real number."
|
return "Tool Diameter is zero value. Change it to a positive real number."
|
||||||
|
|
||||||
if gaps not in ['lr', 'tb', '2lr', '2tb', '4', '8']:
|
if gaps not in ['lr', 'tb', '2lr', '2tb', '4', '8', 4, 8]:
|
||||||
self.app.inform.emit(
|
self.app.inform.emit(
|
||||||
"[WARNING] %s" % _("Gaps value can be only one of: 'lr', 'tb', '2lr', '2tb', 4 or 8."))
|
"[WARNING] %s" % _("Gaps value can be only one of: 'lr', 'tb', '2lr', '2tb', 4 or 8."))
|
||||||
return
|
return
|
||||||
@@ -306,7 +306,7 @@ class TclCommandGeoCutout(TclCommandSignaled):
|
|||||||
|
|
||||||
def geo_init(geo_obj, app_obj):
|
def geo_init(geo_obj, app_obj):
|
||||||
try:
|
try:
|
||||||
geo = cutout_obj.isolation_geometry((dia / 2), iso_type=0, corner=2, follow=None)
|
geo = cutout_obj.isolation_geometry((dia / 2), iso_type=0, corner=2)
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
log.error("TclCommandGeoCutout.execute() --> %s" % str(exc))
|
log.error("TclCommandGeoCutout.execute() --> %s" % str(exc))
|
||||||
return 'fail'
|
return 'fail'
|
||||||
|
|||||||
Reference in New Issue
Block a user