From 001c3aa7035a8ef675b53c7f2a8d80148b71ae2b Mon Sep 17 00:00:00 2001 From: Christian Hodgden Date: Sun, 13 Oct 2024 20:59:36 -0500 Subject: Updated Candles 1. Adjusted heights. 2. Regenerated stls. 3. Renamed direcory to candles. --- candlestick_molds/taper.scad | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 candlestick_molds/taper.scad (limited to 'candlestick_molds/taper.scad') diff --git a/candlestick_molds/taper.scad b/candlestick_molds/taper.scad deleted file mode 100644 index 97356dd..0000000 --- a/candlestick_molds/taper.scad +++ /dev/null @@ -1,37 +0,0 @@ - -use <../lib/bezier.scad>; - -$fn = 100; -base_radius = (7/8)/2; -top_radius = base_radius * 0.75; -top_height = top_radius * 2; -total_height = 10; -stem_height = total_height - top_height; - -module stick() { - cylinder(stem_height, base_radius, top_radius); - - control_points = [ - [top_radius, 0], - [0.125, top_height/4], - [0.125, top_height/2], - [0.125, top_height], - [0, top_height] - ]; - // adjust curve_facets for low & odd $fn values - curve_facets = $fn/2; - head_curve = bezier_curve(control_points, $fn=curve_facets); - top_curve = concat(head_curve, [[0, 0]]); - - translate([0, 0, stem_height]) - rotate_extrude() - polygon(top_curve); - -}; - -difference() { - translate([0, 0, 0]) - stick(); - translate([-1.5, -1.5, -0.01]) - cube([3, 3, 5.01]); -}; -- cgit v1.2.3