Reworked testWorkplaneFromFace
This commit is contained in:
@ -214,8 +214,8 @@ class TestCadQuery(BaseTest):
|
||||
self.saveModel(r)
|
||||
#the result should have 7 faces
|
||||
self.assertEqual(7,r.faces().size() )
|
||||
self.assertEqual(type(r.val()), Solid)
|
||||
self.assertEqual(type(r.first().val()),Solid)
|
||||
self.assertEqual(type(r.val()), Compound)
|
||||
self.assertEqual(type(r.first().val()),Compound)
|
||||
|
||||
def testFrontReference(self):
|
||||
s = CQ(makeUnitCube()).faces("front").workplane() #make a workplane on the top face
|
||||
|
Reference in New Issue
Block a user