Tests extrusion while twisting through an angle, removing the solid from the base solid
(self)
| 1337 | self.assertEqual(6, r.faces().size()) |
| 1338 | |
| 1339 | def testTwistExtrudeCombineCut(self): |
| 1340 | """ |
| 1341 | Tests extrusion while twisting through an angle, removing the solid from the base solid |
| 1342 | """ |
| 1343 | box = Workplane().box(10, 10, 10) |
| 1344 | cut = ( |
| 1345 | box.faces(">Z") |
| 1346 | .workplane(invert=True) |
| 1347 | .rect(1.5, 5) |
| 1348 | .twistExtrude(10, 90, combine="cut") |
| 1349 | ) |
| 1350 | self.assertGreater(box.val().Volume(), cut.val().Volume()) |
| 1351 | |
| 1352 | def testTwistExtrudeCombine(self): |
| 1353 | """ |