1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

0023580: [Regression] BRepMesh 6.5.4 produces visually incorrect view

Added test case and modified end file in /bugs/mesh
This commit is contained in:
apn 2012-12-14 11:26:10 +04:00 committed by mkv
parent bca1d6e249
commit c7e8fd777c
2 changed files with 21 additions and 0 deletions

17
tests/bugs/mesh/bug23580 Executable file
View File

@ -0,0 +1,17 @@
set TheFileName bug23580_s01b.brep
set command shading
set view_mode 1
set scale 22.72238888844592
set center_X 54.275274086276305
set center_Y 66.56297910620242
set proj_X 0.94441431760787964
set proj_Y 0.32281890511512756
set proj_Z 0.062204398214817047
set up_X 0.21238809823989868
set up_Y 0.45467549562454224
set up_Z 0.86496323347091675
set at_X 32.666717529296875
set at_Y -25.202365875244141
set at_Z 32.635223388671875

4
tests/bugs/mesh/end Normal file → Executable file
View File

@ -25,6 +25,10 @@ if { [string compare $command "shading"] == 0 } {
vinit
vdisplay res
vsetdispmode res 1
if { [info exists view_mode] } {
pload QAcommands
QASetViewCharac ${scale} ${center_X} ${center_Y} ${proj_X} ${proj_Y} ${proj_Z} ${up_X} ${up_Y} ${up_Z} ${at_X} ${at_Y} ${at_Z}
}
vfit
}