main_generate_tetrahedron module