# - patch (pyTree) - import Transform.PyTree as T import Generator.PyTree as G import Converter.PyTree as C c1 = G.cart((0,0,0), (0.01,0.01,1), (201,101,1)) c2 = G.cart((0,0,0), (0.01,0.01,1), (51,81,1)) c2 = T.rotate(c2, (0,0,0),(0,0,1),0.2) a = T.patch(c1, c2, (1,1,1)) C.convertPyTree2File(a, 'out.cgns')