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

Function resulting_plane

tests/test_assembly.py:2081–2087  ·  view source on GitHub ↗
(shape0)

Source from the content-addressed store, hash-verified

2079 return c0._getPln(c0.args[0])
2080
2081 def resulting_plane(shape0):
2082 p0 = resulting_pln(shape0)
2083 return cq.Plane(
2084 cq.Vector(p0.Location()),
2085 cq.Vector(p0.XAxis().Direction()),
2086 cq.Vector(p0.Axis().Direction()),
2087 )
2088
2089 # point should fail
2090 fail_this(cq.Vertex.makeVertex(0, 0, 0))

Callers 1

test_constraint_getPlnFunction · 0.85

Calls 1

resulting_plnFunction · 0.85

Tested by

no test coverage detected