Init
This commit is contained in:
parent
e9996115cf
commit
012db8318a
4 changed files with 120 additions and 0 deletions
50
Deckel.scad
Normal file
50
Deckel.scad
Normal file
|
@ -0,0 +1,50 @@
|
|||
// Parameter
|
||||
res=200; // Auflösung
|
||||
d=120; // Durchmesser
|
||||
a=10; // Ringdicke
|
||||
b=10; // Ringhöhe
|
||||
|
||||
//-------------------
|
||||
|
||||
$fn=res;
|
||||
R=d/2;
|
||||
|
||||
//rotate_extrude(angle=350)
|
||||
//translate([R,0,0])
|
||||
//square([a,b],center=true);
|
||||
|
||||
translate([0,0,11]) cylinder(h=3, d=154, center=true);
|
||||
|
||||
//difference() {
|
||||
// rotate_extrude(angle=3) translate([R+9,0,0]) square([a,b],center=true);
|
||||
// rotate([0,0,1]) rotate([90,0,0]) translate([R+9,0,0]) cylinder(h=8,d=5,center=true);
|
||||
//}
|
||||
|
||||
//difference() {
|
||||
// rotate([0,0,347]) rotate_extrude(angle=3) translate([R+9,0,0]) square([a,b],center=true);
|
||||
// rotate([0,0,348]) rotate([90,0,0]) translate([R+9,0,0]) cylinder(h=8,d=5,center=true);
|
||||
//}
|
||||
|
||||
difference() {
|
||||
rotate([0,0,5]) rotate_extrude(angle=3) translate([R+12,2,0]) square([a, b+5],center=true);
|
||||
rotate([0,0,6]) rotate([90,0,0]) translate([R+12,0,0]) cylinder(h=8,d=5,center=true);
|
||||
union() {
|
||||
difference() {
|
||||
rotate([0,0,6]) rotate([90,0,0]) translate([R+12,0,0]) cylinder(h=9,d=15,center=true);
|
||||
rotate([0,0,6]) rotate([90,0,0]) translate([R+12,0,0]) cylinder(h=8,d=10,center=true);
|
||||
rotate([0,0,5]) rotate_extrude(angle=3) translate([R+12,5.5,0]) square([a+1, b+1],center=true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
difference() {
|
||||
rotate([0,0,342]) rotate_extrude(angle=3) translate([R+12,2,0]) square([a,b+5],center=true);
|
||||
rotate([0,0,343]) rotate([90,0,0]) translate([R+12,0,0]) cylinder(h=8,d=5,center=true);
|
||||
union() {
|
||||
difference() {
|
||||
rotate([0,0,343]) rotate([90,0,0]) translate([R+12,0,0]) cylinder(h=9,d=15,center=true);
|
||||
rotate([0,0,343]) rotate([90,0,0]) translate([R+12,0,0]) cylinder(h=8,d=10,center=true);
|
||||
rotate([0,0,342]) rotate_extrude(angle=3) translate([R+12,5.5,0]) square([a+1, b+1],center=true);
|
||||
}
|
||||
}
|
||||
}
|
BIN
Deckel.stl
Normal file
BIN
Deckel.stl
Normal file
Binary file not shown.
70
Halter.scad
Normal file
70
Halter.scad
Normal file
|
@ -0,0 +1,70 @@
|
|||
// Changable constants
|
||||
res=200; //Auflösung
|
||||
d=120; //Durchmesser (Int in mm)
|
||||
R=d/2;
|
||||
a=10;
|
||||
b=10;
|
||||
|
||||
$fn=res;
|
||||
|
||||
rotate_extrude(angle=350)
|
||||
translate([R,0,0])
|
||||
square([a,b],center=true);
|
||||
|
||||
difference() {
|
||||
rotate_extrude(angle=3) translate([R+12,0,0]) square([a+6,b],center=true);
|
||||
rotate([0,0,1]) rotate([90,0,0]) translate([R+15,0,0]) cylinder(h=8,d=5,center=true);
|
||||
}
|
||||
|
||||
difference() {
|
||||
rotate([0,0,347]) rotate_extrude(angle=3) translate([R+12,0,0]) square([a+6,b],center=true);
|
||||
rotate([0,0,348]) rotate([90,0,0]) translate([R+15,0,0]) cylinder(h=8,d=5,center=true);
|
||||
}
|
||||
//module Ring(a,b,rad=R,n=res){
|
||||
// inner_R=rad/4;
|
||||
// rotate_extrude($fn=n){
|
||||
// translate([inner_R*x,0,0])
|
||||
// union(){
|
||||
// for (i=[0:1:1]){
|
||||
// translate([(x/2)*((-1)^i),0,0]) square([x,y],center=true);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
//// Kugellager
|
||||
//module Kugellager(R=d/2){
|
||||
//// Constants
|
||||
////R=d/2; //Außenradius
|
||||
//n_Balls=R; //Anzahl der Kugeln
|
||||
|
||||
//// Assaamble Modules
|
||||
//module Hull(x=1.5*R,y=1.5*R,rad=R,n=res){
|
||||
// rotate_extrude($fn=n){
|
||||
// translate([inner_R*x,0,0])
|
||||
// union(){
|
||||
// for (i=[0:1:1]){
|
||||
// translate([(x/2)*((-1)^i),0,0]) square([x,y],center=true);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
//module Ball(rad=R,phi=360/n_Balls,n=res){
|
||||
// for (i = [0:1:n_Balls]){
|
||||
// translate([inner_R*1.5*rad*sin(i*phi),inner_R*1.5*rad*cos(i*phi)]) sphere(r=rad,$fn=n);
|
||||
// }
|
||||
// }
|
||||
|
||||
//module Balled_Bearring(z_scale=1.25){
|
||||
// Ball();
|
||||
// scale([1,1,z_scale]) Hull();
|
||||
// }
|
||||
|
||||
|
||||
//// Geometry
|
||||
//Balled_Bearring();
|
||||
//}
|
||||
//Kugellager();
|
||||
//Ring();
|
BIN
Halter.stl
Normal file
BIN
Halter.stl
Normal file
Binary file not shown.
Loading…
Reference in a new issue