dodane pliki
This commit is contained in:
parent
6230d9d680
commit
a692585b6b
4 changed files with 5131 additions and 0 deletions
23
Dom/tabl_basi.scad
Normal file
23
Dom/tabl_basi.scad
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
include <BOSL2/std.scad>
|
||||
|
||||
tabl_w = 90;
|
||||
tabl_d = 40;
|
||||
tabl_h = 5*5;
|
||||
|
||||
glass_d = 23;
|
||||
|
||||
t = 3;
|
||||
|
||||
difference() {
|
||||
chain_hull() {
|
||||
cuboid([tabl_w+t,tabl_d+t,tabl_h+t], rounding=2);
|
||||
translate([tabl_w/2 + glass_d/2 + t,0,0]) cyl(d=glass_d+t, h=tabl_h+t, rounding=2);
|
||||
}
|
||||
|
||||
translate([0,0,t]) cuboid([tabl_w,tabl_d,tabl_h+2*t], rounding=2);
|
||||
translate([tabl_w/2 + glass_d/2 + t,0,t]) cyl(d=glass_d, h=tabl_h+t, rounding=2);
|
||||
translate([tabl_w/2 + glass_d/2 + t,0,]) cyl(d=glass_d-2*t, h=tabl_h+t);
|
||||
|
||||
translate([0,0,t])cuboid([tabl_d, tabl_w, tabl_h+2*t]);
|
||||
|
||||
}
|
||||
5000
Dom/tabl_basi.stl
Normal file
5000
Dom/tabl_basi.stl
Normal file
File diff suppressed because it is too large
Load diff
56
Oliwka/mydło.scad
Normal file
56
Oliwka/mydło.scad
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
include <BOSL2/std.scad>
|
||||
include <BOSL2/fnliterals.scad>
|
||||
|
||||
$fn=50;
|
||||
|
||||
// Pudełeczko
|
||||
soap_width = 90;
|
||||
soap_depth = 55;
|
||||
holder_height = 30;
|
||||
|
||||
t = 5;
|
||||
union() {
|
||||
difference() {
|
||||
cuboid([soap_width+t,soap_depth+t,holder_height], rounding=5);
|
||||
translate([0,0,t + 10]) cuboid([soap_width, soap_depth, holder_height + 20], rounding=5);
|
||||
}
|
||||
for(i=[-1,0,1]) {
|
||||
translate([i*soap_width/3,soap_depth/2,-6]) cylinder(d1=0, d2=5, h=10, $fn=20);
|
||||
translate([i*soap_width/3,-soap_depth/2,-6]) cylinder(d1=0, d2=5, h=10, $fn=20);
|
||||
}
|
||||
}
|
||||
|
||||
// haczyk do przyczepienia
|
||||
hook_top = 17;
|
||||
hook_bottom = 20;
|
||||
hook_h = 30;
|
||||
hook_t = 3;
|
||||
|
||||
hook_angle = 5; // atan((hook_bottom-hook_top)/hook_h);
|
||||
|
||||
fwd(soap_depth/2 + t/2) up(holder_height/2 - 5) union() {
|
||||
fwd(hook_top/2) cuboid([soap_width, hook_top+hook_t, hook_t], rounding=1);
|
||||
fwd(hook_top) rotate([90 - hook_angle,0,0]) fwd(hook_h/2)
|
||||
cuboid([soap_width, hook_h, hook_t], rounding=1);
|
||||
}
|
||||
|
||||
// kratka na mydło
|
||||
grate_t = 2;
|
||||
hole_size = 5;
|
||||
hole_t = 0.5;
|
||||
|
||||
up(holder_height) union() {
|
||||
difference() {
|
||||
cuboid([soap_width, soap_depth, grate_t], rounding=5, edges="Z");
|
||||
for(i=[1:hole_size+hole_t:soap_width+hole_size*2]) {
|
||||
for(j=[1:hole_size+hole_t:soap_depth+hole_size*2]) {
|
||||
left(soap_width/2) back(soap_depth/2) right(i) fwd(j) down(hole_size/2)
|
||||
cube(hole_size);
|
||||
}
|
||||
}
|
||||
}
|
||||
difference() {
|
||||
cuboid([soap_width, soap_depth, grate_t], rounding=5, edges="Z");
|
||||
cuboid([soap_width-grate_t, soap_depth-grate_t, grate_t+0.2], rounding=5, edges="Z");
|
||||
}
|
||||
}
|
||||
52
Oliwka/szklanka.scad
Normal file
52
Oliwka/szklanka.scad
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
szerokosc_szklanki = 45;
|
||||
grubosc_szkla = 4;
|
||||
|
||||
wysokosc_uchwytu = 10;
|
||||
dlugosc_uchwytu = 15;
|
||||
grubosc_uchwytu = 2;
|
||||
|
||||
$fn=200;
|
||||
|
||||
cut_angle = 30;
|
||||
|
||||
glass_r = szerokosc_szklanki/2;
|
||||
glass_t = grubosc_szkla;
|
||||
|
||||
h = wysokosc_uchwytu;
|
||||
l = dlugosc_uchwytu;
|
||||
t = grubosc_uchwytu;
|
||||
|
||||
sq_h = 2.5;
|
||||
|
||||
translate([glass_r-t-glass_t,0,0]) rotate([0,0,180+cut_angle/2])
|
||||
difference() {
|
||||
union() {
|
||||
difference() {
|
||||
cylinder(r=glass_r+t, h=h);
|
||||
translate([0,0,-0.1]) cylinder(r=glass_r, h=h+0.1-sq_h);
|
||||
cylinder(r=glass_r-glass_t-t, h=h+1);
|
||||
}
|
||||
difference() {
|
||||
cylinder(r=glass_r-glass_t, h=h);
|
||||
translate([0,0,-0.1]) cylinder(r=glass_r-glass_t-t, h=h+0.2);
|
||||
}
|
||||
}
|
||||
translate([0,0,-0.1]) rotate_extrude(angle=360-cut_angle) square([glass_r*2, h+0.2]);
|
||||
}
|
||||
|
||||
sq_w = 2.5;
|
||||
sq_l = 15;
|
||||
|
||||
clamp_r = 7;
|
||||
clamp_t = 1.5;
|
||||
|
||||
cut_size = 5;
|
||||
|
||||
translate([sq_l/2,0,h-sq_h/2]) union() {
|
||||
cube([sq_l,sq_w,sq_h], center=true);
|
||||
translate([sq_l/2 + clamp_r - clamp_t,0,-sq_h/2]) difference() {
|
||||
cylinder(r=clamp_r,h=sq_h);
|
||||
translate([0,0,-0.1]) cylinder(r=clamp_r-clamp_t,h=sq_h+0.2);
|
||||
translate([clamp_r,0,sq_h/2]) cube([clamp_r*2,cut_size,sq_h*2], center=true);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue