mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-09 18:50:54 +03:00
36 lines
796 B
Plaintext
36 lines
796 B
Plaintext
puts "================"
|
|
puts "CR23614"
|
|
puts "================"
|
|
puts ""
|
|
#####################################################################
|
|
# BRepMesh creates incorrect triangulation on the attached models
|
|
#####################################################################
|
|
|
|
restore [locate_data_file bug23614_face3.brep] f3
|
|
tclean f3
|
|
incmesh f3 0.01
|
|
set info [trinfo f3]
|
|
regexp {([0-9]+) triangles} $info full tri
|
|
regexp {([0-9]+) nodes} $info full nod
|
|
|
|
# compare number of triangles
|
|
if { $tri == 0 } {
|
|
puts "Error: face contains $tri triangles"
|
|
} else {
|
|
puts "OK: face contains $tri triangles"
|
|
}
|
|
|
|
# compare number of nodes
|
|
if { $nod == 0 } {
|
|
puts "Error : face contains $nod nodes"
|
|
} else {
|
|
puts "OK: face contains $nod nodes"
|
|
}
|
|
|
|
top
|
|
fit
|
|
triangles f3
|
|
set only_screen_axo 1
|
|
|
|
|