(self)
| 5882 | assert w2.solids().size() == 1 |
| 5883 | |
| 5884 | def test_loft_to_vertex(self): |
| 5885 | |
| 5886 | f1 = plane(1, 1) |
| 5887 | v1 = vertex(0, 0, 1) |
| 5888 | |
| 5889 | c = compound(f1, v1) |
| 5890 | |
| 5891 | w1 = Workplane().add(f1).add(v1).loft() |
| 5892 | w2 = Workplane().add(c).loft() |
| 5893 | |
| 5894 | # in both cases we get a solid |
| 5895 | assert w1.solids().size() == 1 |
| 5896 | assert w2.solids().size() == 1 |
| 5897 | |
| 5898 | def test_compound_faces_center(self): |
| 5899 | sk = Sketch().rect(50, 50).faces() |