Add gears to Boxes class
This commit is contained in:
parent
2a849e7af6
commit
8eea323718
|
@ -27,6 +27,7 @@ import re
|
||||||
from functools import wraps
|
from functools import wraps
|
||||||
from boxes import edges
|
from boxes import edges
|
||||||
from boxes import formats
|
from boxes import formats
|
||||||
|
from boxes import gears
|
||||||
|
|
||||||
### Helpers
|
### Helpers
|
||||||
|
|
||||||
|
@ -341,6 +342,8 @@ class Boxes:
|
||||||
self.addPart(edges.HingePin(self, s, i))
|
self.addPart(edges.HingePin(self, s, i))
|
||||||
# Nuts
|
# Nuts
|
||||||
self.addPart(NutHole(self, None))
|
self.addPart(NutHole(self, None))
|
||||||
|
# Gears
|
||||||
|
self.addPart(gears.Gears(self))
|
||||||
|
|
||||||
def adjustSize(self, l, e1=True, e2=True):
|
def adjustSize(self, l, e1=True, e2=True):
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue