mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-01 10:26:12 +03:00
0028719: Mesh - Display issue for special model
Clean existing triangulation before meshing.
This commit is contained in:
parent
99524c4d24
commit
87036bbb70
@ -1,5 +1,3 @@
|
|||||||
puts "TODO OCC28719 ALL: ERROR: OCC28719 is reproduced."
|
|
||||||
|
|
||||||
puts "========"
|
puts "========"
|
||||||
puts "OCC28719"
|
puts "OCC28719"
|
||||||
puts "========"
|
puts "========"
|
||||||
@ -9,17 +7,18 @@ puts ""
|
|||||||
###################################
|
###################################
|
||||||
|
|
||||||
restore [locate_data_file bug28719_display_issue.brep] result
|
restore [locate_data_file bug28719_display_issue.brep] result
|
||||||
|
tclean result
|
||||||
|
|
||||||
vinit
|
vinit
|
||||||
vdisplay result
|
vdisplay result
|
||||||
vsetdispmode result 1
|
vsetdispmode result 1
|
||||||
vfit
|
vfit
|
||||||
|
|
||||||
if {[string trim [vreadpixel 255 169 name]] == "GRAY75 1"} {
|
set log [tricheck result]
|
||||||
puts "ERROR: OCC28719 is reproduced. Nontriangulated faces have been detected."
|
if { [llength $log] != 0 } {
|
||||||
}
|
|
||||||
if {[string trim [vreadpixel 133 241 name]] == "GRAY75 1"} {
|
|
||||||
puts "ERROR: OCC28719 is reproduced. Nontriangulated faces have been detected."
|
puts "ERROR: OCC28719 is reproduced. Nontriangulated faces have been detected."
|
||||||
|
} else {
|
||||||
|
puts "Mesh is OK"
|
||||||
}
|
}
|
||||||
|
|
||||||
checkview -screenshot -3d -path ${imagedir}/${test_image}.png
|
checkview -screenshot -3d -path ${imagedir}/${test_image}.png
|
||||||
|
Loading…
x
Reference in New Issue
Block a user