48 lines
1.6 KiB
OpenSCAD
48 lines
1.6 KiB
OpenSCAD
$fn = 60;
|
||
|
||
include <BOSL2/std.scad>
|
||
|
||
// hausse
|
||
color("yellow") {
|
||
difference() {
|
||
cuboid([70,13.2,4.9], rounding=1) attach(BOT) textured_tile("trunc_ribs", [50,12], tex_reps=[20,10], diff=true);
|
||
translate([0,0,-3]) cuboid([50,8,1.1]);
|
||
translate([-25,-4,1.5]) text3d("| 100 | 75 | 50 | 25 |", h=2, size=3);
|
||
}
|
||
translate([-33.5,0,0]) ycyl(l=22, d=3);
|
||
translate([37,0,5.5]) difference() {
|
||
ycyl(l=27, d=16, rounding=1);
|
||
translate([-9.5,0,3.5]) scale([1,1,.4]) ycyl(l=30, d=33);
|
||
translate([0,0,2]) cuboid([20,5,3]);
|
||
translate([0,0,4]) cuboid([20,30,3]);
|
||
}
|
||
}
|
||
|
||
// boutons
|
||
color("blue", alpha=.7) translate([0,0,-1.5]) {
|
||
difference() {
|
||
union() {
|
||
cuboid([8,21,6.5], rounding=1);
|
||
* cuboid([11,26,6], rounding=1);
|
||
}
|
||
translate([0,0,1.75]) cuboid([22,14,8.2], rounding=1);
|
||
translate([0,0,-3]) cuboid([22,8,3], rounding=-1.5);
|
||
}
|
||
translate([0,-5,-2.3]) textured_tile("trunc_ribs", [6,2], tex_reps=[3,1], diff=true);
|
||
translate([0,5,-2.3]) textured_tile("trunc_ribs", [6,2], tex_reps=[3,1], diff=true);
|
||
}
|
||
|
||
// curseur
|
||
color("red", alpha=.5) translate([0,0,-1.5]) {
|
||
difference() {
|
||
union() {
|
||
cuboid([14,22,10], rounding=1);
|
||
cuboid([11,26,6], rounding=1);
|
||
}
|
||
translate([0,0,.75]) cuboid([20,14,5.75], rounding=1);
|
||
translate([0,0,-1]) cuboid([20,8,9], rounding=1);
|
||
cuboid([10.25,25,5.25], rounding=1);
|
||
cuboid([11,20,7], rounding=1);
|
||
translate([0,-3,3.5]) zcyl(l=2, d=5);
|
||
}
|
||
} |