35 lines
522 B
OpenSCAD
35 lines
522 B
OpenSCAD
|
module axe_guidon (){
|
||
|
translate([0,0,-50])
|
||
|
cylinder(h=100, r=38/2);
|
||
|
}
|
||
|
|
||
|
module ouverture (){
|
||
|
translate ([0,0,-25])
|
||
|
linear_extrude(height = 50)
|
||
|
polygon(points=[[17,0],[-17,0], [-25,25], [25,25]]);
|
||
|
}
|
||
|
|
||
|
module corps (){
|
||
|
translate([0,10,0])
|
||
|
rotate([90,0,0])
|
||
|
cylinder(h=40,r=25);
|
||
|
}
|
||
|
|
||
|
module encoche (h){
|
||
|
translate([-30,-62,h])
|
||
|
cube (size=[60,40,2.7]);
|
||
|
}
|
||
|
|
||
|
module velo() {
|
||
|
difference (){
|
||
|
corps ();
|
||
|
axe_guidon ();
|
||
|
ouverture();
|
||
|
encoche(14);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
$fn=500;
|
||
|
translate ([0,0,30])
|
||
|
rotate ([90,0,0])
|
||
|
velo ();
|