Add PVC drain end

This commit is contained in:
Stefan Thoss
2026-11-04 16:51:57 -08:00
parent d801554b7c
commit 05e5bca54d
4 changed files with 39 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
/* https://github.com/BelfrySCAD/BOSL2 */
include <BOSL2/std.scad>
pipe_diameter = 48.3;
wall_thickness = 3;
straight_length = 20;
hull_length = 50;
end_height = 20;
end_width = 70;
end_rounding = end_height/2;
additional_offset = 15;
$fn = 150;
difference() {
/* Outside */
group() {
hull() {
cylinder(d=pipe_diameter, h=0.1, anchor=BOTTOM);
up(0.1+hull_length) left(pipe_diameter/2+additional_offset)
cuboid([end_height,end_width,0.1], rounding=end_rounding, edges="Z", anchor=TOP+LEFT);
}
}
/* Inside */
group() {
hull() {
cylinder(d=pipe_diameter-2*wall_thickness, h=0.1, anchor=BOTTOM);
up(0.1+hull_length) left(pipe_diameter/2-wall_thickness+additional_offset)
cuboid([end_height-2*wall_thickness,end_width-2*wall_thickness,0.1], rounding=end_rounding-wall_thickness, edges="Z", anchor=TOP+LEFT);
}
}
}
tube(h=straight_length,od=pipe_diameter,wall=wall_thickness,anchor=TOP);