test combining a lof with another feature :return:
(self)
| 526 | self.assertEqual(str(err), "More than one wire or face is required") |
| 527 | |
| 528 | def testLoftCombine(self): |
| 529 | """ |
| 530 | test combining a lof with another feature |
| 531 | :return: |
| 532 | """ |
| 533 | s = ( |
| 534 | Workplane("front") |
| 535 | .box(4.0, 4.0, 0.25) |
| 536 | .faces(">Z") |
| 537 | .circle(1.5) |
| 538 | .workplane(offset=3.0) |
| 539 | .rect(0.75, 0.5) |
| 540 | .loft(combine=True) |
| 541 | ) |
| 542 | self.saveModel(s) |
| 543 | # self.assertEqual(1,s.solids().size() ) |
| 544 | # self.assertEqual(8,s.faces().size() ) |
| 545 | |
| 546 | def testRevolveCylinder(self): |
| 547 | """ |