Python2 compat fix

This commit is contained in:
Florian Festi 2016-07-13 20:10:13 +02:00
parent 5201138390
commit d6bd708db5
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class Pulley(Boxes):
self.disk(
self.pulley.diameter(self.teeth, self.profile)+2*self.top,
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.close()