75 lines
No EOL
1.8 KiB
OpenSCAD
75 lines
No EOL
1.8 KiB
OpenSCAD
include <../lasercut-master/lasercut.scad>;
|
|
|
|
$fn=60;
|
|
thickness = 3.1;
|
|
x = 50;
|
|
y = 3*50;
|
|
|
|
//1x Boden
|
|
//2x Wand 1
|
|
//3x Wand 2
|
|
//2x Wand 3
|
|
//1x Wand 4
|
|
//2x Dach 1
|
|
//2x Dach 2
|
|
//1x Dach 3
|
|
//1x Dach 4
|
|
|
|
|
|
//Hauswand 1
|
|
points1 = [[0,0], [x,0], [x,y] , [0,y]];
|
|
translate ([150,0,0])lasercutout(thickness=thickness, points = points1,
|
|
bumpy_finger_joints=[
|
|
[LEFT, 1, 12],
|
|
[RIGHT, 1, 12],
|
|
[DOWN, 1, 4]
|
|
]
|
|
);
|
|
points2 = [[0,0], [x,0], [x/2,0.3*y]];
|
|
translate ([150,150,0])lasercutout(thickness=thickness, points = points2
|
|
);
|
|
|
|
//Hauswand 2
|
|
lasercutoutSquare(thickness=thickness, x=x, y=y,
|
|
finger_joints=[
|
|
[LEFT, 1, 12],
|
|
[RIGHT, 1, 12],
|
|
[DOWN, 1, 4]
|
|
]
|
|
);
|
|
|
|
//Hauswand 3
|
|
translate([250,0,0])lasercutoutSquare(thickness=thickness, x=150, y=y,
|
|
finger_joints=[
|
|
[LEFT, 1, 12],
|
|
[RIGHT, 1, 12],
|
|
[DOWN, 1, 12]
|
|
]
|
|
);
|
|
//Hauswand 4
|
|
translate([450,0,0])lasercutoutSquare(thickness=thickness, x=25, y=y,
|
|
finger_joints=[
|
|
[LEFT, 1, 12],
|
|
[RIGHT, 1, 12],
|
|
[DOWN, 1, 2]
|
|
]
|
|
);
|
|
|
|
//Dach1
|
|
points3 = [[0,0], [50,50*0.75], [150,50*0.75], [150,0]];
|
|
translate ([250,200,0])lasercutout(thickness=thickness, points = points3
|
|
);
|
|
|
|
//Dach2
|
|
points4 = [[0,0], [-50,50*0.75], [50,50*0.75], [50,0]];
|
|
translate ([500,200,0])lasercutout(thickness=thickness, points = points4
|
|
);
|
|
//Dach3
|
|
points5 = [[0,0], [7,64], [56-7,64], [56,0]];
|
|
translate ([250,300,0])lasercutout(thickness=thickness, points = points5
|
|
);
|
|
|
|
//Dach4
|
|
points6 = [[0,0], [-7,64], [25+7,64], [25,0]];
|
|
translate ([400,300,0])lasercutout(thickness=thickness, points = points6
|
|
); |