A Handy Printout

In my camper I have a very old WD TVLive Media player. I say old because they stopped making them over a decade ago. It has several limitations but one is being able to read a maximum of 2TB HDD. Until now the HDD have either been velcro’d down but I decided to make a container that will hold the three I have.

First I designed the basic shape in OpenScad:

HDD Holder

This was the code:

// HHD Holder for Camper

//Variables

thk=3;       //Thickness of walls
hddwide=82;  //width of HDD
hdd1=21;     //depth of HDD TV Disk 1
hdd2=15;     //depth of HDD Movie and TV Disk2
hdd3=12.5;   //depth of HDD Movie and TV Disk2
hddhite=110; //Height of HDD
tot=110;     //total height
scrw=5;      //screw diameter
scrwhd=6.6;  //Screw head diameter
fit=2;       //Fit allowance

fxrad=scrwhd; //fixing width
wide=hddwide+fit;
dep1=hdd1+fit;
dep2=hdd2+fit;
dep3=hdd3+fit;
hite=hddhite*0.7;

//End variables

$fn=60;

translate([0,0,0])container(dep1);
translate([0,dep1+thk,0])container(dep2);
translate([0,dep1+dep2+(thk*2),0])container(dep3);


//Mounting
translate([(wide+(thk*2)),0,scrw+hite+thk]){
    rotate([0,90,90]){
        difference(){
            translate([0,0,0])fixing();
            translate([0,0,-1])cylinder(thk*2,d=scrw);  
            translate([0,wide+(thk*2),-1])cylinder(thk*2,d=scrw) ;
        }   
    }        
}
module fixing(){
   
     
        hull(){
            translate([0,0,0])cylinder(thk,r=fxrad);  
            translate([0,wide+(thk*2),0])cylinder(thk,r=fxrad) ;   
        }
    }

module container(hdd){

difference(){
    cube([wide+(thk*2),hdd +(thk*2),hite+thk]);
     translate([thk,thk,thk])cube([wide,hdd,(hite)+1]);
}
}

I made a couple of test pieces to check for fit and make the appropriate adjustments in the code before printing the final object.

.

Not elegant but practical

2 Likes

That’s brilliant, Bruce! I have always been impressed by 3D printing and the possibilities someone could make.

Looks great :smiley:

1 Like

Magic innit!

2 Likes

Looks good …and interesting to do.

1 Like

Hey, that turns out great!

I took a peek at OpenScad; lots of tutorials and code that seems logical.

Thanks; have learned quite a bit.

Yes I find Openscad logical and it is amazing what can be made with so few commands. It does have its own way of doing things.

Personally I have just been coming to grips with modules and passing values to them. You can see that in action in the code above.

As you say there are lots of excellent tutorials on YouTube and what is not to like about free open source software? I think I enjoy designing the object much more than actually printing it out and I have to remember that is the actual point :smile:

I buy different coloured filament to make it easier to see when a new one has loaded and keep meaning to buy spray cans to colour the items otherwise I will end up with an array of gaudy plastic objects in my camper (for example). I am wondering if I should just buy white, black and clear filament.

1 Like