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

Method testSpherePointList

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

Source from the content-addressed store, hash-verified

2565 )
2566
2567 def testSpherePointList(self):
2568 s = (
2569 Workplane("XY")
2570 .rect(4.0, 4.0, forConstruction=True)
2571 .vertices()
2572 .sphere(0.25, combine=False)
2573 )
2574 # self.saveModel(s) # Until FreeCAD fixes their sphere operation
2575 self.assertEqual(4, s.solids().size())
2576 self.assertEqual(4, s.faces().size())
2577
2578 def testSphereCombine(self):
2579 s = (

Callers

nothing calls this directly

Calls 7

WorkplaneClass · 0.85
sphereMethod · 0.80
verticesMethod · 0.45
rectMethod · 0.45
sizeMethod · 0.45
solidsMethod · 0.45
facesMethod · 0.45

Tested by

no test coverage detected