summaryrefslogtreecommitdiff
path: root/models/tiles.scad
blob: f325d1d14277ecd336879dac8372e334a6e354e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
suite="arms";
value="arms";

module tile(suite,value) {
    union() {
        difference(){
            translate([0,0,0.4]) cube([50,50,4.6]);
            translate([0,0,4]) linear_extrude(height=2) 
                import(str("../graphics/",value,".dxf"));
            translate([2,38,4]) linear_extrude(height=2) scale(0.2) import(str("../graphics/",suite,".dxf"));
            }
        cube([24.5,24.5,1]);
        translate([25.5,0,0]) cube([24.5,24.5,1]);
        translate([0,25.5,0]) cube([24.5,24.5,1]);
        translate([25.5,25.5,0]) cube([24.5,24.5,1]);
    }
}

tile(suite,value);