removed obsolete code after testing

pull/190/head
Alain Pelletier 2021-07-21 08:46:12 -03:00 zatwierdzone przez GitHub
rodzic 2f50e0aa92
commit 30db31b8bb
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
3 zmienionych plików z 1 dodań i 3 usunięć

Wyświetl plik

@ -75,7 +75,7 @@ def getCutterBullet(o):
elif type == 'VCARVE':
angle = o.cutter_tip_angle
s = math.tan(math.pi * (90 - angle / 2) / 180) / 2 #angles in degrees
# s = math.tan(math.pi * (90 - angle / 2) / 180) / 2 #angles in degrees
s = math.tan((math.pi-angle)/2)/2 #angle in radians
bpy.ops.mesh.primitive_cone_add(vertices=32, radius1=BULLET_SCALE * o.cutter_diameter / 2, radius2=0,

Wyświetl plik

@ -330,7 +330,6 @@ def getCutterArray(operation, pixsize):
elif type == 'VCARVE':
angle = operation.cutter_tip_angle
s = math.tan(math.pi * (90 - angle / 2) / 180) # angle in degrees
s = math.tan((math.pi - angle) / 2) # angle in radians
for a in range(0, res):
v.x = (a + 0.5 - m) * ps

Wyświetl plik

@ -562,7 +562,6 @@ def medial_axis(o):
gpoly = spolygon.Polygon()
angle = o.cutter_tip_angle
slope = math.tan(math.pi * (90 - angle / 2) / 180) #angle in degrees
slope = math.tan((math.pi-angle)/2) #angle in radian
new_cutter_diameter = o.cutter_diameter
m_o_name = o.object_name