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

Method testFaceWrapperMakePlane

tests/test_cad_objects.py:236–239  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

234 self.assertTupleAlmostEquals(end, arcEllipseEdge.endPoint().toTuple(), 3)
235
236 def testFaceWrapperMakePlane(self):
237 mplane = Face.makePlane(10, 10)
238
239 self.assertTupleAlmostEquals((0.0, 0.0, 1.0), mplane.normalAt().toTuple(), 3)
240
241 def testMatrixOfInertia(self):
242 """

Callers

nothing calls this directly

Calls 4

makePlaneMethod · 0.80
toTupleMethod · 0.45
normalAtMethod · 0.45

Tested by

no test coverage detected