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

Function test_face_positionAt

tests/test_shapes.py:102–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100
101
102def test_face_positionAt():
103
104 f = plane(1, 1)
105
106 p = f.positionAt(0.5, 0.5)
107
108 assert p.x == approx(0.5)
109 assert p.y == approx(0.5)
110 assert p.z == approx(0)
111
112
113def test_face_positions():

Callers

nothing calls this directly

Calls 2

planeFunction · 0.90
positionAtMethod · 0.45

Tested by

no test coverage detected