Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CadQuery/cadquery
/ key
Method
key
cadquery/selectors.py:395–396 ·
view source on GitHub ↗
(self, obj: Shape)
Source
from the content-addressed store, hash-verified
393
self.direction = vector
394
395
def
key(self, obj: Shape) -> float:
396
return
obj.Center().dot(self.direction)
397
398
399
class
DirectionMinMaxSelector(CenterNthSelector):
Callers
nothing calls this directly
Calls
2
dot
Method · 0.80
Center
Method · 0.45
Tested by
no test coverage detected