Please visit http://OpenSCAD.DIY3DTech.com for more information on this and many other projects! As in this episode we will be 3D printed the dual outlet socket cover the utility box we designed and printed in the last episode!
Warning line voltages can kill, use care with working with electricity and ensure you DO NOT use conductive material for any project which electricity.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
/* * Open SCAD Name.: Rounded Cover * Copyright (c)..: 2016 www.DIY3DTech.com * * Creation Date..:04/15/2016 * Discription....: Dual utility box cover * * Rev 1: Developed Model * Rev 2: * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * If used commercially attribution is required (OpenSCAD.DIY3DTech.com) * */ /*------------------Customizer View-------------------*/ // None /*---------------------Parameters---------------------*/ plate_width = 114.3; plate_height = 114.3; plate_thickness = 3; brim_width = 2; brim_height = 4; /*-----------------------Execute----------------------*/ round_utility_box_cover(); /*-----------------------Modules----------------------*/ module round_utility_box_cover(){ difference(){ union(){ //create plate cube([plate_width,plate_height,plate_thickness],center=true); brim(plate_width,plate_height,plate_thickness,brim_width,brim_height,true); }//end union //left socket assembly //top left socket translate([-23,-19.25,0]) round_outlet(); //left outlet screw hole translate ([-23,0,0]) cylinder(plate_thickness+2,1.6,3.3,$fn=60,center=true); //bottom left socket translate([-23,19.25,0]) round_outlet(); //right socket assembly //top right socket translate([23,-19.25,0]) round_outlet(); //right outlet screw hole translate ([23,0,0]) cylinder(plate_thickness+2,1.6,3.3,$fn=60,center=true); //bottom right socket translate([23,19.25,0]) round_outlet(); }//end difference }//end module round_utility_box_cover() module round_outlet(){ difference(){ // To create the offset to clip top and bottom of the circle // the offset has to include half of the clip itself or // in other words (3.175/2) //create circle (34.2mm dia) for main body of socket translate ([0,0,0]) cylinder(plate_thickness+2,(34.925/2),(34.925/2),$fn=60,center=true); //nip off top corner to create outlet shape translate ([0,(28.575/2)+(3.175/2),0]) cube([34.925,3.5,plate_thickness+2],center=true); //nip off bottom corner to create outlet shape translate ([0,-(28.575/2)-(3.175/2),0]) cube([34.925,3.5,plate_thickness+2],center=true); }//end differance }//end module round_outlet() module brim(brim_w,brim_h,brim_d,offset_width,offset_height,brim_center) { difference(){ //create solid cube for brim translate([0,0,-offset_height/2]) rotate([0,0,0]) cube([brim_w,brim_h,brim_d+offset_height],center=brim_center); //remove center of cube for brim translate([0,0,-offset_height/2]) rotate([0,0,0]) cube([brim_w-offset_width,brim_h-offset_width,(brim_d*2)+offset_height],center=brim_center); }//end differance } /*----------------------End Code----------------------*/ |
If your looking for looking 3D Printer, Laser Cutter and CNC Swag (T-Shirts, Hats, Mugs, etc), please support the channel by visiting our online shop at: http://swag.DIY3DTech.com
Also subscribe to our parent YouTube Channel DIY3DTech.com YouTube Channel for 3D Printing, Laser Manufacturing and CNC Machining: http://YouTube.DIY3DTech.com
More Ideas!
OpenSCAD – Designing a Compression Cover!
OpenSCAD – Designing a Pressure Fit Endcap!
Open SCAD – Complex Flange Designer!