how to joint twe actor via vtk(python ),

how to joint twe actor via vtk(python ),for example ,how to joint picture frame and temple,them(twe actor) is made from section.,please,think you!