mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Adjusting parameters on approximation (boundary condition) for case when projected curve is far from surface Test case is created
31 lines
651 B
Plaintext
31 lines
651 B
Plaintext
puts "========"
|
|
puts "OCC29183"
|
|
puts "========"
|
|
puts ""
|
|
#################################################
|
|
# Result of general fuse of shell and edge
|
|
# produces a shape with too large tolerance
|
|
#################################################
|
|
|
|
set MaxTol 30
|
|
|
|
restore [locate_data_file bug29183_shapes.brep] ss
|
|
bclearobjects
|
|
bcleartools
|
|
baddcompound ss
|
|
bfillds
|
|
bbuild r
|
|
|
|
regexp {Tolerance MAX=([-0-9.+eE]+)} [tolerance r] full toler
|
|
|
|
if {$toler > $MaxTol} {
|
|
puts "Error: Tolerance after fusing is too large"
|
|
}
|
|
|
|
checknbshapes r -m "Fusing result" -edge 18 -face 7
|
|
|
|
smallview
|
|
don r
|
|
fit
|
|
checkview -screenshot -2d -path ${imagedir}/${test_image}_1.png
|