@ -1503,7 +1503,12 @@ class TestCadQuery(BaseTest):
|
||||
r = Workplane("XY").box(1, 1, 1)
|
||||
dim = r.largestDimension()
|
||||
|
||||
self.assertAlmostEqual(8.7, dim, 1)
|
||||
self.assertAlmostEqual(1.76, dim, 1)
|
||||
|
||||
r = Workplane("XY").rect(1, 1).extrude(1)
|
||||
dim = r.largestDimension()
|
||||
|
||||
self.assertAlmostEqual(1.76, dim, 1)
|
||||
|
||||
r = Workplane("XY")
|
||||
dim = r.largestDimension()
|
||||
@ -1728,7 +1733,6 @@ class TestCadQuery(BaseTest):
|
||||
|
||||
# Tests the case where the depth of the cboreHole is not specified
|
||||
c2 = CQ(makeCube(3.0))
|
||||
pnts = [(-1.0, -1.0), (0.0, 0.0), (1.0, 1.0)]
|
||||
c2 = c2.faces(">Z").workplane().pushPoints(pnts).cboreHole(0.1, 0.25, 0.25)
|
||||
self.assertEqual(15, c2.faces().size())
|
||||
|
||||
|
Reference in New Issue
Block a user