Skip to content

Commit

Permalink
Add direct imports of Line and Circle curves
Browse files Browse the repository at this point in the history
  • Loading branch information
FranzBangar committed May 28, 2024
1 parent ef4ac8b commit 3900be6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/classy_blocks/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from .base.transforms import Mirror, Rotation, Scaling, Translation
from .construct.curves.analytic import AnalyticCurve
from .construct.curves.analytic import AnalyticCurve, CircleCurve, LineCurve
from .construct.curves.discrete import DiscreteCurve
from .construct.curves.interpolated import LinearInterpolatedCurve, SplineInterpolatedCurve
from .construct.edges import Angle, Arc, OnCurve, Origin, PolyLine, Project, Spline
Expand Down Expand Up @@ -44,6 +44,8 @@
"LinearInterpolatedCurve",
"SplineInterpolatedCurve",
"AnalyticCurve",
"LineCurve",
"CircleCurve",
# edges
"Arc",
"Origin",
Expand Down
2 changes: 2 additions & 0 deletions tests/test_util/test_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ def test_import_curves(self):
_ = cb.LinearInterpolatedCurve
_ = cb.SplineInterpolatedCurve
_ = cb.AnalyticCurve
_ = cb.LineCurve
_ = cb.CircleCurve

def test_import_flat(self):
_ = cb.Face
Expand Down

0 comments on commit 3900be6

Please sign in to comment.