diff options
author | Elena of Valhalla'' Grandi <valhalla@trueelena.org> | 2013-12-03 13:43:12 +0100 |
---|---|---|
committer | Elena of Valhalla'' Grandi <valhalla@trueelena.org> | 2013-12-03 13:43:12 +0100 |
commit | afece4a6d0bad9c381306e4b31bbed60e1a07b16 (patch) | |
tree | e5e289c55a36dad4a340f33c247241af502c544c /src/piecepack.scad | |
parent | b816562bbdbcf429b034166169170a6c000508e9 (diff) |
Dice
Diffstat (limited to 'src/piecepack.scad')
-rw-r--r-- | src/piecepack.scad | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/piecepack.scad b/src/piecepack.scad index c0fb04f..ef3f3c7 100644 --- a/src/piecepack.scad +++ b/src/piecepack.scad @@ -35,3 +35,22 @@ module coin(suite,value) { } } +module die(suite) { + difference() { + cube(12); + translate([0,0,11]) linear_extrude(height=1.5) scale(0.24) + import(str("../graphics/",suite,".dxf")); + translate([1,0,0]) rotate([0,-90,0]) + linear_extrude(height=1.5) scale(0.24) + import("../graphics/2.dxf"); + translate([11,0,12]) rotate([0,90,0]) + linear_extrude(height=1.5) scale(0.24) + import("../graphics/5.dxf"); + translate([0,1,0]) rotate([90,0,0]) + linear_extrude(height=1.5) scale(0.24) + import("../graphics/3.dxf"); + translate([0,11,12]) rotate([-90,0,0]) + linear_extrude(height=1.5) scale(0.24) + import("../graphics/4.dxf"); + } +} |