from splipy import *
import splipy.curve_factory as cf
import splipy.surface_factory as sf
from splipy.io import *
c1 = cf.polygon([[-1, 1], [-1,-1], [1,-1]])
c2 = cf.polygon([[ 1,-1], [ 1, 0]])
c3 = cf.polygon([[ 1, 0], [ 0, 0], [0, 1]])
c4 = cf.polygon([[ 0, 1], [-1, 1]])
c1.refine(2).raise_order(1)
c2.refine(2).raise_order(1)
surf = sf.edge_curves([c1, c2, c3, c4], type='finitestrain')
with G2('out.g2') as f:
f.write(surf)
This used to work before, see #42 where there was support for interior 270 degree angles. I suspect it has something to do with the solver.optimize('lhs', energy, ...) which frankly I don't know all the details about. Whatever it does, it is something different from what we had in the nutils v2.0 implementation.
This used to work before, see #42 where there was support for interior 270 degree angles. I suspect it has something to do with the
solver.optimize('lhs', energy, ...)
which frankly I don't know all the details about. Whatever it does, it is something different from what we had in the nutils v2.0 implementation.