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

Method testMakeHelix

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

Source from the content-addressed store, hash-verified

4665 part2._findFromEdge(useLocalCoords=True)
4666
4667 def testMakeHelix(self):
4668
4669 h = 10
4670 pitch = 1.5
4671 r = 1.2
4672 obj = Wire.makeHelix(pitch, h, r)
4673
4674 bb = obj.BoundingBox()
4675 self.assertAlmostEqual(bb.zlen, h, 1)
4676
4677 def testUnionCompound(self):
4678

Callers

nothing calls this directly

Calls 2

makeHelixMethod · 0.80
BoundingBoxMethod · 0.45

Tested by

no test coverage detected