(self)
| 5846 | assert (w1 / w2).solids().size() == 3 |
| 5847 | |
| 5848 | def test_extrude_face(self): |
| 5849 | |
| 5850 | f = face(rect(1, 1)) |
| 5851 | c = compound(f) |
| 5852 | |
| 5853 | # face |
| 5854 | assert Workplane().add(f).extrude(1).val().Volume() == approx(1) |
| 5855 | # compound with face |
| 5856 | assert Workplane().add(c).extrude(1).val().Volume() == approx(1) |
| 5857 | |
| 5858 | def test_workplane_iter(self): |
| 5859 |