Procedural intersec two meshes and cut the out parts?

Only in editor, i do not ask how to manipulate meshes in some 3d software!