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

Method testYXPlaneBasics

tests/test_workplanes.py:144–148  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

142 self.assertTupleAlmostEquals(p.yDir.toTuple(), zAxis_.toTuple(), 4)
143
144 def testYXPlaneBasics(self):
145 p = Plane.named("YX")
146 self.assertTupleAlmostEquals(p.zDir.toTuple(), zInvAxis_.toTuple(), 4)
147 self.assertTupleAlmostEquals(p.xDir.toTuple(), yAxis_.toTuple(), 4)
148 self.assertTupleAlmostEquals(p.yDir.toTuple(), xAxis_.toTuple(), 4)
149
150 def testZYPlaneBasics(self):
151 p = Plane.named("ZY")

Callers

nothing calls this directly

Calls 3

namedMethod · 0.80
toTupleMethod · 0.45

Tested by

no test coverage detected