Просмотр исходного кода

- restored some changes in camlib.Gerber (the last_path_aperture value changed in G02/G03 parsing)

Marius Stanciu 6 лет назад
Родитель
Сommit
3565a39918
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      camlib.py

+ 2 - 2
camlib.py

@@ -2932,7 +2932,7 @@ class Gerber (Geometry):
 
                         # Append
                         path += this_arc
-                        # last_path_aperture = current_aperture
+                        last_path_aperture = current_aperture
 
                         continue
 
@@ -2982,7 +2982,7 @@ class Gerber (Geometry):
                                 current_x, current_y = circular_x, circular_y
 
                                 path += this_arc
-                                # last_path_aperture = current_aperture
+                                last_path_aperture = current_aperture
                                 valid = True
                                 break