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

Method top

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

Source from the content-addressed store, hash-verified

566
567 @classmethod
568 def top(cls, origin=(0, 0, 0), xDir=Vector(1, 0, 0)):
569 plane = Plane.named("top", origin)
570 plane._setPlaneDir(xDir)
571 return plane
572
573 @classmethod
574 def bottom(cls, origin=(0, 0, 0), xDir=Vector(1, 0, 0)):

Callers 1

testPlanesMethod · 0.80

Calls 3

VectorClass · 0.85
namedMethod · 0.80
_setPlaneDirMethod · 0.80

Tested by 1

testPlanesMethod · 0.64