Planetary2: Put planet gears in the order they need to go together
This commit is contained in:
parent
7f1e54be15
commit
4c17d6a4a1
|
@ -180,7 +180,6 @@ class Planetary2(Boxes):
|
||||||
|
|
||||||
for i in range(numplanets):
|
for i in range(numplanets):
|
||||||
self.ctx.save()
|
self.ctx.save()
|
||||||
for j in range(2):
|
|
||||||
self.gears(teeth=self.planetteeth, dimension=self.modulus,
|
self.gears(teeth=self.planetteeth, dimension=self.modulus,
|
||||||
angle=pressure_angle,
|
angle=pressure_angle,
|
||||||
callback=lambda:self.pins(0.25*size2, pinsize, i),
|
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,
|
callback=lambda:self.pins(0.25*size2, pinsize, i,
|
||||||
secondary_offsets[i]),
|
secondary_offsets[i]),
|
||||||
profile_shift=profile_shift, move="right")
|
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.ctx.restore()
|
||||||
|
|
||||||
self.gears(teeth=self.planetteeth, dimension=self.modulus,
|
self.gears(teeth=self.planetteeth, dimension=self.modulus,
|
||||||
|
|
Loading…
Reference in New Issue