more designs

This commit is contained in:
2021-11-12 19:01:04 +01:00
parent 0069bcbe71
commit 861e4740a4
8 changed files with 192 additions and 0 deletions

View File

21
bidet_hole_cover.scad Normal file
View File

@@ -0,0 +1,21 @@
inner_hole_dia = 14 + 0.5;
mid_hole_dia = 30 - 0.5;
outer_dia = 40;
height_step = 5;
height_step_small = height_step/3;
$fn=150;
difference() {
union() {
translate([0,0,-height_step_small])
cylinder(r=mid_hole_dia/2, h=height_step+height_step_small, center=true);
translate([0,0,height_step_small/2])
cylinder(r=outer_dia/2, h=height_step_small, center=true);
}
cylinder(r=inner_hole_dia/2, h=height_step*2+0.01, center=true);
translate([0,-20,-20])
cube(size=[40, 40, 40], center=false);
}

View File

@@ -0,0 +1,10 @@
outer_dia = 16;
hole_dia = 5.5;
height=9;
linear_extrude(height=height){
difference() {
circle(r=outer_dia/2, $fn=50);
circle(r=hole_dia/2, $fn=20);
}
}

71
gate_mount.scad Normal file
View File

@@ -0,0 +1,71 @@
hole_dia = 14;
hole_depth = 29;
wall_thickness = 3;
screw_hole_dia = 4;
screw_hole_chamfer = 2;
module slot(width, height) {
radius = width / 2;
squ_height = height-2*radius;
union(){
square(size=[width, squ_height], center=true);
translate([0,squ_height/2,0])
circle(r=radius);
translate([0,-squ_height/2,0])
circle(r=radius);
}
}
module sector(radius, angles, fn = 24) {
r = radius / cos(180 / fn);
step = -360 / fn;
points = concat([[0, 0]],
[for(a = [angles[0] : step : angles[1] - 360])
[r * cos(a), r * sin(a)]
],
[[r * cos(angles[1]), r * sin(angles[1])]]
);
difference() {
circle(radius, $fn = fn);
polygon(points);
}
}
module holder() {
inner_radius = 10.5;
round_radius = 3;
minkowski() {
difference(){
circle(r=inner_radius+round_radius+0.1);
circle(r=inner_radius+round_radius);
sector(inner_radius+round_radius+2, [-30, 210]);
}
circle(r=round_radius, $fn=25);
}
}
module safety() {
}
linear_extrude(wall_thickness){
slot(30, 60);
}
my_offset = -13;
translate([0,my_offset,wall_thickness])
linear_extrude(wall_thickness)
holder($fn=100);
color("lavender") {
translate([0,my_offset,4])
circle(r=10);
}

View File

@@ -0,0 +1,11 @@
third_dia = 63;
outer_dia = 81;
$fn=50;
linear_extrude(height=2, center=true, convexity=10, twist=0) {
difference(){
circle(r=outer_dia/2);
circle(r=third_dia/2);
}
}

View File

@@ -0,0 +1,30 @@
inner_hole_dia = 6.5;
second_dia = 44;
third_dia = 63;
outer_dia = 83;
thickness = 3;
outer_thickness = 7;
$fn=50;
translate([0,0,thickness/2])
linear_extrude(height=thickness, center=true, convexity=10, twist=0) {
difference(){
circle(r=second_dia/2);
circle(r=inner_hole_dia/2);
}
translate([0,-25,0])
square(size=[25, 20], center=true);
}
translate([0,0,outer_thickness/2])
linear_extrude(height=outer_thickness, center=true, convexity=10, twist=0) {
difference(){
circle(r=outer_dia/2);
circle(r=third_dia/2);
}
}

View File

@@ -0,0 +1,41 @@
main_inner_dia = 60;
main_outer_dia = 70;
inner_dia_small = 40;
height = 15;
thickness = (main_outer_dia - main_inner_dia)/2;
inner_radius = 2;
outer_radius = inner_radius + thickness;
extra_size = (main_inner_dia - inner_dia_small) / 2 - inner_radius;
module ring(inner_radius, outer_radius){
difference(){
circle(r=outer_radius);
circle(r=inner_radius);
}
}
module quarter_ring(inner_r, outer_r,){
difference(){
ring(inner_r, outer_r);
difference(){
square(size=[2*outer_r, 2*outer_r], center=true);
translate([0,-outer_r,0])
square(size=[outer_r, outer_r], center=false);
}
}
}
rotate_extrude(convexity=10, $fn=100) {
translate([main_inner_dia/2,0,0]){
union(){
square(size=[thickness, height]);
translate([-inner_radius,0,0])
quarter_ring(inner_radius, outer_radius);
translate([-extra_size-inner_radius,-thickness-inner_radius,0])
square(size=[extra_size, thickness]);
}
}
}

View File

@@ -0,0 +1,8 @@
$fn=20;
linear_extrude(2) {
difference(){
circle(r=2.5);
circle(r=1.5);
}
}