I believe this is generateGeometry