Bild ergänzt
[stratum0-wiki.git] / Gesellschaftsspiel-Replikator%2FScrabble.mw
1 <pre>
2 // Scrabble for blind and sighted players
3 // Version 1.4
4 // Copyright: Stratum0 e.V.
5 // License: WTFPL
6
7 // Zum Einfügen von Schrft
8 use <Write.scad>
9
10 Height=3;
11 Width=9;
12 Length=10;
13
14 //cube(size = [Length,Width,Height], center = false);
15 //color("red") write("MeinTestText", h=7, font="orbitron.dxf");
16
17 color("black") intersection()
18 {
19 color("red") writecube("S",font="braille.dxf",h=6, t=1,[Width/2,Length/2,Height],[0,0,0],face="top"); // Braille-Schrift-S
20
21 color("schwarz") writecube("S",h=6, t=1,[Width/2,Length/2,Height],[0,0,0],face="top"); // Schwarzschrift-S
22
23 }
24
25 // color("white")
26 difference()
27 {
28 writecube("S",font="braille.dxf",h=6, t=1,[Width/2,Length/2,Height],[0,0,0],face="top"); // Braille-Schrift-S
29
30 writecube("S",h=6, t=1,[Width/2,Length/2,Height],[0,0,0],face="top"); // Schwarzschrift-S
31
32 }
33
34
35 color("black") writecube("S",h=6, t=1,[Width/2,Length/2,Height-0.5+0.1],[0,0,0],face="top");
36 // Schwarzschrift-S: Die 0.1 sind geschummelt, damit OpenSCAD die Farbe darstellt.
37
38
39
40 cube([Width,Length,Height],center=false);
41
42
43
44 // Quelle dieses Textes: Wikipedia.de
45 // Aktuell ist die Buchstabenverteilung im deutschsprachigen Scrabble wie folgt (in Klammern jeweils die Häufigkeit).
46 // Diese wird seit 1987 verwendet, seitdem wird mit sieben Spielsteinen gespielt.
47
48 // 1 Punkt: E (15), N (9), S (7), I (6), R (6), T (6), U (6), A (5), D (4)
49 // 2 Punkte: H (4), G (3), L (3), O (3)
50 // 3 Punkte: M (4), B (2), W (1), Z (1)
51 // 4 Punkte: C (2), F (2), K (2), P (1)
52 // 6 Punkte: Ä (1), J (1), Ü (1), V (1)
53 // 8 Punkte: Ö (1), X (1)
54 // 10 Punkte: Q (1), Y (1)
55 // 0 Punkte: Joker/Blanko (2)
56
57 // ---
58
59 </pre>
This page took 0.05269 seconds and 5 git commands to generate.