From 31f86c7adbdca88b34986361782bf329903bfa29 Mon Sep 17 00:00:00 2001 From: Elena of Valhalla'' Grandi Date: Mon, 10 Mar 2014 20:15:29 +0100 Subject: Fixed suite die and gcode generation --- src/piecepack.scad | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/piecepack.scad') diff --git a/src/piecepack.scad b/src/piecepack.scad index 33406a3..9c830ae 100644 --- a/src/piecepack.scad +++ b/src/piecepack.scad @@ -60,7 +60,10 @@ module die(suite,s) { module suite_die(suites,s) { difference() { - cube(s); + intersection() { + cube(s); + translate([s/2,s/2,s/2]) sphere(r=s*0.79); + } translate([1,0,0]) rotate([0,-90,0]) linear_extrude(height=1.5) scale(s*0.02) import(str("../graphics/",suites[0],".dxf")); -- cgit v1.2.3