Skip to content

Commit 53810cf

Browse files
committed
Move all the basic openscad objects into a new file
This almost halves the size of the main file. Note that a circular import is necessary, since the base class references the subclasses
1 parent fc57027 commit 53810cf

File tree

3 files changed

+550
-552
lines changed

3 files changed

+550
-552
lines changed

solid/__init__.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Some __init__ magic so we can include all solidpython code with:
22
# from solid import *
33
# from solid.utils import *
4-
try:
5-
from solidpython import *
6-
except ImportError:
7-
from solid.solidpython import *
4+
from .solidpython import *
5+
from .objects import *

0 commit comments

Comments
 (0)