import Generator as G import Transform as T import Converter as C import Converter as I import Intersector as XOR import KCore.test as test import Post as P t1 = G.cart((0,0,0), (1,1,1), (10,10,10)) t1 = C.convertArray2NGon(t1); t1 = G.close(t1) t2 = G.cart((1.,1.5,3.), (1,1,1), (10,10,10)) t2 = C.convertArray2NGon(t2); t2 = G.close(t2) res = XOR.getCollidingCells(t1, t2, RTOL = 0.05) m = XOR.getCells(t1, res[0], are_face_ids=False) C.convertArrays2File([m], "out.plt")