Thingiverse

Remix of MKS Sbase Enclosure to make Parametric by GeoDave
by Thingiverse
Last crawled date: 4 years, 2 months ago
This case matches the Gowoops MKS SBASE V1.3 3D Printer Control Board from Amazon. I have noticed some of these MKS SBASE boards have slightly different locations for some of the electronics on the board. I made a simple 3D model of the MKS SBASE board with the locations of the components I needed to be concerned with. You can use MKS_Sbase_CircuitBoard_Layout_Rev2.scad to adjust any of these that might vary for your board.
I remixed this to be able to customize it in openscad the way I wanted it. The main things I wanted to change were the thickness of the walls (Thk variable) & no overhangs for printing. After initially recreating it in openscad, I decided to make the base the shorter part & the top the taller part. This allowed me to cut the openings without overhang issues. I added 4 mounts on the outside to screw the top & bottom together as well as some snap clips. I think the snap clips are going to hold the 2 parts in place good enough for me. If I had not printed this already, I probably would add some matching holes in the top for the snap clips to fit in. For my 1st print I made the 4 mounting holes closer to the outside edge, but for the final design I moved them inward more which should hold the parts together better if you use them.
You can actually use this enclosure with just about any electronics board since I have made all the distances on the board variable. You will need to change some of the openings for the wiring. I added a couple of photos showing the dimensioned variables you would most likely change.
I am using this on a MP CNC machine, so I did not cut openings for the wiring I was not using, but did add it for the design I am uploading. If you want to change these openings, The modules for the cutouts in the MKS_sBase_Top_V2_Rev29.scad are:
module M_SD_Hole()
module RJ45_Hole()
module USB_Hole()
module PowerPlug_Hole()
module Fan_Hole()
module Extra_Holes()
The hole cut I did not use for my version was Extra_Holes().
If you want to adjust case mount locations (which I had to adjust when I cut the Extra_Holes), the variables to adjust in both the top & base scad file are:
CM_X_Offset = 15.25; //1st Case Mount X OffsetCM_X1_Offset = Len - 47; //2nd Case Mount X Offset
The variable to adjust in the MKS_sBase_Base_V2_Rev29.scad file for the Base Mount if you are going to screw this down to a surface is:
BM_X_Offset = Len / 2 + 10; //Base Mount X Offset
If you want to make the side slot holes longer or shorter, the variable for that in MKS_sBase_Top_V2_Rev29.scad is:
Side_Hole_Dist = 24;
If you want to change the location or size of fan holes, the variables in MKS_sBase_Top_V2_Rev29.scad are:
FanCut_Type = 1; //0 = Round Opening, 1 = Hex pattern openingFanCut_Z_Offset = 23.5; //Offset from top for Fan cutoutsFanHole_OD = 38; //Diameter opening for Fan hole
//Not used if FanType = 1FanHole_Spacing = 32; //Spacing Between Fan Holes (32mm works for 40mm fan)
If you use a different size fan than a 40mm, the hex pattern opening will not work unless you adjust it in the dxf file.
I used 2.5mm for the thickness of the base, but if you want to change that, the variable in MKS_sBase_Base_V2_Rev29.scad is:
Base_Ht = 2.5;
If you change the variable much thicker, you might also want to change the variable:
Bump_Z_Ht = 4; //Start height of bottom Bump
I used yellow eSun PETG, since that was the best color I had laying around.
My print stats are:
Base: 1.58oz & print time of 3:31:01 at 20%infill
Top: 3.3oz & print time of 8:08:11 at 20%infill
If you need further clarification or I missed something, just leave a comment.
I remixed this to be able to customize it in openscad the way I wanted it. The main things I wanted to change were the thickness of the walls (Thk variable) & no overhangs for printing. After initially recreating it in openscad, I decided to make the base the shorter part & the top the taller part. This allowed me to cut the openings without overhang issues. I added 4 mounts on the outside to screw the top & bottom together as well as some snap clips. I think the snap clips are going to hold the 2 parts in place good enough for me. If I had not printed this already, I probably would add some matching holes in the top for the snap clips to fit in. For my 1st print I made the 4 mounting holes closer to the outside edge, but for the final design I moved them inward more which should hold the parts together better if you use them.
You can actually use this enclosure with just about any electronics board since I have made all the distances on the board variable. You will need to change some of the openings for the wiring. I added a couple of photos showing the dimensioned variables you would most likely change.
I am using this on a MP CNC machine, so I did not cut openings for the wiring I was not using, but did add it for the design I am uploading. If you want to change these openings, The modules for the cutouts in the MKS_sBase_Top_V2_Rev29.scad are:
module M_SD_Hole()
module RJ45_Hole()
module USB_Hole()
module PowerPlug_Hole()
module Fan_Hole()
module Extra_Holes()
The hole cut I did not use for my version was Extra_Holes().
If you want to adjust case mount locations (which I had to adjust when I cut the Extra_Holes), the variables to adjust in both the top & base scad file are:
CM_X_Offset = 15.25; //1st Case Mount X OffsetCM_X1_Offset = Len - 47; //2nd Case Mount X Offset
The variable to adjust in the MKS_sBase_Base_V2_Rev29.scad file for the Base Mount if you are going to screw this down to a surface is:
BM_X_Offset = Len / 2 + 10; //Base Mount X Offset
If you want to make the side slot holes longer or shorter, the variable for that in MKS_sBase_Top_V2_Rev29.scad is:
Side_Hole_Dist = 24;
If you want to change the location or size of fan holes, the variables in MKS_sBase_Top_V2_Rev29.scad are:
FanCut_Type = 1; //0 = Round Opening, 1 = Hex pattern openingFanCut_Z_Offset = 23.5; //Offset from top for Fan cutoutsFanHole_OD = 38; //Diameter opening for Fan hole
//Not used if FanType = 1FanHole_Spacing = 32; //Spacing Between Fan Holes (32mm works for 40mm fan)
If you use a different size fan than a 40mm, the hex pattern opening will not work unless you adjust it in the dxf file.
I used 2.5mm for the thickness of the base, but if you want to change that, the variable in MKS_sBase_Base_V2_Rev29.scad is:
Base_Ht = 2.5;
If you change the variable much thicker, you might also want to change the variable:
Bump_Z_Ht = 4; //Start height of bottom Bump
I used yellow eSun PETG, since that was the best color I had laying around.
My print stats are:
Base: 1.58oz & print time of 3:31:01 at 20%infill
Top: 3.3oz & print time of 8:08:11 at 20%infill
If you need further clarification or I missed something, just leave a comment.