OttoBody: Fix issue with HexHoles that broke the generator

Thanks to https://github.com/ottobot42 for reporting.

Resolves: #250
This commit is contained in:
Florian Festi 2020-10-19 21:00:38 +02:00
parent adc3ec5210
commit 90c783568f
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,8 @@ class OttoBody(Boxes):
self.rectangularHole(self.x-7, self.y-2.8, 7, 4)
self.moveTo(0, self.y-12)
self.hexHolesCircle(12, (1, 2, 'circle'))
self.hexHolesCircle(12, HexHolesSettings(
self, diameter=2, distance=2, style='circle'))
def leftBottomCB(self):
self.hole(7, self.y-7, 6)