import splinepy as sp
import numpy as np
a = sp.Bezier(degrees=[1,1,1],control_points=sp.utils.data.cartesian_product([np.array([0,1]) for _ in range(3)]))
aa = a.copy()
aa.cps += [1,0,0]
b = sp.Multipatch(splines=[a,aa])
# First
v = b.boundary_multi_patch()
v.splines # Works fine
v = b.boundary_multi_patch()
v.splines # Error
The above example produces an error as the shared pointer (member of py_multi_patch) is not converted into the correct type. Maybe @j042 you have an idea what causes this problem?
The above example produces an error as the shared pointer (member of
py_multi_patch
) is not converted into the correct type. Maybe @j042 you have an idea what causes this problem?