Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CadQuery/cadquery
/ array2vec
Function
array2vec
cadquery/occ_impl/nurbs.py:90–92 ·
view source on GitHub ↗
(data: NDArray)
Source
from the content-addressed store, hash-verified
88
89
90
def
array2vec(data: NDArray) -> list[Vector]:
91
92
return
[Vector(*row)
for
row in data]
93
94
95
# %% vocabulary types
Callers
1
test_approximate2D
Function · 0.90
Calls
1
Vector
Class · 0.85
Tested by
1
test_approximate2D
Function · 0.72