pièces mises en modules openscad pour qu'elles puissent être réutilisées dans le fichier de dessin global de l'imprimante all.scad (en cours de création)

master
Gnieark 9 years ago
parent 0ebcffd65c
commit da5ca7e619

@ -0,0 +1,21 @@
//structure plateaux et axes
linear_extrude (height=5)
import (file="plateau-axes.dxf", layer="plateau", $fn=100);
linear_extrude (height=2000)
import (file="plateau-axes.dxf", layer="axes", $fn=100);
translate([0,0,2000])
linear_extrude (height=5)
import (file="plateau-axes.dxf", layer="plateau", $fn=100);
use <bas-de-l-axe-plus-petit.scad>;
translate([723,4.4,5])
rotate ([0,0,60])
color([1,0,0])
pied_de_l_axe_petit();
translate([385,626,5])
rotate ([0,0,180])
color([1,0,0])
pied_de_l_axe_petit();

@ -12,36 +12,38 @@ By Gnieark https://blog-du-grouik.tinad.fr
License GNU-GPL V3
*/
pied_de_l_axe_petit();
linear_extrude (height=4.01)
import (file="all.dxf", layer="foot-profil-0-4", $fn=100);
difference(){
union(){
translate([0,0,4])
linear_extrude (height=23)
import (file="all.dxf", layer="foot-profil-4-40", $fn=100);
translate([13.5,43,16])
rotate([0,90,0])
unCone();
translate([6.5,43,16])
rotate([180,90,0])
unCone();
}
union(){
translate([-10,43,16])
rotate([90,0,90])
#cylinder(r=4,$fn=50, h=50);
difference(){
translate([-10,43,16])rotate([90,0,90]) cylinder(r=20,h=40,$fn=50);
union(){
translate([-11,43,16]) rotate([90,0,90]) cylinder(r=11.1,h=42,$fn=100);
translate([-11,13,0]) cube([42,30,30]);
translate([-11,40,0]) cube([42,30,16]);
module pied_de_l_axe_petit(){
linear_extrude (height=4.01)
import (file="all.dxf", layer="foot-profil-0-4", $fn=100);
difference(){
union(){
translate([0,0,4])
linear_extrude (height=23)
import (file="all.dxf", layer="foot-profil-4-40", $fn=100);
translate([13.5,43,16])
rotate([0,90,0])
unCone();
translate([6.5,43,16])
rotate([180,90,0])
unCone();
}
union(){
translate([-10,43,16])
rotate([90,0,90])
cylinder(r=4,$fn=50, h=50);
difference(){
translate([-10,43,16])rotate([90,0,90]) cylinder(r=20,h=40,$fn=50);
union(){
translate([-11,43,16]) rotate([90,0,90]) cylinder(r=11.1,h=42,$fn=100);
translate([-11,13,0]) cube([42,30,30]);
translate([-11,40,0]) cube([42,30,16]);
}
}
}
}
}
module unCone(){
cylinder (r1=5, r2=6, h=1, $fn=50);
translate([0,0,0.999]) cylinder (r=8, h=1, $fn=100);

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save