MCPcopy
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
90def array2vec(data: NDArray) -> list[Vector]:
91
92 return [Vector(*row) for row in data]
93
94
95# %% vocabulary types

Callers 1

test_approximate2DFunction · 0.90

Calls 1

VectorClass · 0.85

Tested by 1

test_approximate2DFunction · 0.72