From 72fbf04f9b65b96f78c6e7eeec6396522f0a75c9 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 9 Sep 2017 16:49:49 +0100 Subject: [PATCH] sprinkler-spike-receptacle: add *MidRounding --- sprinkler-spike-receptacle.scad | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/sprinkler-spike-receptacle.scad b/sprinkler-spike-receptacle.scad index 643a8e4..bf470dc 100644 --- a/sprinkler-spike-receptacle.scad +++ b/sprinkler-spike-receptacle.scad @@ -43,6 +43,24 @@ module NegativePlan(){ [-x0, -5]]); } +module SomeMidRounding(sq_size, z_extra) { + translate([0,0,-z_extra]) + linear_extrude(height= main_height + z_extra*2) + rotate(45) + square( sq_size, center=true ); +} + +module PositiveMidRounding(){ +// translate([0,0,-5]) +// linear_extrude(height= main_height + 10) +// rotate(45) +// square( spike_web_thick*2.5, center=true ); +} + +module NegativeMidRounding(){ + SomeMidRounding(spike_web_thick*2.5, 5); +} + module PositivePlan(){ w = main_width; translate([ -w/2, 0 ]) @@ -87,9 +105,11 @@ module Main(){ difference(){ union(){ MultiplySolidifyPlan(pos_web_thick) PositivePlan(); + PositiveMidRounding(); MultiplyForMount() Mount(); } MultiplySolidifyPlan(spike_web_thick) NegativePlan(); + NegativeMidRounding(); MultiplyForMount() MountHole(); } } -- 2.30.2