(self)
| 5069 | w5.cutBlind(-1) |
| 5070 | |
| 5071 | def testCompSolid(self): |
| 5072 | |
| 5073 | from OCP.BRepPrimAPI import BRepPrimAPI_MakePrism |
| 5074 | |
| 5075 | tool = Solid.makeSphere(1, angleDegrees3=120) |
| 5076 | shell = tool.Shells()[0] |
| 5077 | v = Vector(0, 0, 1) |
| 5078 | |
| 5079 | builder = BRepPrimAPI_MakePrism(shell.wrapped, v.wrapped) |
| 5080 | result = Shape.cast(builder.Shape()) |
| 5081 | |
| 5082 | self.assertEqual(len(result.CompSolids()), 1) |
| 5083 | self.assertEqual(len(result.Solids()), 4) |
| 5084 | |
| 5085 | def test2Dfillet(self): |
| 5086 |
nothing calls this directly
no test coverage detected