aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/dice.scad4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dice.scad b/lib/dice.scad
index 05bb23e..e87bbb6 100644
--- a/lib/dice.scad
+++ b/lib/dice.scad
@@ -3,7 +3,7 @@ use <utils.scad>
module d4(size=false, side=false) {
l = side ? side : s2s_d4(size);
if (l == false) {
- echo("ERROR: d6: one of side or size should be defined");
+ echo("ERROR: d4: one of side or size should be defined");
}
r = sqrt(6)/4*l;
c = r*2;
@@ -45,7 +45,7 @@ module d6(size=false, side=false) {
module d8(size=false, side=false) {
l = side ? side : s2s_d8(size);
if (l == false) {
- echo("ERROR: d6: one of side or size should be defined");
+ echo("ERROR: d8: one of side or size should be defined");
}
r = sqrt(2)/2*l;
c = r*2;