Not sure what slicing software you are using but Ultimaker Cura slicing software has the option to create a mold. You can find it under "Special modes"