From 4ec6a70ebe5c33623d3e01a70ffd6cad8113ba59 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 4 Feb 2024 12:08:24 +0000 Subject: [PATCH] air-hockey-puck: wip Signed-off-by: Ian Jackson --- air-hockey-puck.scad | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 air-hockey-puck.scad diff --git a/air-hockey-puck.scad b/air-hockey-puck.scad new file mode 100644 index 0000000..bda9e91 --- /dev/null +++ b/air-hockey-puck.scad @@ -0,0 +1,36 @@ +// -*- C -*- + +main_dia = 34.0; +post_base_dia = 14; +post_top_dia = 11; +overall_height = 31; +rim_height = 5; +rim_wall_th = 2; +base_th = 2; + +$fs= 0.1; +$fa = 3; + +module Elevation(){ + hull(){ + translate([0, overall_height - post_top_dia/2]) + circle(r = post_top_dia/2); + square([ post_base_dia/2, 0.1 ]); + } + difference(){ + square([ main_dia/2, rim_height ]); + translate([ -rim_wall_th, base_th ]) + square([ main_dia/2, rim_height ]); + } +} + +module Bat(){ + rotate_extrude(){ + intersection(){ + Elevation(); + square([100, 100]); + } + } +} + +Bat(); -- 2.30.2