1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-09 08:16:50 +02:00
This commit is contained in:
Justin Lin
2019-09-11 14:30:51 +08:00
parent 553e47a010
commit ba71c3099f

View File

@@ -25,6 +25,17 @@ module floor_stand(width, height, thickness, joint_spacing) {
circle(thickness / 4 + half_sc); circle(thickness / 4 + half_sc);
} }
module joint_tops(dist) {
half_d = dist / 2;
translate([-half_d, 0, 0])
rotate([0, -90, 0])
joint_top();
translate([half_d, 0, 0])
rotate([0, 90, 0])
joint_top();
}
module stick() { module stick() {
linear_extrude(thickness * 0.75) linear_extrude(thickness * 0.75)
square([width / 12, half_w], center = true); square([width / 12, half_w], center = true);
@@ -57,18 +68,12 @@ module floor_stand(width, height, thickness, joint_spacing) {
linear_extrude(width / 2.25 * 2, center = true) linear_extrude(width / 2.25 * 2, center = true)
circle(thickness / 2); circle(thickness / 2);
} }
rotate([0, 90, 0]) rotate([0, 90, 0])
linear_extrude(width / 1.5, center = true) linear_extrude(width / 1.5, center = true)
circle(thickness, $fn = 24); circle(thickness, $fn = 24);
// joint joint_tops(half_w / 1.5 * 2);
translate([half_w / 1.5 , 0, 0])
rotate([0, 90, 0])
joint_top();
translate([-half_w / 1.5 , 0, 0])
rotate([0, -90, 0])
joint_top();
slot_df(); slot_df();
} }
@@ -90,18 +95,12 @@ module floor_stand(width, height, thickness, joint_spacing) {
square([width / 1.5 - thickness * 2, height / 6], center = true); square([width / 1.5 - thickness * 2, height / 6], center = true);
} }
} }
rotate([0, 90, 0]) rotate([0, 90, 0])
linear_extrude(width / 1.5 - joint_spacing, center = true) linear_extrude(width / 1.5 - joint_spacing, center = true)
circle(half_th, $fn = 24); circle(half_th, $fn = 24);
// joint joint_tops(half_w / 1.5 * 2 - joint_spacing);
translate([half_w / 1.5 - half_sc, 0, 0])
rotate([0, 90, 0])
joint_top();
translate([-half_w / 1.5 + half_sc, 0, 0])
rotate([0, -90, 0])
joint_top();
} }
slot_df(); slot_df();
@@ -124,7 +123,6 @@ module floor_stand(width, height, thickness, joint_spacing) {
ground_df(); ground_df();
} }
} }
// stick // stick
translate([width, 0, 0]) translate([width, 0, 0])
stick(); stick();