As in this episode we will be designing a compartment separator to upcycle old pill bottle from the pharmacy. As I hate seeing these things end up in a landfill yet what do you do them as they can quickly litter you shop so I came up with this neat little separator! We also printed this out on our BIQU Magician Lipstick-Sized Delta Rostock 3D Printer(see more here: http://amzn.to/2sBRxL1)
Check out these deals!
Amazing BIG Kit printer……: http://diy3dtech.com/gearbest-tronxy-x5s-high-precision-large-scale-3d-printer/
Original Gearbest version…: http://diy3dtech.com/gearbest-cr-10-super-large-3d-printer/
Best Deals on a Creality……: http://diy3dtech.com/creality-cr-10-best-deals/
Have you been bitten……….: http://diy3dtech.com/gearbest-tevo-black-widow-3d-printer-kit/
Have you seen this…………..: http://diy3dtech.com/gearbest-tronxy-x1-desktop-3d-printer/
Best Small Kit Deal…………..: http://diy3dtech.com/tevo-tarantula/
Creality CR-10 Killer………….: http://diy3dtech.com/gearbest-jgaurora-a5-updated-high-accuracy-3d-printer/
Better then Monoprice Mini…: http://diy3dtech.com/geeetech-e180-mini-3d-printer/
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 |
/* Open SCAD Name.: med_bottle_sep_v1.scad * Copyright (c)..: 2017 www.DIY3DTech.com * * Creation Date..: 02/16/2018 * Description....: parametric seperator for pill bottle * * Rev 1: Develop 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. * * Note: the programing concepts within are shared openly in the hopes of educating * and training and can be used commercially. However the completed object itself * created as a result of this code remains the sole intellectual property of Campbell * and Company Publishing LLC. If you have an interested in producing or using the * end product in a commercial application, please contact us at info@diy3dtech.com * for licensing possibilities. * */ /*------------------Customizer View-------------------*/ // preview[view:north, tilt:top] /*---------------------Parameters---------------------*/ //(1) Diameter of bottle in mm bot_dia = 29.0; //[20:0.5:50] //(2) Seperator height in mm sep_height = 53; //[10:1:100] //(3) Number of compartments compartments = 4; //[2:1:6] //(4) Wall thinkness in mm wall_thick = 2; //[1:0.5:5] //(5) Length of stem above seperator in mm stem = 7; //[2:1:15] //(6) Diameter of stem in mm stem_dia = 3; //[1:1:5] /*-----------------------Execute----------------------*/ main_module(); /*-----------------------Modules----------------------*/ module main_module(){ //create module difference() { union() {//start union //create step variable x=360/(compartments); //create base translate ([0,0,wall_thick/2]) rotate ([0,0,0]) cylinder(wall_thick,bot_dia/2,bot_dia/2,$fn=60,true); //create center translate ([0,0,(sep_height+(stem-1))/2]) rotate ([0,0,0]) cylinder((sep_height+(stem-1)), stem_dia/2,stem_dia/2,$fn=60,true); //create top translate ([0,0,((sep_height+stem)-stem_dia)]) sphere($fn = 60, $fa = 12, $fs = 2, r = stem_dia); //set up for loop for (a =[0:x:360]){//start for loop //create compartment translate ([0,0,sep_height/2]) rotate ([0,0,a]) cube([bot_dia,2,sep_height],true); }//end for loop } //end union //start subtraction of difference } //end difference }//end module /*----------------------End Code----------------------*/ |
Please visit http://OpenSCAD.DIY3DTech.com for more information on this and many other projects!
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!