Planetary2: Put planet gears in the order they need to go together

This commit is contained in:
Florian Festi 2017-04-01 20:59:19 +02:00
parent 7f1e54be15
commit 4c17d6a4a1
1 changed files with 8 additions and 5 deletions

View File

@ -180,7 +180,6 @@ class Planetary2(Boxes):
for i in range(numplanets):
self.ctx.save()
for j in range(2):
self.gears(teeth=self.planetteeth, dimension=self.modulus,
angle=pressure_angle,
callback=lambda:self.pins(0.25*size2, pinsize, i),
@ -191,6 +190,10 @@ class Planetary2(Boxes):
callback=lambda:self.pins(0.25*size2, pinsize, i,
secondary_offsets[i]),
profile_shift=profile_shift, move="right")
self.gears(teeth=self.planetteeth, dimension=self.modulus,
angle=pressure_angle,
callback=lambda:self.pins(0.25*size2, pinsize, i),
profile_shift=profile_shift, move="right")
self.ctx.restore()
self.gears(teeth=self.planetteeth, dimension=self.modulus,