From 8dbfd46a20b68ede243fb3a93fd4eab97076ed90 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 31 May 2014 21:09:05 +0100 Subject: [PATCH] topeak-seatstay-lock: wip just start pin --- topeak-seatstay-lock.scad | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/topeak-seatstay-lock.scad b/topeak-seatstay-lock.scad index efa3d13..59552bf 100644 --- a/topeak-seatstay-lock.scad +++ b/topeak-seatstay-lock.scad @@ -7,6 +7,17 @@ pump_seatstay_gap = 12.3; pump_seatstay_delta = 0.1; holes_rotation = 7; +body_thick_x = 5; +body_thick_y = 5; + +pin_workdepth = 15; +pin_width = 11 + 0.5; +pin_thick = 3 + 0.4; + +// computed + +body_depth = pin_width + 8; + module Holes(){ translate([0, -pump_dia/2]); rotate(-holes_rotation){ @@ -24,4 +35,22 @@ module Holes(){ } } -Holes(); +module BodyPlan(){ + hull(){ + for(x=[-1,1]) for(y=[-1,1]) + translate([x*body_thick_x, y*body_thick_y]) + Holes(); + } +} + +module Body(){ + translate([0,0,-body_depth/2]) + linear_extrude(height=body_depth){ + difference(){ + BodyPlan(); + Holes(); + } + } +} + +Body(); -- 2.30.2