cosmetics
This commit is contained in:
@@ -846,6 +846,12 @@ class TimingGear(object):
|
||||
else:
|
||||
fp.Shape = Part.Face(wi).extrude(App.Vector(0, 0, fp.height))
|
||||
|
||||
def __getstate__(self):
|
||||
pass
|
||||
|
||||
def __setstate__(self, state):
|
||||
pass
|
||||
|
||||
|
||||
class LanternGear(object):
|
||||
def __init__(self, obj):
|
||||
@@ -879,11 +885,6 @@ class LanternGear(object):
|
||||
r_0 = m * teeth / 2
|
||||
r_max = r_0 + r_r + fp.head * m
|
||||
|
||||
print("r_r: {}".format(r_r))
|
||||
print("r_max: {}".format(r_max))
|
||||
print("r_0: {}".format(r_0))
|
||||
|
||||
|
||||
phi_max = (r_r + np.sqrt(r_max**2 - r_0**2)) / r_0
|
||||
|
||||
def find_phi_min(phi_min):
|
||||
@@ -936,6 +937,12 @@ class LanternGear(object):
|
||||
else:
|
||||
fp.Shape = Part.Face(wi).extrude(App.Vector(0, 0, fp.height))
|
||||
|
||||
def __getstate__(self):
|
||||
pass
|
||||
|
||||
def __setstate__(self, state):
|
||||
pass
|
||||
|
||||
|
||||
|
||||
def part_arc_from_points_and_center(p_1, p_2, m):
|
||||
|
||||
@@ -48,7 +48,6 @@ def rotation(angle, midpoint=None):
|
||||
[sin(angle), cos(angle)]])
|
||||
midpoint = array(midpoint)
|
||||
vec = midpoint - dot(midpoint, mat)
|
||||
print(vec)
|
||||
trans = translation(vec)
|
||||
|
||||
def func(xx):
|
||||
|
||||
Reference in New Issue
Block a user