Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CadQuery/cadquery
/ _unique
Method
_unique
cadquery/sketch.py:645–649 ·
view source on GitHub ↗
(self: T, vals: List[SketchVal])
Source
from the content-addressed store, hash-verified
643
# selection
644
645
def
_unique(self: T, vals: List[SketchVal]) -> List[SketchVal]:
646
647
tmp = {hash(v): v
for
v in vals}
648
649
return
list(tmp.values())
650
651
def
_select(
652
self: T,
Callers
1
_select
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected