7b5e532f |
1 | # Permutation of all forms of construction |
2 | # when fusing a box and a prism |
40093367 |
3 | |
4 | vertex vp1 3 3 0 |
5 | vertex vp2 8 3 0 |
6 | vertex vp3 8 9 0 |
7 | vertex vp4 3 9 0 |
8 | |
9 | edge eap vp1 vp2 |
10 | edge ebp vp2 vp3 |
11 | edge ecp vp3 vp4 |
12 | edge edp vp4 vp1 |
13 | |
14 | wire wp eap ebp ecp edp |
15 | mkplane fp wp |
16 | |
17 | prism ba fp 0 0 4 |
18 | |
19 | # prism from left |
20 | |
21 | vertex v1 3 2 0 |
22 | vertex v2 3 3 0 |
23 | vertex v3 3 3 1 |
24 | vertex v4 3 2 1 |
25 | |
26 | edge ea v1 v2 |
27 | edge eb v2 v3 |
28 | edge ec v3 v4 |
29 | edge ed v4 v1 |
30 | |
31 | wire w ea eb ec ed |
32 | mkplane f w |
33 | |
34 | prism bb f 1 0 0 |
35 | |
36 | bfuse result ba bb |
37 | |
58cf74e0 |
38 | checkprops result -s 152 |
5747059b |
39 | checkview -display result -2d -otherwise { ba bb } -s -path ${imagedir}/${test_image}.png |