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/bug29787
tiv 293211aee0 0030592: Draw Harness, ViewerTest - provide vbackground command unifying vsetbg, vsetbgmode, vsetgradientbg, vsetgrbgmode, vsetcolorbg
A new command vbackground is created. Old background commands are made aliases for the newly created command (including vsetdefaultbg).
Tests are modified using newly added command vbackground.
2019-04-22 19:31:24 +03:00

26 lines
522 B
Plaintext

puts "========"
puts "0029787: Visualization - Avoid in presentation edges of certain continuity class"
puts "========"
puts ""
pload MODELING VISUALIZATION
vclear
vinit View1
vbackground -color WHITE
psphere s1 1
psphere s2 1
psphere s3 1
ttranslate s2 4 0 0
ttranslate s3 8 0 0
vdisplay -dispMode 0 s1
vdisplay -dispMode 1 s2 s3
vfit
vaspects s2 -setFaceBoundaryDraw 1 -setFaceBoundaryColor RED
vaspects s3 -setFaceBoundaryDraw 1 -setFaceBoundaryColor RED -setMostContinuity c2
vdump $::imagedir/${::casename}.png