(box_shape)
| 748 | |
| 749 | |
| 750 | def test_hollow_open(box_shape): |
| 751 | |
| 752 | # offset inwards |
| 753 | res1 = hollow(box_shape, box_shape.faces(">Z"), -0.1) |
| 754 | |
| 755 | # offset outwards |
| 756 | res2 = hollow(box_shape, box_shape.faces(">Z"), 0.1) |
| 757 | |
| 758 | assert res1.isValid() |
| 759 | assert res1.faces().size() == 6 + 5 |
| 760 | |
| 761 | assert res2.isValid() |
| 762 | assert res2.faces().size() == 6 + 5 |
| 763 | |
| 764 | |
| 765 | def test_prism(box_shape): |