I’m using the following openscad code, the objective is to create a void inside a cube using difference command:
difference() {
cube(10, true);
cube(2, true);
}
When export the model to stl and load into slicer, the is no void inside the cube.