Sfoglia il codice sorgente

- fixed a typo in Distance Tool

Marius Stanciu 6 anni fa
parent
commit
73d41816d6
2 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  1. 4 0
      README.md
  2. 1 1
      flatcamTools/ToolDistance.py

+ 4 - 0
README.md

@@ -9,6 +9,10 @@ CAD program, and create G-Code for Isolation routing.
 
 
 =================================================
 =================================================
 
 
+21.12.2019
+
+- fixed a typo in Distance Tool
+
 20.12.2019
 20.12.2019
 
 
 - fixed a rare issue in the generation of non-copper-region geometry started from the Gerber Object UI (selected tab)
 - fixed a rare issue in the generation of non-copper-region geometry started from the Gerber Object UI (selected tab)

+ 1 - 1
flatcamTools/ToolDistance.py

@@ -349,7 +349,7 @@ class Distance(FlatCAMTool):
                 d = math.sqrt(dx ** 2 + dy ** 2)
                 d = math.sqrt(dx ** 2 + dy ** 2)
                 self.stop_entry.set_value("(%.*f, %.*f)" % (self.decimals, pos[0], self.decimals, pos[1]))
                 self.stop_entry.set_value("(%.*f, %.*f)" % (self.decimals, pos[0], self.decimals, pos[1]))
 
 
-                self.app.inform.emit("{tx1}: {tx2} D(x) = {d_x} | D(y) = {d_y} | (tx3} = {d_z}".format(
+                self.app.inform.emit("{tx1}: {tx2} D(x) = {d_x} | D(y) = {d_y} | {tx3} = {d_z}".format(
                     tx1=_("MEASURING"),
                     tx1=_("MEASURING"),
                     tx2=_("Result"),
                     tx2=_("Result"),
                     tx3=_("Distance"),
                     tx3=_("Distance"),