()
| 46 | |
| 47 | @pytest.fixture |
| 48 | def simple_assy(): |
| 49 | |
| 50 | b1 = cq.Solid.makeBox(1, 1, 1) |
| 51 | b2 = cq.Workplane().box(1, 1, 2) |
| 52 | b3 = cq.Workplane().pushPoints([(0, 0), (-2, -5)]).box(1, 1, 3) |
| 53 | |
| 54 | assy = cq.Assembly(b1, loc=cq.Location(cq.Vector(2, -5, 0))) |
| 55 | assy.add(b2, loc=cq.Location(cq.Vector(1, 1, 0))) |
| 56 | assy.add(b3, loc=cq.Location(cq.Vector(2, 3, 0))) |
| 57 | |
| 58 | return assy |
| 59 | |
| 60 | |
| 61 | @pytest.fixture |
nothing calls this directly
no test coverage detected