OpenSCAD, Customizable PCB housing

OpenSCAD, Customizable PCB housing

thingiverse

Housing that can be customized to fit my unique PCB sizes. Edit the OpenSCAD file: - Set generate_upper = 1 to create upper box half - Set generate_lower = 1 to create lower box half Or set both to create both parts side by side Define the size of your PCB including top component height : pcb = [45,68,15]; and the thickness of the bare pcb (for claming): pcb_height = 2; Wall thickness can be adjusted with - owt = 3; // outer wall thickness - iwt = 2; // inner wall thickness You can add as many drills in the side wall as you like by filling these vectors: - cable_drills = 3; // radius (!) of the drills - y_drills_bot = [-22.25,30]; // positions list on the bottom - y_drills_top = []; // positions list on the top - x_drills_left = []; // positions list on the left side - x_drills_right = []; // positions list on the right side The position is around the center, so e.g. -10 is left, 10mm of the center The lower box holds the pcb, to clamp it down four clamping blocks are defined. Adjustable with these settings: - with_clamping= 1; // set to 1 if you want four claming blocks - clamp_size = 4; // size of the clamping block - clamp_size_drill = 1; // radius(!) of the drill in the clamping block Additionally, you can define the space for components on the bottom and the amount of support below the board: - space_below = 3; // free space under the PCB, e.g. for bottom side components - extra_standups = 0; // number of extra standoffs under the pcb, increase for large pcb's The top half only has one parameter, that is the radius of the drills. Smaller drill radius results in more drills. Setting the radius to 0 will result in no drills at all. - lid_drill=2; // radius (!) of the drills in the top, set to 0 for no drills <b>update: 2018/10/08</b> - Added shrinkage parameter to compensate for too small lids. Don't use big values, here. A value of 0.25 will increase the cutout of the lid by 0.5 (0.25 left + 0.25 right). - added with_flange parameter. Setting it to 1 will add some screw helper to the lower box. as shown in one of the uploaded stl files Happy printing.

Download Model from thingiverse

With this file you will be able to print OpenSCAD, Customizable PCB housing with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on OpenSCAD, Customizable PCB housing.