Fix lids imports

sortof
This commit is contained in:
Florian Festi 2023-04-07 18:26:41 +02:00
parent 44bf4adc8f
commit c0ae8b00eb
2 changed files with 2 additions and 0 deletions

View File

@ -635,6 +635,7 @@ class Boxes:
self.hexHolesSettings = HexHolesSettings(self.thickness, True, self.hexHolesSettings = HexHolesSettings(self.thickness, True,
**self.edgesettings.get("HexHoles", {})) **self.edgesettings.get("HexHoles", {}))
# Lids # Lids
from . import lids
self.lidSettings = lids.LidSettings(self.thickness, True, self.lidSettings = lids.LidSettings(self.thickness, True,
**self.edgesettings.get("Lid", {})) **self.edgesettings.get("Lid", {}))
self.lid = lids.Lid(self, self.lidSettings) self.lid = lids.Lid(self, self.lidSettings)

View File

@ -14,6 +14,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
from boxes import edges, Boxes from boxes import edges, Boxes
import math
class LidSettings(edges.Settings): class LidSettings(edges.Settings):