diff --git a/doc/changelog.d/1833.test.md b/doc/changelog.d/1833.test.md new file mode 100644 index 0000000000..ab3b5edadc --- /dev/null +++ b/doc/changelog.d/1833.test.md @@ -0,0 +1 @@ +adding inward shell \ No newline at end of file diff --git a/tests/integration/test_design.py b/tests/integration/test_design.py index 849ec7cbd1..0a5b03d8ba 100644 --- a/tests/integration/test_design.py +++ b/tests/integration/test_design.py @@ -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."""