Browse Source

- small changes

Marius Stanciu 6 years ago
parent
commit
c1e079474d
2 changed files with 4 additions and 0 deletions
  1. 1 0
      camlib.py
  2. 3 0
      flatcamTools/ToolNonCopperClear.py

+ 1 - 0
camlib.py

@@ -907,6 +907,7 @@ class Geometry(object):
         # Index first and last points in paths
         def get_pts(o):
             return [o.coords[0], o.coords[-1]]
+
         geoms = FlatCAMRTreeStorage()
         geoms.get_points = get_pts
 

+ 3 - 0
flatcamTools/ToolNonCopperClear.py

@@ -1630,8 +1630,11 @@ class NonCopperClear(FlatCAMTool, Gerber):
 
                 if area.geoms:
                     if len(area.geoms) > 0:
+                        # pol_nr = 0
                         for p in area.geoms:
                             if p is not None:
+                                # pol_nr += 1
+                                # log.debug("Polygons cleared: %d" % pol_nr)
                                 try:
                                     if isinstance(p, Polygon):
                                         if ncc_method == 'standard':