fix ballnose depth in medial axis

pull/200/head
abosafia 2022-01-05 21:00:06 +02:00
rodzic 6c720bc3e8
commit 4c3a40ee95
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -595,7 +595,7 @@ def medial_axis(o):
new_cutter_diameter = (maxdepth - o.maxz) / (- slope) * 2
elif o.cutter_type == 'BALLNOSE':
# angle = o.cutter_tip_angle
maxdepth = new_cutter_diameter / 2
maxdepth = - new_cutter_diameter / 2
else:
o.warnings += 'Only Ballnose, Ball and V-carve cutters\n are supported'
return