Kaynağa Gözat

- added some log.debug's in Tool Cutout

Marius Stanciu 5 yıl önce
ebeveyn
işleme
ae49c7fb09
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      flatcamTools/ToolCutOut.py

+ 2 - 1
flatcamTools/ToolCutOut.py

@@ -464,11 +464,11 @@ class CutOut(FlatCAMTool):
         self.type_obj_radio.set_value('grb')
         self.type_obj_radio.set_value('grb')
 
 
     def on_freeform_cutout(self):
     def on_freeform_cutout(self):
+        log.debug("Cutout.on_freeform_cutout() was launched ...")
 
 
         # def subtract_rectangle(obj_, x0, y0, x1, y1):
         # def subtract_rectangle(obj_, x0, y0, x1, y1):
         #     pts = [(x0, y0), (x1, y0), (x1, y1), (x0, y1)]
         #     pts = [(x0, y0), (x1, y0), (x1, y1), (x0, y1)]
         #     obj_.subtract_polygon(pts)
         #     obj_.subtract_polygon(pts)
-
         name = self.obj_combo.currentText()
         name = self.obj_combo.currentText()
 
 
         # Get source object.
         # Get source object.
@@ -651,6 +651,7 @@ class CutOut(FlatCAMTool):
         self.app.should_we_save = True
         self.app.should_we_save = True
 
 
     def on_rectangular_cutout(self):
     def on_rectangular_cutout(self):
+        log.debug("Cutout.on_rectangular_cutout() was launched ...")
 
 
         # def subtract_rectangle(obj_, x0, y0, x1, y1):
         # def subtract_rectangle(obj_, x0, y0, x1, y1):
         #     pts = [(x0, y0), (x1, y0), (x1, y1), (x0, y1)]
         #     pts = [(x0, y0), (x1, y0), (x1, y1), (x0, y1)]