From cdf3c3138a60c5e7cb2ed2eada4f9e4c634894bb Mon Sep 17 00:00:00 2001 From: Bart Moyaers Date: Thu, 30 Apr 2020 19:33:12 +0200 Subject: [PATCH] more designs --- .gitignore | 3 +- dial_disc.scad | 13 +++++ seedling_box_mount.scad | 81 ++++++++++++++++++++++++++++++ seneca_dragon_claw_wall_mount.scad | 8 +++ 4 files changed, 104 insertions(+), 1 deletion(-) create mode 100644 dial_disc.scad create mode 100644 seedling_box_mount.scad create mode 100644 seneca_dragon_claw_wall_mount.scad diff --git a/.gitignore b/.gitignore index c77d6b1..0091803 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -*.stl \ No newline at end of file +*.stl +*.STL \ No newline at end of file diff --git a/dial_disc.scad b/dial_disc.scad new file mode 100644 index 0000000..44bacf6 --- /dev/null +++ b/dial_disc.scad @@ -0,0 +1,13 @@ +$fn=100; +trans_dist = 107; + +height = 2.81; +union(){ + translate([-trans_dist/2,-trans_dist/2,0]){import("Dial_v3.3.STL");} + translate([0,0,2.84/2]){ + difference(){ + cylinder(r=97/2, h=height, center=true); + cylinder(r=20/2, h=height, center=true); + } + } +} \ No newline at end of file diff --git a/seedling_box_mount.scad b/seedling_box_mount.scad new file mode 100644 index 0000000..ace61b3 --- /dev/null +++ b/seedling_box_mount.scad @@ -0,0 +1,81 @@ +thickness = 3; + +hook_width = 15; +hook_height = 20; +hook_dist = 125; +ledge_width = 220; +fraction = 0.7; + +module hook(w, h, t){ + polygon( + [ + [0, 0], + [t, 0], + [t, h], + [t+w, h], + [t+w, 0], + [2*t+w, 0], + [2*t+w, h+t], + [0, h+t], + [0, 0] + ] + ); +} + +module enforcement(diff, pos_frac){ + polygon( + [ + [-(pos_frac+diff)*ledge_width, (pos_frac+diff)*fraction*(hook_dist)+hook_height-1.5], + [-(pos_frac-diff)*ledge_width, (pos_frac-diff)*fraction*(hook_dist)+hook_height-1.5], + [-(pos_frac-diff)*ledge_width, fraction*(hook_dist+hook_height)], + [-(pos_frac+diff)*ledge_width, fraction*(hook_dist+hook_height)], + ] + ); +} + +linear_extrude(10){ + hook(hook_width, hook_height, thickness); + translate([0,hook_dist,0]){ + hook(hook_width, hook_height, thickness); + } + // Connect hooks + polygon( + [ + [0,0], + [thickness,0], + [thickness,hook_dist+hook_height], + [0,hook_dist+hook_height], + [0,0] + ] + ); + + + translate([-ledge_width, fraction*(hook_dist+hook_height), 0]){ + square([ledge_width, thickness]); + } + + // Enforce ledge + polygon( + [ + [-ledge_width, fraction*(hook_dist+hook_height)], + [-ledge_width+2*thickness, fraction*(hook_dist+hook_height)], + [0, thickness+hook_height], + [0, 0+hook_height], + [-ledge_width, fraction*(hook_dist+hook_height)], + ] + ); + + enforcement(0.005, 0.3); + enforcement(0.005, 0.6); + + // Add little bump + polygon( + [ + [-ledge_width, fraction*(hook_dist+hook_height)+thickness], + [-ledge_width+thickness, fraction*(hook_dist+hook_height)+thickness], + [-ledge_width+thickness, fraction*(hook_dist+hook_height)+2*thickness], + [-ledge_width, fraction*(hook_dist+hook_height)+2*thickness], + ] + ); +} + diff --git a/seneca_dragon_claw_wall_mount.scad b/seneca_dragon_claw_wall_mount.scad new file mode 100644 index 0000000..caa5e33 --- /dev/null +++ b/seneca_dragon_claw_wall_mount.scad @@ -0,0 +1,8 @@ +gun_tank_diameter = 34; +gun_tank_wall_dist = 50; + +minkowski() +{ + cube([10,10,1]); + cylinder(r=2,h=1); +} \ No newline at end of file