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

Method testNestedCircle

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

Source from the content-addressed store, hash-verified

1464 )
1465
1466 def testNestedCircle(self):
1467 s = (
1468 Workplane("XY")
1469 .box(40, 40, 5)
1470 .pushPoints([(10, 0), (0, 10)])
1471 .circle(4)
1472 .circle(2)
1473 .extrude(4)
1474 )
1475 self.saveModel(s)
1476 self.assertEqual(14, s.faces().size())
1477
1478 def testConcentricEllipses(self):
1479 concentricEllipses = (

Callers

nothing calls this directly

Calls 8

saveModelMethod · 0.95
WorkplaneClass · 0.85
extrudeMethod · 0.80
pushPointsMethod · 0.80
boxMethod · 0.80
circleMethod · 0.45
sizeMethod · 0.45
facesMethod · 0.45

Tested by

no test coverage detected