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

22 lines
474 B
Plaintext

puts "==========="
puts "OCC22240"
puts "==========="
puts ""
############################################
# Bad triangulation of transformed shapes
############################################
restore [locate_data_file bug22240_Pump_Nut.brep] a
restore [locate_data_file bug22240_Pump_Nut.brep] b
bscale b 0 0 0 2.
vinit
vdisplay a b
vsetdispmode a 1
vsetdispmode b 1
vfit
checkcolor 320 104 0.78 0.55 0.09
checkview -screenshot -3d -path ${imagedir}/${test_image}.png