From c0ae8b00ebb0d233ac9dafcd32a6015b3d751579 Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Fri, 7 Apr 2023 18:26:41 +0200 Subject: [PATCH] Fix lids imports sortof --- boxes/__init__.py | 1 + boxes/lids.py | 1 + 2 files changed, 2 insertions(+) diff --git a/boxes/__init__.py b/boxes/__init__.py index fc4f31e..ffeab08 100755 --- a/boxes/__init__.py +++ b/boxes/__init__.py @@ -635,6 +635,7 @@ class Boxes: self.hexHolesSettings = HexHolesSettings(self.thickness, True, **self.edgesettings.get("HexHoles", {})) # Lids + from . import lids self.lidSettings = lids.LidSettings(self.thickness, True, **self.edgesettings.get("Lid", {})) self.lid = lids.Lid(self, self.lidSettings) diff --git a/boxes/lids.py b/boxes/lids.py index 393db4e..ff453f3 100644 --- a/boxes/lids.py +++ b/boxes/lids.py @@ -14,6 +14,7 @@ # along with this program. If not, see . from boxes import edges, Boxes +import math class LidSettings(edges.Settings):