# - connect1D (array) - import Geom as D import Converter as C # input P1 = [-0.5,0,0]; P1b = [0.5,0,0] P2 = [1,-1.5,0]; P2b = [1,-0.5,0] l1 = D.line(P1,P1b) l2 = D.line(P2,P2b) out = D.connect1D([l1,l2], sharpness=1, lengthFactor=10.) C.convertArrays2File(out, 'out.plt')