Initial commit.
This commit is contained in:
17
models/fixings/square_tube_joint_cross.scad
Normal file
17
models/fixings/square_tube_joint_cross.scad
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
include <../../config.scad>;
|
||||
|
||||
module square_tube_joint_cross(tube_diameter, tube_thickness) {
|
||||
length_peg = 2 * tube_diameter;
|
||||
union() {
|
||||
color("black") cube(tube_diameter, center = true);
|
||||
for (index_peg = [0 : 1 : 3]) {
|
||||
color("gray") rotate([0, 0, 90 * index_peg]) translate([tube_diameter / 2 + length_peg / 2, 0, 0]) cube([length_peg, tube_diameter - tube_thickness * 2, tube_diameter - tube_thickness * 2], center = true);
|
||||
}
|
||||
}
|
||||
// Shopping
|
||||
echo(str("Square tube joint: Tube joint Φ", tube_diameter, "mm cross - x1"));
|
||||
}
|
||||
|
||||
// test output
|
||||
square_tube_joint_cross(D_BEAM_SKELETON, T_BEAM_SKELETON);
|
||||
Reference in New Issue
Block a user