(self)
| 297 | self.assertEqual(type(r.first().val()), Compound) |
| 298 | |
| 299 | def testFrontReference(self): |
| 300 | # make a workplane on the top face |
| 301 | s = CQ(makeUnitCube()).faces("front").workplane() |
| 302 | r = s.circle(0.125).cutBlind(-2.0) |
| 303 | self.saveModel(r) |
| 304 | # the result should have 7 faces |
| 305 | self.assertEqual(7, r.faces().size()) |
| 306 | self.assertEqual(type(r.val()), Compound) |
| 307 | self.assertEqual(type(r.first().val()), Compound) |
| 308 | |
| 309 | def testRotate(self): |
| 310 | """Test solid rotation at the CQ object level.""" |