Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/changelog.d/1833.test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
adding inward shell
6 changes: 6 additions & 0 deletions tests/integration/test_design.py
Original file line number Diff line number Diff line change
Expand Up @@ -3111,6 +3111,12 @@ def test_shell_body(modeler: Modeler):
assert base.volume.m == pytest.approx(Quantity(0.728, UNITS.m**3).m, rel=1e-6, abs=1e-8)
assert len(base.faces) == 12

base = design.extrude_sketch("box", Sketch().box(Point2D([0, 0]), 1, 1), 1)
success = base.shell_body(-0.1)
assert success
assert base.volume.m == pytest.approx(Quantity(0.488, UNITS.m**3).m, rel=1e-6, abs=1e-8)
assert len(base.faces) == 12


def test_shell_faces(modeler: Modeler):
"""Test shell commands for a single face."""
Expand Down
Loading