Initial commit
This commit is contained in:
39
models/fixings/tube_clamp_round_3_way_outlet_tee_176.scad
Normal file
39
models/fixings/tube_clamp_round_3_way_outlet_tee_176.scad
Normal file
@@ -0,0 +1,39 @@
|
||||
include <../../config.scad>;
|
||||
|
||||
function get_L_shaft_long_round_3_way_outlet_tee_176(tube_diameter) =
|
||||
(tube_diameter == 27) ?
|
||||
85
|
||||
: (tube_diameter == 42) ?
|
||||
122
|
||||
: 25
|
||||
;
|
||||
function get_L_shaft_short_round_3_way_outlet_tee_176(tube_diameter) =
|
||||
(tube_diameter == 27) ?
|
||||
42
|
||||
: (tube_diameter == 42) ?
|
||||
61
|
||||
: 10
|
||||
;
|
||||
|
||||
module tube_clamp_round_3_way_outlet_tee_176(tube_diameter) {
|
||||
t = 7;
|
||||
L_shaft_long = get_L_shaft_long_round_3_way_outlet_tee_176(tube_diameter);
|
||||
L_shaft_short = get_L_shaft_short_round_3_way_outlet_tee_176(tube_diameter);
|
||||
color("LightGrey") difference() {
|
||||
union() {
|
||||
// long edge
|
||||
cylinder(L_shaft_long, tube_diameter / 2 + t, tube_diameter / 2 + t, center = true);
|
||||
// short perpendicular section
|
||||
translate([L_shaft_short / 2, 0, 0]) rotate([0, 90, 0]) cylinder(L_shaft_short, tube_diameter / 2 + t, tube_diameter / 2 + t, center = true);
|
||||
}
|
||||
cylinder(L_shaft_long, tube_diameter / 2, tube_diameter / 2, center = true);
|
||||
translate([L_shaft_short / 2, 0, 0]) rotate([0, 90, 0]) cylinder(L_shaft_short, tube_diameter / 2, tube_diameter / 2, center = true);
|
||||
rotate([90, 0, 0]) cylinder(L_shaft_long, tube_diameter / 2, tube_diameter / 2, center = true);
|
||||
}
|
||||
// Shopping
|
||||
echo("Round 3-way outlet tee 176: Tube clamp - x1");
|
||||
}
|
||||
|
||||
// test output
|
||||
tube_clamp_round_3_way_outlet_tee_176(27);
|
||||
translate([200, 0, 0]) tube_clamp_round_3_way_outlet_tee_176(42);
|
||||
27
models/fixings/tube_clamp_round_3_way_through_116.scad
Normal file
27
models/fixings/tube_clamp_round_3_way_through_116.scad
Normal file
@@ -0,0 +1,27 @@
|
||||
include <../../config.scad>;
|
||||
use <./tube_clamp_round_3_way_through_116_functions.scad>;
|
||||
|
||||
module tube_clamp_round_3_way_through_116(tube_diameter) {
|
||||
t = get_thickness_round_3_way_through_116(tube_diameter);
|
||||
L_shaft_long = get_L_shaft_long_round_3_way_through_116(tube_diameter);
|
||||
L_shaft_short = get_L_shaft_short_round_3_way_through_116(tube_diameter);
|
||||
color("LightGrey") difference() {
|
||||
union() {
|
||||
// short horizontal section
|
||||
rotate([0, 90, 0]) cylinder(L_shaft_short, tube_diameter / 2 + t, tube_diameter / 2 + t, center = true);
|
||||
// long vertical section
|
||||
translate([0, 0, L_shaft_long / 2]) rotate([0, 0, 0]) cylinder(L_shaft_long, tube_diameter / 2 + t, tube_diameter / 2 + t, center = true);
|
||||
// long horizontal section
|
||||
translate([0, L_shaft_long / 2, 0]) rotate([90, 0, 0]) cylinder(L_shaft_long, tube_diameter / 2 + t, tube_diameter / 2 + t, center = true);
|
||||
}
|
||||
rotate([0, 90, 0]) cylinder(L_shaft_short, tube_diameter / 2, tube_diameter / 2, center = true);
|
||||
translate([0, 0, L_shaft_long / 2]) rotate([0, 0, 0]) cylinder(L_shaft_long, tube_diameter / 2, tube_diameter / 2, center = true);
|
||||
translate([0, L_shaft_long / 2, 0]) rotate([90, 0, 0]) cylinder(L_shaft_long, tube_diameter / 2, tube_diameter / 2, center = true);
|
||||
}
|
||||
// Shopping
|
||||
echo("Round 3-way through 116: Tube clamp - x1");
|
||||
}
|
||||
|
||||
// test output
|
||||
tube_clamp_round_3_way_through_116(27);
|
||||
translate([200, 0, 0]) tube_clamp_round_3_way_through_116(42);
|
||||
@@ -0,0 +1,10 @@
|
||||
|
||||
function get_L_shaft_long_round_3_way_through_116(tube_diameter) =
|
||||
(tube_diameter == 27) ?
|
||||
42
|
||||
: (tube_diameter == 42) ?
|
||||
60
|
||||
: 25
|
||||
;
|
||||
function get_thickness_round_3_way_through_116(tube_diameter) = 7;
|
||||
function get_L_shaft_short_round_3_way_through_116(tube_diameter) = tube_diameter + 2 * get_thickness_round_3_way_through_116();
|
||||
29
models/fixings/tube_clamp_round_base_plate_132.scad
Normal file
29
models/fixings/tube_clamp_round_base_plate_132.scad
Normal file
@@ -0,0 +1,29 @@
|
||||
include <../../config.scad>;
|
||||
use <./tube_clamp_round_base_plate_132_functions.scad>;
|
||||
|
||||
module tube_clamp_round_base_plate_132(tube_diameter) {
|
||||
L_shaft_with_base_plate = get_L_shaft_with_base_plate_round_base_plate_132(tube_diameter);
|
||||
R_plate = get_R_plate_round_base_plate_132(tube_diameter);
|
||||
t = R_plate[2];
|
||||
offset_hole_y = get_offset_hole_y_round_base_plate_132(tube_diameter);
|
||||
d_hole_bolt_round_base_plate_132 = get_diameter_hole_round_base_plate_132(tube_diameter);
|
||||
color("LightGrey") union() {
|
||||
// cylinder section
|
||||
translate([0, 0, L_shaft_with_base_plate / 2]) difference() {
|
||||
cylinder(L_shaft_with_base_plate, tube_diameter / 2 + t, tube_diameter / 2 + t, center = true);
|
||||
cylinder(L_shaft_with_base_plate, tube_diameter / 2, tube_diameter / 2, center = true);
|
||||
}
|
||||
// base plate
|
||||
translate([0, 0, R_plate[2] / 2]) difference() {
|
||||
cube(R_plate, center = true);
|
||||
translate([0, offset_hole_y, 0]) cylinder(R_plate[2], d_hole_bolt_round_base_plate_132 / 2, d_hole_bolt_round_base_plate_132 / 2, center = true);
|
||||
translate([0, -offset_hole_y, 0]) cylinder(R_plate[2], d_hole_bolt_round_base_plate_132 / 2, d_hole_bolt_round_base_plate_132 / 2, center = true);
|
||||
}
|
||||
}
|
||||
// Shopping
|
||||
echo("Round base plate 132: Tube clamp - x1");
|
||||
}
|
||||
|
||||
// test output
|
||||
tube_clamp_round_base_plate_132(27);
|
||||
translate([200, 0, 0]) tube_clamp_round_base_plate_132(42);
|
||||
@@ -0,0 +1,23 @@
|
||||
|
||||
function get_L_shaft_with_base_plate_round_base_plate_132(tube_diameter) =
|
||||
(tube_diameter == 27) ?
|
||||
85
|
||||
: (tube_diameter == 42) ?
|
||||
122
|
||||
: 25
|
||||
;
|
||||
function get_R_plate_round_base_plate_132(tube_diameter) =
|
||||
(tube_diameter == 27) ?
|
||||
[64, 114, 7]
|
||||
: (tube_diameter == 42) ?
|
||||
[80, 140, 10]
|
||||
: [10, 20, 1]
|
||||
;
|
||||
function get_offset_hole_y_round_base_plate_132(tube_diameter) =
|
||||
(tube_diameter == 27) ?
|
||||
38
|
||||
: (tube_diameter == 42) ?
|
||||
50
|
||||
: 10
|
||||
;
|
||||
function get_diameter_hole_round_base_plate_132(tube_diameter) = 10;
|
||||
24
models/fixings/tube_clamp_round_tee_long_104.scad
Normal file
24
models/fixings/tube_clamp_round_tee_long_104.scad
Normal file
@@ -0,0 +1,24 @@
|
||||
include <../../config.scad>;
|
||||
use <./tube_clamp_round_tee_long_104_functions.scad>;
|
||||
|
||||
module tube_clamp_round_tee_long_104(tube_diameter) {
|
||||
t = 7;
|
||||
L_shaft_long = get_L_shaft_long_round_tee_long_104(tube_diameter);
|
||||
L_shaft_short = get_L_shaft_short_round_tee_long_104(tube_diameter);
|
||||
color("LightGrey") difference() {
|
||||
union() {
|
||||
// long edge
|
||||
cylinder(L_shaft_long, tube_diameter / 2 + t, tube_diameter / 2 + t, center = true);
|
||||
// short perpendicular section
|
||||
translate([L_shaft_short / 2, 0, 0]) rotate([0, 90, 0]) cylinder(L_shaft_short, tube_diameter / 2 + t, tube_diameter / 2 + t, center = true);
|
||||
}
|
||||
cylinder(L_shaft_long, tube_diameter / 2, tube_diameter / 2, center = true);
|
||||
translate([L_shaft_short / 2, 0, 0]) rotate([0, 90, 0]) cylinder(L_shaft_short, tube_diameter / 2, tube_diameter / 2, center = true);
|
||||
}
|
||||
// Shopping
|
||||
echo("Round tee long 104: Tube clamp - x1");
|
||||
}
|
||||
|
||||
// test output
|
||||
tube_clamp_round_tee_long_104(27);
|
||||
translate([200, 0, 0]) tube_clamp_round_tee_long_104(42);
|
||||
16
models/fixings/tube_clamp_round_tee_long_104_functions.scad
Normal file
16
models/fixings/tube_clamp_round_tee_long_104_functions.scad
Normal file
@@ -0,0 +1,16 @@
|
||||
// include <../../config.scad>;
|
||||
|
||||
function get_L_shaft_long_round_tee_long_104(tube_diameter) =
|
||||
(tube_diameter == 27) ?
|
||||
85
|
||||
: (tube_diameter == 42) ?
|
||||
122
|
||||
: 25
|
||||
;
|
||||
function get_L_shaft_short_round_tee_long_104(tube_diameter) =
|
||||
(tube_diameter == 27) ?
|
||||
42
|
||||
: (tube_diameter == 42) ?
|
||||
61
|
||||
: 10
|
||||
;
|
||||
28
models/fixings/tube_clamp_square_base_plate_132.scad
Normal file
28
models/fixings/tube_clamp_square_base_plate_132.scad
Normal file
@@ -0,0 +1,28 @@
|
||||
include <../../config.scad>;
|
||||
use <./tube_clamp_square_base_plate_132_functions.scad>;
|
||||
|
||||
module tube_clamp_square_base_plate_132(beam_width) {
|
||||
L_shaft_with_base_plate = get_L_shaft_with_base_plate_square_base_plate_132(beam_width);
|
||||
R_plate = get_R_plate_square_base_plate_132(beam_width);
|
||||
t = get_thickness_square_base_plate_132(beam_width);
|
||||
offset_hole_x = get_offset_hole_x_square_base_plate_132(beam_width);
|
||||
d_hole_bolt_square_base_plate_132 = get_diameter_hole_square_base_plate_132(beam_width);
|
||||
color("LightGrey") union() {
|
||||
// shaft section
|
||||
translate([0, 0, L_shaft_with_base_plate / 2]) difference() {
|
||||
cube([beam_width + t * 2, beam_width + t * 2, L_shaft_with_base_plate], center = true);
|
||||
cube([beam_width, beam_width, L_shaft_with_base_plate], center = true);
|
||||
}
|
||||
// base plate
|
||||
translate([0, 0, R_plate[2] / 2]) difference() {
|
||||
cube(R_plate, center = true);
|
||||
translate([offset_hole_x, 0, 0]) cylinder(R_plate[2], d_hole_bolt_square_base_plate_132 / 2, d_hole_bolt_square_base_plate_132 / 2, center = true);
|
||||
translate([-offset_hole_x, 0, 0]) cylinder(R_plate[2], d_hole_bolt_square_base_plate_132 / 2, d_hole_bolt_square_base_plate_132 / 2, center = true);
|
||||
}
|
||||
}
|
||||
// Shopping
|
||||
echo("Square base plate 132: Tube clamp - x1");
|
||||
}
|
||||
|
||||
// test output
|
||||
tube_clamp_square_base_plate_132(42);
|
||||
@@ -0,0 +1,21 @@
|
||||
|
||||
function get_L_shaft_with_base_plate_square_base_plate_132(beam_width) =
|
||||
// (beam_width == 40) ?
|
||||
75
|
||||
;
|
||||
function get_R_plate_square_base_plate_132(beam_width) =
|
||||
// (beam_width == 40) ?
|
||||
[143, 75, 18.5]
|
||||
;
|
||||
function get_thickness_square_base_plate_132(beam_width) =
|
||||
// (beam_width == 40) ?
|
||||
8
|
||||
;
|
||||
function get_offset_hole_x_square_base_plate_132(beam_width) =
|
||||
// (beam_width == 40) ?
|
||||
100 / 2
|
||||
;
|
||||
function get_diameter_hole_square_base_plate_132(beam_width) =
|
||||
// (beam_width == 40) ?
|
||||
10
|
||||
;
|
||||
Reference in New Issue
Block a user