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

Method XY

cadquery/occ_impl/geom.py:508–511  ·  view source on GitHub ↗
(cls, origin=(0, 0, 0), xDir=Vector(1, 0, 0))

Source from the content-addressed store, hash-verified

506
507 @classmethod
508 def XY(cls, origin=(0, 0, 0), xDir=Vector(1, 0, 0)):
509 plane = Plane.named("XY", origin)
510 plane._setPlaneDir(xDir)
511 return plane
512
513 @classmethod
514 def YZ(cls, origin=(0, 0, 0), xDir=Vector(0, 1, 0)):

Callers 15

makeTextMethod · 0.80
testPlaneBasicsMethod · 0.80
testOffsetPlanesMethod · 0.80
test_equalityFunction · 0.80
testSimpleWorkplaneMethod · 0.80
testTwoWorkplanesMethod · 0.80
testCutMethod · 0.80
testIntersectMethod · 0.80
testCutThroughAllMethod · 0.80

Calls 3

VectorClass · 0.85
namedMethod · 0.80
_setPlaneDirMethod · 0.80

Tested by 15

testPlaneBasicsMethod · 0.64
testOffsetPlanesMethod · 0.64
test_equalityFunction · 0.64
testSimpleWorkplaneMethod · 0.64
testTwoWorkplanesMethod · 0.64
testCutMethod · 0.64
testIntersectMethod · 0.64
testCutThroughAllMethod · 0.64