actually make use of raw mode
This commit is contained in:
parent
e6d96bb7a5
commit
29c5d0fd32
1 changed files with 4 additions and 0 deletions
|
|
@ -184,6 +184,8 @@ def read_cell(
|
||||||
layer = (bnd['layer'].as_py(), bnd['dtype'].as_py())
|
layer = (bnd['layer'].as_py(), bnd['dtype'].as_py())
|
||||||
args = dict(
|
args = dict(
|
||||||
vertices = bnd['xy'].values.to_numpy().reshape((-1, 2))[:-1],
|
vertices = bnd['xy'].values.to_numpy().reshape((-1, 2))[:-1],
|
||||||
|
raw = raw_mode,
|
||||||
|
offset = numpy.zeros(2),
|
||||||
)
|
)
|
||||||
|
|
||||||
if (props := bnd['properties']).is_valid:
|
if (props := bnd['properties']).is_valid:
|
||||||
|
|
@ -196,6 +198,8 @@ def read_cell(
|
||||||
layer = (gpath['layer'].as_py(), gpath['dtype'].as_py())
|
layer = (gpath['layer'].as_py(), gpath['dtype'].as_py())
|
||||||
args = dict(
|
args = dict(
|
||||||
vertices = gpath['xy'].values.to_numpy().reshape((-1, 2)),
|
vertices = gpath['xy'].values.to_numpy().reshape((-1, 2)),
|
||||||
|
offset = numpy.zeros(2),
|
||||||
|
raw = raw_mode,
|
||||||
)
|
)
|
||||||
|
|
||||||
if (gcap := gpath['path_type']).is_valid:
|
if (gcap := gpath['path_type']).is_valid:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue