Renamed python class Voronoi to VoronoiDiagram

This commit is contained in:
Markus Lampert
2022-07-29 14:56:24 -07:00
parent 9cc1d277fa
commit 79021f4913
5 changed files with 10 additions and 9 deletions

View File

@@ -292,7 +292,7 @@ class ObjectVcarve(PathEngraveBase.ObjectOp):
voronoiWires = []
for f in faces:
vd = Path.Voronoi()
vd = Path.VoronoiDiagram()
insert_many_wires(vd, f.Wires)
vd.construct()
@@ -354,7 +354,7 @@ class ObjectVcarve(PathEngraveBase.ObjectOp):
)
return
try:
if True:
faces = []
for base in obj.BaseShapes:
@@ -383,10 +383,10 @@ class ObjectVcarve(PathEngraveBase.ObjectOp):
)
)
except Exception as e:
PathLog.error(
"Error processing Base object. Engraving operation will produce no output."
)
#except Exception as e:
# PathLog.error(
# "Error processing Base object. Engraving operation will produce no output."
# )
def opUpdateDepths(self, obj, ignoreErrors=False):
"""updateDepths(obj) ... engraving is always done at the top most z-value"""