Skip to content

Commit d85d838

Browse files
committed
Add missing imports to __init__
1 parent f6efbce commit d85d838

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/classy_blocks/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
from .base.transforms import Mirror, Rotation, Scaling, Shear, Translation
2+
from .construct.assemblies.assembly import Assembly
23
from .construct.assemblies.joints import LJoint, NJoint, TJoint
34
from .construct.curves.analytic import AnalyticCurve, CircleCurve, LineCurve
45
from .construct.curves.curve import CurveBase
56
from .construct.curves.discrete import DiscreteCurve
67
from .construct.curves.interpolated import LinearInterpolatedCurve, SplineInterpolatedCurve
78
from .construct.edges import Angle, Arc, OnCurve, Origin, PolyLine, Project, Spline
89
from .construct.flat.face import Face
10+
from .construct.flat.sketch import Sketch
911
from .construct.flat.sketches.disk import FourCoreDisk, HalfDisk, OneCoreDisk, Oval, WrappedDisk
1012
from .construct.flat.sketches.grid import Grid
1113
from .construct.flat.sketches.mapped import MappedSketch
@@ -51,6 +53,7 @@
5153
"AnalyticCurve",
5254
"Angle",
5355
"Arc",
56+
"Assembly",
5457
"Box",
5558
"CircleCurve",
5659
"ClampBase",
@@ -117,6 +120,7 @@
117120
"Shear",
118121
"Shell",
119122
"SimpleGrader",
123+
"Sketch",
120124
"SketchOptimizer",
121125
"SketchSmoother",
122126
"SmoothGrader",

tests/test_util/test_imports.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,13 @@ def test_import_links(self):
9292

9393
def test_import_optimizer(self):
9494
_ = cb.MeshOptimizer
95+
_ = cb.ShapeOptimizer
9596
_ = cb.SketchOptimizer
9697
_ = cb.MeshSmoother
9798
_ = cb.SketchSmoother
9899

99100
def test_import_assemblies(self):
101+
_ = cb.Assembly
100102
_ = cb.NJoint
101103
_ = cb.TJoint
102104
_ = cb.LJoint

0 commit comments

Comments
 (0)