Add gears to Boxes class

This commit is contained in:
Florian Festi 2016-07-11 14:59:11 +02:00
parent 2a849e7af6
commit 8eea323718
1 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,7 @@ import re
from functools import wraps
from boxes import edges
from boxes import formats
from boxes import gears
### Helpers
@ -341,6 +342,8 @@ class Boxes:
self.addPart(edges.HingePin(self, s, i))
# Nuts
self.addPart(NutHole(self, None))
# Gears
self.addPart(gears.Gears(self))
def adjustSize(self, l, e1=True, e2=True):
try: