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

Method testMakeEllipse

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

Source from the content-addressed store, hash-verified

1053 self.assertTupleAlmostEquals(ep1.toTuple(), ep2.toTuple(), 3)
1054
1055 def testMakeEllipse(self):
1056 el = Wire.makeEllipse(
1057 1, 2, Vector(0, 0, 0), Vector(0, 0, 1), Vector(1, 0, 0), 0, 90, 45, True,
1058 )
1059
1060 self.assertTrue(el.IsClosed())
1061 self.assertTrue(el.isValid())
1062
1063 def testSweep(self):
1064 """

Callers

nothing calls this directly

Calls 4

VectorClass · 0.85
IsClosedMethod · 0.80
isValidMethod · 0.80
makeEllipseMethod · 0.45

Tested by

no test coverage detected