Tests a simple mirroring operation
(self)
| 2126 | self.saveModel(r) |
| 2127 | |
| 2128 | def testSimpleMirror(self): |
| 2129 | """ |
| 2130 | Tests a simple mirroring operation |
| 2131 | """ |
| 2132 | s = ( |
| 2133 | Workplane("XY") |
| 2134 | .lineTo(2, 2) |
| 2135 | .threePointArc((3, 1), (2, 0)) |
| 2136 | .mirrorX() |
| 2137 | .extrude(0.25) |
| 2138 | ) |
| 2139 | self.assertEqual(6, s.faces().size()) |
| 2140 | self.saveModel(s) |
| 2141 | |
| 2142 | def testUnorderedMirror(self): |
| 2143 | """ |