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

0025628: BRepMesh fails to mesh face with open wire, considered as correct by checkshape

Do not check status for "UnorientedWire", but check number of triangles instead.
This commit is contained in:
oan 2018-11-16 14:20:54 +03:00 committed by apn
parent 87036bbb70
commit 1bb8ce7b7d

View File

@ -1,7 +1,3 @@
puts "TODO CR25628 ALL: Error: Number of triangles is equal to 0"
puts "TODO CR25628 ALL: Error: Number of nodes is equal to 0"
puts "TODO CR25628 ALL: Error: BRepMesh fails to mesh face with open wire, considered as correct by checkshape"
puts "=========" puts "========="
puts "CR25628: BRepMesh fails to mesh face with open wire, considered as correct by checkshape" puts "CR25628: BRepMesh fails to mesh face with open wire, considered as correct by checkshape"
puts "=========" puts "========="
@ -15,15 +11,21 @@ explode a f
checkshape a_36 checkshape a_36
set Log [incmesh a_36 0.1] incmesh a_36 0.1
if {[regexp "UnorientedWire" ${Log}] == 1} {
puts "Error: BRepMesh fails to mesh face with open wire, considered as correct by checkshape" set log [tricheck a_36]
if { [llength $log] != 0 } {
puts "ERROR: OCC25628 is reproduced. Nontriangulated face have been detected."
} else {
puts "Mesh is OK"
} }
checktrinfo a_1 -tri -nod checktrinfo a_36 -tri 37 -nod 39
smallview vinit
donly a_36 vdisplay a_36
left vsetdispmode a_36 1
fit vleft
checkview -screenshot -2d -path ${imagedir}/${test_image}-2d.png vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png