added clean argument for hole method

This commit is contained in:
hyOzd
2015-08-02 17:36:35 +03:00
parent c0444cb0fa
commit 2d1bdcad7b
2 changed files with 13 additions and 5 deletions

View File

@ -1082,6 +1082,12 @@ class TestCadQuery(BaseTest):
self.assertEqual(10, s.faces().size())
# test removal of splitter caused by double hole operation
s = Workplane("XY").box(10,10,10).faces(">Z").workplane().\
hole(3,5).faces(">Z").workplane().hole(3,10)
self.assertEqual(7, s.faces().size())
def testNoClean(self):
"""
Test the case when clean is disabled.