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

Method testChamferCylinder

tests/test_cadquery.py:2288–2294  ·  view source on GitHub ↗

Test chamfer API with a cylinder shape

(self)

Source from the content-addressed store, hash-verified

2286 self.assertAlmostEqual(0.9, edge.Length(), 3)
2287
2288 def testChamferCylinder(self):
2289 """
2290 Test chamfer API with a cylinder shape
2291 """
2292 cylinder = Workplane("XY").circle(1).extrude(1).faces(">Z").chamfer(0.1)
2293 self.saveModel(cylinder)
2294 self.assertEqual(4, cylinder.faces().size())
2295
2296 def testCounterBores(self):
2297 """

Callers

nothing calls this directly

Calls 7

saveModelMethod · 0.95
WorkplaneClass · 0.85
extrudeMethod · 0.80
chamferMethod · 0.45
facesMethod · 0.45
circleMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected