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

12 lines
265 B
Plaintext

box b1 0 0 0 1 1 1
dset a30 atan2(1,2)*180/pi
dset r sqrt(5)
box b2 0 0.5 0 r/2 1/r 0.5
trotate b2 0 0.5 0 0 0 1 a30
bop b1 b2
bopcommon result
checkprops result -s 1.80902
checkview -display result -2d -otherwise { b1 b2 } -s -path ${imagedir}/${test_image}.png