2017-12-04 23:03:10 +01:00
|
|
|
module aiguillage(){
|
|
|
|
translate([-100,50,0])
|
|
|
|
difference(){
|
|
|
|
union(){
|
|
|
|
|
|
|
|
linear_extrude (height=2)
|
|
|
|
import (file="rails.dxf", layer="aiguillages-traverses", $fn=100);
|
|
|
|
|
|
|
|
linear_extrude (height=4.5)
|
|
|
|
import (file="rails.dxf", layer="aiguillages", $fn=100);
|
2017-12-05 22:03:42 +01:00
|
|
|
translate([107.8,0,0.001])
|
|
|
|
cube([4.4,10,20]);
|
|
|
|
translate([107.8 + 20.4 ,0,0.001])
|
|
|
|
cube([4.4,10,20]);
|
2017-12-04 23:03:10 +01:00
|
|
|
}
|
2017-12-05 22:03:42 +01:00
|
|
|
union(){
|
|
|
|
//espacement pour faire coulisser la traverse
|
2017-12-04 23:03:10 +01:00
|
|
|
translate([117.8,27.2,0])
|
2017-12-05 22:03:42 +01:00
|
|
|
#cube([4.4,46,2.2]);
|
|
|
|
//nut hole
|
|
|
|
translate([100,5,15])
|
|
|
|
rotate([0,90,0])
|
|
|
|
cylinder( h=70, r=1.5, , $fn=100);
|
|
|
|
|
|
|
|
}
|
2017-12-04 23:03:10 +01:00
|
|
|
}
|
|
|
|
}
|
2017-12-05 22:03:42 +01:00
|
|
|
|
|
|
|
module aiguilles(){
|
|
|
|
translate([-100,50,0])
|
|
|
|
difference(){
|
|
|
|
union(){
|
|
|
|
|
|
|
|
translate([0,0,2.01])
|
|
|
|
linear_extrude (height=2.5)
|
|
|
|
import (file="rails.dxf", layer="aiguillages-movables-parts", $fn=100);
|
|
|
|
|
|
|
|
linear_extrude (height=2.02)
|
|
|
|
import (file="rails.dxf", layer="aiguilles-down", $fn=100);
|
|
|
|
|
|
|
|
translate([117.8,0,0.001])
|
|
|
|
cube([4.4,10,5]);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
//nut hole
|
|
|
|
translate([100,5,2])
|
|
|
|
rotate([0,90,0])
|
|
|
|
cylinder( h=70, r=1.5, , $fn=100);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-04 23:03:10 +01:00
|
|
|
aiguillage();
|
2017-12-05 22:03:42 +01:00
|
|
|
//aiguilles();
|
2017-12-04 23:03:10 +01:00
|
|
|
|