File: G5

package info (click to toggle)
oce 0.17.2-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 297,992 kB
  • ctags: 203,291
  • sloc: cpp: 1,176,369; ansic: 67,206; sh: 11,647; tcl: 6,890; cs: 5,221; python: 2,867; java: 1,522; makefile: 338; xml: 292; perl: 37
file content (37 lines) | stat: -rw-r--r-- 445 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
dset r sqrt(2)


vertex v1 0 0 0
vertex v2 1 0 0
vertex v3 1 1 0
vertex v4 0 1 0

edge e1 v1 v2
edge e2 v2 v3
edge e3 v3 v4
edge e4 v4 v1

wire wa e1 e2 e3 e4
mkplane fa wa
prism ba fa 0 0 1

vertex v5 0 0 0
vertex v6 1.5 0 0
vertex v7 1.5 r/2 0
vertex v8 0 r/2 0

edge e5 v5 v6
edge e6 v6 v7
edge e7 v7 v8
edge e8 v8 v5

wire wb e8 e7 e6 e5
mkplane fb wb

prism bb fb 0 0 1

trotate bb 0 0 0 0 0 1 45

bcommon result ba bb 

set square 4.41421