Split code into separate class files

This commit is contained in:
Elod Csirmaz 2024-11-30 22:11:59 +00:00
parent ffbee53da3
commit 9d24a2c85f
24 changed files with 1062 additions and 830 deletions

28
openscad_py/__init__.py Normal file
View file

@ -0,0 +1,28 @@
from openscad_py.point import Point
from openscad_py.object_ import Object
from openscad_py.header import Header
# Traditional objects
from openscad_py.cube import Cube
from openscad_py.cylinder import Cylinder
from openscad_py.polyhedron import Polyhedron
from openscad_py.path_tube import PathTube
from openscad_py.circle import Circle
from openscad_py.polygon import Polygon
from openscad_py.collection import Collection
# Modifier objects
from openscad_py.translate import Translate
from openscad_py.rotate import Rotate
from openscad_py.scale import Scale
from openscad_py.color import Color
from openscad_py.linear_extrude import LinearExtrude
from openscad_py.rotate_extrude import RotateExtrude
from openscad_py.radial_offset import RadialOffset
from openscad_py.delta_offset import DeltaOffset
from openscad_py.union import Union
from openscad_py.intersection import Intersection
from openscad_py.difference import Difference