MCPcopy
hub / github.com/CadQuery/cadquery / testSphereDefaults

Method testSphereDefaults

tests/test_cadquery.py:2533–2537  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2531 self.assertTupleAlmostEquals(s0.val().toTuple(), s1.val().toTuple(), 3)
2532
2533 def testSphereDefaults(self):
2534 s = Workplane("XY").sphere(10)
2535 self.saveModel(s) # Until FreeCAD fixes their sphere operation
2536 self.assertEqual(1, s.solids().size())
2537 self.assertEqual(1, s.faces().size())
2538
2539 def testSphereCustom(self):
2540 s = Workplane("XY").sphere(

Callers

nothing calls this directly

Calls 6

saveModelMethod · 0.95
WorkplaneClass · 0.85
sphereMethod · 0.80
sizeMethod · 0.45
solidsMethod · 0.45
facesMethod · 0.45

Tested by

no test coverage detected