Python2 compat fix
This commit is contained in:
parent
5201138390
commit
d6bd708db5
|
@ -67,7 +67,7 @@ class Pulley(Boxes):
|
||||||
self.disk(
|
self.disk(
|
||||||
self.pulley.diameter(self.teeth, self.profile)+2*self.top,
|
self.pulley.diameter(self.teeth, self.profile)+2*self.top,
|
||||||
self.axle, move="right")
|
self.axle, move="right")
|
||||||
for i in range(math.ceil(self.h/self.thickness)):
|
for i in range(int(math.ceil(self.h/self.thickness))):
|
||||||
self.pulley(self.teeth, self.profile, r_axle=self.axle/2.0, move="right")
|
self.pulley(self.teeth, self.profile, r_axle=self.axle/2.0, move="right")
|
||||||
|
|
||||||
self.close()
|
self.close()
|
||||||
|
|
Loading…
Reference in New Issue