From b0daed8e1cd174cdd72ad22b7a7d3d7d6b79615f Mon Sep 17 00:00:00 2001 From: "Robert \"ar\" Gerus" Date: Sat, 8 Jun 2013 02:08:49 +0200 Subject: =?UTF-8?q?It=20was=20physically=20impossible=20to=20insert=20inne?= =?UTF-8?q?r=20part=20into=20the=20outer=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ice_glass_forms/glass.scad | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/ice_glass_forms/glass.scad b/ice_glass_forms/glass.scad index 56939ae..48a60c6 100644 --- a/ice_glass_forms/glass.scad +++ b/ice_glass_forms/glass.scad @@ -18,10 +18,18 @@ module holding_cut_in(height, t_rad) { cube([10 ,t_rad * 2,10]); } +module holding_insert_cut_in(height, t_rad) { + rotate([0,0,10]) + translate([t_rad + 5, 0, height -5]) + cube([10, 10, 50]); +} + module holding_cut_ins(height, t_rad) { for (i = [0:90:360]) { - rotate([0,0,i]) + rotate([0,0,i]) { holding_cut_in(height, t_rad); + holding_insert_cut_in(height, t_rad); + } } } @@ -29,7 +37,7 @@ module outer_cup_form(height, b_rad, t_rad) { difference() { cylinder(height + 10, t_rad + 10, t_rad + 10); translate([0,0,10.1]) - cup_shape(height, b_rad, t_rad); + cup_shape(height, b_rad, t_rad); holding_cut_ins(height, t_rad); } } @@ -132,3 +140,5 @@ module print2(height, b_rad, t_rad) { rotate([0,180,0]) inner_cup_form(height, b_rad, t_rad); } + +example(); -- cgit v1.2.3