pieces dans des modules openscad afin de pouvoir les utiliser plus facilement dans d'autres fichiers

master
Gnieark 9 years ago
parent e2502eb7f1
commit 40548159d2

@ -12,29 +12,30 @@ by moebiuseye
License GNU-GPL
*/
fixationEndStop();
// Fixation
color([0,0,1])
difference() {
linear_extrude(height=10)
union() {
translate([9.5,1.7,0])
square([16.1,5.9]);
translate([13.1,-3.1])
square([8.7,7]);
translate([0,-3.1])
square([26.8,2.9]);
}
color([1,0,0])
translate([5,0,0])
union(){
//screw holes
translate([0 ,5 ,3.2])rotate([90,0,0]) cylinder(r=1.5,h=10,$fn=50);
translate([19,1 ,3.2])rotate([90,0,0]) cylinder(r=1.5,h=10,$fn=50);
translate([14.2 ,10,3.2])rotate([90,0,0]) cylinder(r=1.5,h=20,$fn=50);
}
module fixationEndStop(){
color([0,0,1])
difference() {
linear_extrude(height=10)
union() {
translate([9.5,1.7,0])
square([16.1,5.9]);
translate([13.1,-3.1])
square([8.7,7]);
translate([0,-3.1])
square([26.8,2.9]);
}
color([1,0,0])
translate([5,0,0])
union(){
//screw holes
translate([0 ,5 ,3.2])rotate([90,0,0]) cylinder(r=1.5,h=10,$fn=50);
translate([19,1 ,3.2])rotate([90,0,0]) cylinder(r=1.5,h=10,$fn=50);
translate([14.2 ,10,3.2])rotate([90,0,0]) cylinder(r=1.5,h=20,$fn=50);
}
}
}
/*
// For testing / editing

@ -11,57 +11,59 @@
* Gnieark https://blog-du-grouik.tinad.fr
*
*/
glissement();
module glissement(){
difference(){
union(){
//Profils de la pièce
linear_extrude (height=7.5)
import (file="profil-axe.dxf", layer="guides-profil-pour-3D", $fn=100);
translate( [0,0,7.499]) linear_extrude (height=5.001)
import (file="profil-axe.dxf", layer="guides-profil-pour-3D2", $fn=100);
difference(){
union(){
//Profils de la pièce
linear_extrude (height=7.5)
import (file="profil-axe.dxf", layer="guides-profil-pour-3D", $fn=100);
translate( [0,0,7.499]) linear_extrude (height=5.001)
import (file="profil-axe.dxf", layer="guides-profil-pour-3D2", $fn=100);
translate( [0,0,12.499]) linear_extrude (height=7.5)
import (file="profil-axe.dxf", layer="guides-profil-pour-3D", $fn=100);
translate( [0,0,12.499]) linear_extrude (height=7.5)
import (file="profil-axe.dxf", layer="guides-profil-pour-3D", $fn=100);
//les déborts pour appuyer sur la tranche des roulements à billes
translate([-5,31.5,5]) rotate([90,0,0]) bumpForBearing();
translate([-5,9.5,15]) rotate([90,0,0]) bumpForBearing();
translate([40,31.5,15]) rotate([90,0,0]) bumpForBearing();
translate([40,9.5,5]) rotate([90,0,0]) bumpForBearing();
translate([3.5,-5,5]) rotate([90,0,90]) bumpForBearing();
translate([25.5,-5,15]) rotate([90,0,90])bumpForBearing();
translate([3.5,40,15]) rotate([90,0,90]) bumpForBearing();
translate([25.5,40,5]) rotate([90,0,90]) bumpForBearing();
}
union(){
//trous pour les vis de fixation des roulements
translate([-20,-5,5]) rotate([90,0,90]) cylinder(r=1.5,h=35,$fn=50);
translate([20,-5,15]) rotate([90,0,90]) cylinder(r=1.5,h=35,$fn=50);
translate([-20,40,15]) rotate([90,0,90]) cylinder(r=1.5,h=35,$fn=50);
translate([20,40,5]) rotate([90,0,90]) cylinder(r=1.5,h=35,$fn=50);
//les déborts pour appuyer sur la tranche des roulements à billes
translate([-5,31.5,5]) rotate([90,0,0]) bumpForBearing();
translate([-5,9.5,15]) rotate([90,0,0]) bumpForBearing();
translate([40,31.5,15]) rotate([90,0,0]) bumpForBearing();
translate([40,9.5,5]) rotate([90,0,0]) bumpForBearing();
translate([3.5,-5,5]) rotate([90,0,90]) bumpForBearing();
translate([25.5,-5,15]) rotate([90,0,90])bumpForBearing();
translate([3.5,40,15]) rotate([90,0,90]) bumpForBearing();
translate([25.5,40,5]) rotate([90,0,90]) bumpForBearing();
}
union(){
//trous pour les vis de fixation des roulements
translate([-20,-5,5]) rotate([90,0,90]) cylinder(r=1.5,h=35,$fn=50);
translate([20,-5,15]) rotate([90,0,90]) cylinder(r=1.5,h=35,$fn=50);
translate([-20,40,15]) rotate([90,0,90]) cylinder(r=1.5,h=35,$fn=50);
translate([20,40,5]) rotate([90,0,90]) cylinder(r=1.5,h=35,$fn=50);
translate([-5,20,5]) rotate([270,0,0]) cylinder(r=1.5,h=35,$fn=50);
translate([-5,-20,15]) rotate([270,0,0]) cylinder(r=1.5,h=35,$fn=50);
translate([40,20,15]) rotate([270,0,0]) cylinder(r=1.5,h=35,$fn=50);
translate([40,-20,5]) rotate([270,0,0]) cylinder(r=1.5,h=35,$fn=50);
translate([-5,20,5]) rotate([270,0,0]) cylinder(r=1.5,h=35,$fn=50);
translate([-5,-20,15]) rotate([270,0,0]) cylinder(r=1.5,h=35,$fn=50);
translate([40,20,15]) rotate([270,0,0]) cylinder(r=1.5,h=35,$fn=50);
translate([40,-20,5]) rotate([270,0,0]) cylinder(r=1.5,h=35,$fn=50);
//trous élargis pour les têtes des vis
translate([-20,-5,5]) rotate([90,0,90]) cylinder(r=4,h=20,$fn=50);
translate([38,-5,15]) rotate([90,0,90]) cylinder(r=4,h=20,$fn=50);
translate([-20,40,15]) rotate([90,0,90]) cylinder(r=4,h=20,$fn=50);
translate([38,40,5]) rotate([90,0,90]) cylinder(r=4,h=20,$fn=50);
//trous élargis pour les têtes des vis
translate([-20,-5,5]) rotate([90,0,90]) cylinder(r=4,h=20,$fn=50);
translate([38,-5,15]) rotate([90,0,90]) cylinder(r=4,h=20,$fn=50);
translate([-20,40,15]) rotate([90,0,90]) cylinder(r=4,h=20,$fn=50);
translate([38,40,5]) rotate([90,0,90]) cylinder(r=4,h=20,$fn=50);
translate([-5,38,5]) rotate([270,0,0]) cylinder(r=4,h=20,$fn=50);
translate([40,38,15]) rotate([270,0,0]) cylinder(r=4,h=20,$fn=50);
translate([-5,38,5]) rotate([270,0,0]) cylinder(r=4,h=20,$fn=50);
translate([40,38,15]) rotate([270,0,0]) cylinder(r=4,h=20,$fn=50);
translate([-5,-22,15]) rotate([270,0,0]) cylinder(r=4,h=20,$fn=50);
translate([40,-22,5]) rotate([270,0,0]) cylinder(r=4,h=20,$fn=50);
translate([-5,-22,15]) rotate([270,0,0]) cylinder(r=4,h=20,$fn=50);
translate([40,-22,5]) rotate([270,0,0]) cylinder(r=4,h=20,$fn=50);
//trou vis rotule
translate([-40,52,10])rotate([90,0,90]) cylinder(r=1.5,h=120,$fn=50);
//trou vis rotule
translate([-40,52,10])rotate([90,0,90]) cylinder(r=1.5,h=120,$fn=50);
}
}
}
}
module bumpForBearing(){
translate([0,0,-0.999])cylinder (r=3, h=1,$fn=50);

@ -1,2 +1,33 @@
/*
* ReprapJeanne V2
*
* Vue de la structure de la reprap
*
* Copyleft (see license file):
* hackerspace Jeanne d'Hack http://www.jeannedhack.org
* Gnieark https://blog-du-grouik.tinad.fr
*
*/
linear_extrude (height=2000)
import (file="profil-axe.dxf", layer="0", $fn=100);
import (file="baseImprimante3d.dxf", layer="axes", $fn=100);
translate([0,0,100])
linear_extrude (height=10)
import (file="baseImprimante3d.dxf", layer="0", $fn=100);
/*
translate([0,0,1990])
linear_extrude (height=10)
import (file="baseImprimante3d.dxf", layer="0", $fn=100);
*/
translate([0,0,5])
linear_extrude (height=35)
import (file="baseImprimante3d.dxf", layer="liteaux", $fn=100);
translate([0,0,1965])
linear_extrude (height=35)
import (file="baseImprimante3d.dxf", layer="liteaux", $fn=100);

@ -1,16 +1,20 @@
/* Reprap jeanne
* noyau de fixation entre le systeme de glissement et les biellettes
*/
$fn=200;
difference(){
union(){
translate ([0,0,12]) sphere(7);
translate ([0,0,4]) sphere(7);
translate ([0,0,3.99]) cylinder(r=7,h=8.02);
}
union(){
translate([0,8,12]) rotate([90,0,0]) cylinder(r=1.8,h=16);
translate([-8,0,4]) rotate([90,90,90]) cylinder(r=1.8,h=16);
translate([-10,-10,-10]) cube([20,20,10]);
}
}
rotule();
module rotule(){
difference(){
union(){
translate ([0,0,12]) sphere(7);
translate ([0,0,4]) sphere(7);
translate ([0,0,3.99]) cylinder(r=7,h=8.02);
}
union(){
translate([0,8,12]) rotate([90,0,0]) cylinder(r=1.8,h=16);
translate([-8,0,4]) rotate([90,90,90]) cylinder(r=1.8,h=16);
translate([-10,-10,-10]) cube([20,20,10]);
}
}
}

@ -1,33 +0,0 @@
/*
* ReprapJeanne V2
*
* Vue de la structure de la reprap
*
* Copyleft (see license file):
* hackerspace Jeanne d'Hack http://www.jeannedhack.org
* Gnieark https://blog-du-grouik.tinad.fr
*
*/
linear_extrude (height=2000)
import (file="baseImprimante3d.dxf", layer="axes", $fn=100);
translate([0,0,100])
linear_extrude (height=10)
import (file="baseImprimante3d.dxf", layer="0", $fn=100);
/*
translate([0,0,1990])
linear_extrude (height=10)
import (file="baseImprimante3d.dxf", layer="0", $fn=100);
*/
translate([0,0,5])
linear_extrude (height=35)
import (file="baseImprimante3d.dxf", layer="liteaux", $fn=100);
translate([0,0,1965])
linear_extrude (height=35)
import (file="baseImprimante3d.dxf", layer="liteaux", $fn=100);
Loading…
Cancel
Save