1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

33 lines
504 B
Plaintext

## Extension of /users/skv/testref/cd1/ED/cto/009/D1
dset r sqrt(3)/2
vertex v1 -1 -1 0
vertex v2 1+r -1 0
vertex v3 1+r 2 0
vertex v4 -1 2 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
trotate ba 0 0 0 0 0 1 60
circle c 0 0 0 1
mkedge eb c
wire wb eb
mkplane fb wb
prism cylb fb 0 0 2
bcommon result ba cylb
checkprops result -s 12.5664
checkview -display result -2d -s -otherwise { ba cylb } -path ${imagedir}/${test_image}.png