3
const char * prismrules2[] = {
6
"rule \"prism on quad\"\n",\
15
"(0.5, 0, -0.86);\n",\
16
"(0.5, 1, -0.86);\n",\
19
"(1, 2, 3, 4) del;\n",\
30
"(1, 5, 2, 4, 6, 3);\n",\
43
"{ 0.3 P1, -0.1 P2, -0.1 P3, 0.3 P4, 0.3 P5, 0.3 P6 };\n",\
44
"{ -0.1 P1, 0.3 P2, 0.3 P3, -0.1 P4, 0.3 P5, 0.3 P6 };\n",\
53
"{ 0.25 P1, 0 P2, 0 P3, 0.25 P4, 0.25 P5, 0.25 P6 };\n",\
54
"{ 0 P1, 0.25 P2, 0.25 P3, 0 P4, 0.25 P5, 0.25 P6 };\n",\
63
"rule \"prism on quad, one trig\"\n",\
72
"(0.5, 0, -0.86);\n",\
73
"(0.5, 1, -0.86);\n",\
76
"(1, 2, 3, 4) del;\n",\
87
"(1, 5, 2, 4, 6, 3);\n",\
100
"{ 0.3 P1, -0.1 P2, -0.1 P3, 0.3 P4, 0.3 P5, 0.3 P6 };\n",\
101
"{ -0.1 P1, 0.3 P2, 0.3 P3, -0.1 P4, 0.3 P5, 0.3 P6 };\n",\
110
"{ 0.25 P1, 0 P2, 0 P3, 0.25 P4, 0.25 P5, 0.25 P6 };\n",\
111
"{ 0 P1, 0.25 P2, 0.25 P3, 0 P4, 0.25 P5, 0.25 P6 };\n",\
123
"rule \"prism on 2 quad\"\n",\
132
"(0.5, 0, -0.86);\n",\
133
"(0.5, 1, -0.86);\n",\
136
"(1, 2, 3, 4) del;\n",\
137
"(2, 5, 6, 3) del;\n",\
147
"(1, 5, 2, 4, 6, 3);\n",\
156
"{ 0.3 P1, -0.1 P2, -0.1 P3, 0.3 P4, 0.3 P5, 0.3 P6 };\n",\
165
"{ 0.25 P1, 0 P2, 0 P3, 0.25 P4, 0.25 P5, 0.25 P6 };\n",\
183
"rule \"prism on 2 quad, one trig\"\n",\
192
"(0.5, 0, -0.86);\n",\
193
"(0.5, 1, -0.86);\n",\
196
"(1, 2, 3, 4) del;\n",\
197
"(2, 5, 6, 3) del;\n",\
207
"(1, 5, 2, 4, 6, 3);\n",\
216
"{ 0.3 P1, -0.1 P2, -0.1 P3, 0.3 P4, 0.3 P5, 0.3 P6 };\n",\
225
"{ 0.25 P1, 0 P2, 0 P3, 0.25 P4, 0.25 P5, 0.25 P6 };\n",\
246
"rule \"prism on 2 quada\"\n",\
255
"(0.5, 0, -0.86);\n",\
256
"(0.5, 1, -0.86);\n",\
259
"(1, 2, 3, 4) del;\n",\
260
"(5, 1, 4, 6) del;\n",\
270
"(1, 5, 2, 4, 6, 3);\n",\
279
"{ -0.1 P1, 0.3 P2, 0.3 P3, -0.1 P4, 0.3 P5, 0.3 P6 };\n",\
288
"{ 0 P1, 0.25 P2, 0.25 P3, 0 P4, 0.25 P5, 0.25 P6 };\n",\
303
"rule \"fill prism\"\n",\
312
"(0.5, 0, -0.86);\n",\
313
"(0.5, 1, -0.86);\n",\
316
"(1, 2, 3, 4) del;\n",\
317
"(2, 5, 6, 3) del;\n",\
318
"(5, 1, 4, 6) del;\n",\
328
"(1, 5, 2, 4, 6, 3);\n",\
350
"rule \"prism on 3 quad, one trig\"\n",\
359
"(0.5, 0, -0.86);\n",\
360
"(0.5, 1, -0.86);\n",\
363
"(1, 2, 3, 4) del;\n",\
364
"(2, 5, 6, 3) del;\n",\
365
"(5, 1, 4, 6) del;\n",\
375
"(1, 5, 2, 4, 6, 3);\n",\
406
"rule \"flat prism\"\n",\
413
"(0.5, 0.866, 0);\n",\
416
"(0.5, 0.866, -1);\n",\
436
"(1, 2, 3, 5, 4, 6);\n",\