A simple square part with a hole in it-- but this time done as a single extrusion with two wires, as opposed to s cut
(self)
| 1639 | self.saveModel(s) |
| 1640 | |
| 1641 | def testMultiWireWorkplane(self): |
| 1642 | """ |
| 1643 | A simple square part with a hole in it-- but this time done as a single extrusion |
| 1644 | with two wires, as opposed to s cut |
| 1645 | """ |
| 1646 | s = Workplane(Plane.XY()) |
| 1647 | r = s.rect(2.0, 2.0).circle(0.25).extrude(0.5) |
| 1648 | |
| 1649 | self.saveModel(r) |
| 1650 | self.assertEqual(7, r.faces().size()) |
| 1651 | |
| 1652 | def testConstructionWire(self): |
| 1653 | """ |