- a bug fix in Geometry Object

- fixed some missing properties in Tool Calculators
This commit is contained in:
Marius Stanciu
2019-10-29 03:15:58 +02:00
committed by Marius
parent 23065aa033
commit 9ea39c138e
4 changed files with 47 additions and 16 deletions

View File

@@ -4345,7 +4345,7 @@ class FlatCAMGeometry(FlatCAMObj, Geometry):
tooldia = float(self.ui.geo_tools_table.item(row, 1).text())
new_cutz = (tooldia - vdia) / (2 * math.tan(math.radians(half_vangle)))
new_cutz = float('%.*f' % (self.decimals, new_cutz)) # this value has to be negative
new_cutz = float('%.*f' % (self.decimals, new_cutz)) * -1.0 # this value has to be negative
self.ui.cutz_entry.set_value(new_cutz)