Reset depth_params index when starting a new iterator.
Otherwise when a profile consists of multiple cuts (example: profile outline+circles+holes) only the first one will respect the requested depths.
This commit is contained in:
@@ -763,6 +763,7 @@ class depth_params:
|
||||
self.index = 0
|
||||
|
||||
def __iter__(self):
|
||||
self.index = 0
|
||||
return self
|
||||
|
||||
def __next__(self):
|
||||
|
||||
Reference in New Issue
Block a user