From 255488c56e740b39966c5601344ac905e4bcbc28 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 17 Oct 2012 18:27:41 +0100 Subject: [PATCH] axlepin break out Washer from filamentspool --- axlepin.scad | 7 +++++++ filamentspool.scad | 5 +---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/axlepin.scad b/axlepin.scad index d399092..b684f04 100644 --- a/axlepin.scad +++ b/axlepin.scad @@ -14,3 +14,10 @@ module AxlePin(axlerad, pinlen, holerad=2, tabthick=5, slop=0.5){ translate([-50,-50,0]) cube([100,100,50]); } } + +module Washer(axlerad, washerrad, thick=1.2, slop=0.5){ + difference(){ + cylinder(h=thick, r=washerrad); + translate([0,0,-1]) cylinder(h=thick+2, r=axlerad+slop); + } +} diff --git a/filamentspool.scad b/filamentspool.scad index 59e3e70..a8955b8 100644 --- a/filamentspool.scad +++ b/filamentspool.scad @@ -311,10 +311,7 @@ module Axle(){ ////toplevel } module washer(thick){ - difference(){ - cylinder(h=thick, r=washerrad); - translate([0,0,-1]) cylinder(h=washerthick+2, r=hubaxlerad+slop); - } + Washer(hubaxlerad, washerrad, thick, slop); } module AxleWasher(){ ////toplevel -- 2.30.2