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

Method testXYPlaneBasics

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

Source from the content-addressed store, hash-verified

118 )
119
120 def testXYPlaneBasics(self):
121 p = Plane.named("XY")
122 self.assertTupleAlmostEquals(p.zDir.toTuple(), zAxis_.toTuple(), 4)
123 self.assertTupleAlmostEquals(p.xDir.toTuple(), xAxis_.toTuple(), 4)
124 self.assertTupleAlmostEquals(p.yDir.toTuple(), yAxis_.toTuple(), 4)
125
126 def testYZPlaneBasics(self):
127 p = Plane.named("YZ")

Callers

nothing calls this directly

Calls 3

namedMethod · 0.80
toTupleMethod · 0.45

Tested by

no test coverage detected