mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-20 23:15:55 +08:00
104 lines
2.3 KiB
Plaintext
104 lines
2.3 KiB
Plaintext
puts "========"
|
|
puts "OCC349"
|
|
puts "1. Hidden line removal algorithm works incorrect in the perspective view"
|
|
puts "========"
|
|
|
|
vinit
|
|
box b 100 900 300
|
|
set 3dviewer 1
|
|
vdisplay b
|
|
|
|
OCC280 1 0
|
|
|
|
vfit
|
|
|
|
set x1 165
|
|
set y1 109
|
|
|
|
set x2 380
|
|
set y2 26
|
|
|
|
set x3 215
|
|
set y3 130
|
|
|
|
set x4 31
|
|
set y4 199
|
|
|
|
set x5 188
|
|
set y5 254
|
|
|
|
set x6 351
|
|
set y6 177
|
|
|
|
set x7 216
|
|
set y7 287
|
|
|
|
set x8 22
|
|
set y8 373
|
|
|
|
set x9 2
|
|
set y9 249
|
|
|
|
set x10 345
|
|
set y10 92
|
|
|
|
set x11 393
|
|
set y11 109
|
|
|
|
set x12 52
|
|
set y12 284
|
|
|
|
#
|
|
# ___________2________________
|
|
# /| /|
|
|
# / | / |
|
|
# / | / |
|
|
# / | / |
|
|
# / | / |
|
|
# 1 | 3 |
|
|
# / | / |
|
|
# / | / |
|
|
# / | / |
|
|
# / | / |
|
|
# ----------------4------------ |
|
|
# | | | |
|
|
# | | | |
|
|
# | | | |
|
|
# | 10 | 11
|
|
# | | | |
|
|
# | | | |
|
|
# | | | |
|
|
# | | | |
|
|
# | | | |
|
|
# 9 | 12 |
|
|
# | |___________6____|__________|
|
|
# | / | /
|
|
# | / | /
|
|
# | / | /
|
|
# | / | /
|
|
# | 5 | /
|
|
# | / | 7
|
|
# | / | /
|
|
# | / | /
|
|
# | / | /
|
|
# |/ |/
|
|
# |--------------8------------|
|
|
#
|
|
#
|
|
|
|
QAUpdateLights
|
|
checkcolor ${x1} ${y1} 1 1 0
|
|
checkcolor ${x2} ${y2} 1 1 0
|
|
checkcolor ${x3} ${y3} 1 1 0
|
|
checkcolor ${x4} ${y4} 1 1 0
|
|
checkcolor ${x7} ${y7} 1 1 0
|
|
checkcolor ${x8} ${y8} 1 1 0
|
|
checkcolor ${x9} ${y9} 1 1 0
|
|
checkcolor ${x11} ${y11} 1 1 0
|
|
checkcolor ${x12} ${y12} 1 1 0
|
|
checkcolor ${x5} ${y5} 0 0 0
|
|
checkcolor ${x6} ${y6} 0 0 0
|
|
checkcolor ${x10} ${y10} 0 0 0
|
|
|
|
set only_screen 1
|