CEB Press v16.09/SCAD Files

From Open Source Ecology
< CEB Press v16.09
Revision as of 06:50, 5 January 2017 by Dorkmo (talk | contribs) (Created page with "'''work in progress''' creating an OpenSCAD replica of v16.09 =Frame= ==F1== <nowiki> F1x=24.2; F1y=6; F1z=0.25; $fn=20; //render final model at 100 projection(cut = tr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

work in progress

creating an OpenSCAD replica of v16.09

Frame

F1

F1x=24.2;
F1y=6;
F1z=0.25;
$fn=20;  //render final model at 100

projection(cut = true) //use projection to create 2D DXF files
difference(){
translate([-(F1x/2),0,0])
cube([F1x,F1y,F1z]);
translate([-(F1x/2),0,0])
cuts();
translate([(F1x/2),0,0])
mirror([1,0,0])
cuts();
} //end difference
module cuts(){
        cube([0.5,0.5,F1z]);
    translate([0.5,0,0])
        cube([0.7875,0.625,F1z]);
    translate([0,F1y-0.25,0])
        cube([0.4,0.25,F1z]);
    translate([2.2875,F1y-0.5,0])
        cube([1.125,0.5,F1z]);
    translate([11.0375,0,0])
        cube([0.8125,0.625,F1z]);
    translate([11.85,0,0])
        cube([0.25,0.5,F1z]);
    translate([3.6,1.5,0])
        cylinder(h = F1z, r = 0.375);   
    translate([3.6,4.5,0])
        cylinder(h = F1z, r = 0.375);
    translate([6.1925,2.465,0])
        cylinder(h = F1z, r = 0.6);     
} //end module