diff --git a/tests/TestCadQuery.py b/tests/TestCadQuery.py index d94a49f2..58f7e942 100644 --- a/tests/TestCadQuery.py +++ b/tests/TestCadQuery.py @@ -839,11 +839,16 @@ class TestCadQuery(BaseTest): r = s.rect(2.0, 2.0).rect( 1.3, 1.3, forConstruction=True).vertices().circle(0.125).extrude(0.5) - # side hole, thru all - t = r.faces(">Y").workplane().circle(0.125).cutThruAll() - self.saveModel(t) + + # thru all without explicit face selection + t = r.circle(0.5).cutThruAll() self.assertEqual(11, t.faces().size()) + # side hole, thru all + t = t.faces(">Y").workplane().circle(0.125).cutThruAll() + self.saveModel(t) + self.assertEqual(13, t.faces().size()) + def testCutToFaceOffsetNOTIMPLEMENTEDYET(self): """ Tests cutting up to a given face, or an offset from a face