mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Diagnostic of mixed connectivity of faces along common edge is added. If algorithm finds such pair of faces, it stops working with special error code.
35 lines
854 B
Plaintext
Executable File
35 lines
854 B
Plaintext
Executable File
puts "TODO OCC25925 ALL: ERROR. Mixed connectivity of faces."
|
|
|
|
puts "============"
|
|
puts "OCC5805"
|
|
puts "============"
|
|
puts ""
|
|
######################################################
|
|
# BRepOffsetAPI_MakeThickSolid behaves unstably and produces very different results.
|
|
######################################################
|
|
|
|
set BugNumber OCC5805
|
|
|
|
restore [locate_data_file OCC5805.brep] a
|
|
|
|
checkshape a
|
|
|
|
explode a f
|
|
|
|
offsetparameter 1e-7 c a
|
|
offsetload a -1
|
|
|
|
if { [catch { offsetperform result } catch_result] } {
|
|
puts "Faulty ${BugNumber} : offsetshape is wrong"
|
|
}
|
|
|
|
if { [isdraw result] } {
|
|
checkmaxtol result -min_tol 1.
|
|
|
|
checkprops result -s 876.584
|
|
checkshape result
|
|
|
|
checknbshapes result -vertex 10 -edge 15 -wire 7 -face 7 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 41
|
|
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
|
}
|
|
|