mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 01:58:22 +08:00
27 lines
689 B
Plaintext
Executable File
27 lines
689 B
Plaintext
Executable File
puts "================"
|
|
puts "OCC25380"
|
|
puts "================"
|
|
puts ""
|
|
#######################################################################
|
|
# Intersection curve cannot reach boundary of surface
|
|
#######################################################################
|
|
|
|
restore [locate_data_file bug25380_b1.brep] b1
|
|
restore [locate_data_file bug25380_b2.brep] b2
|
|
|
|
set log [bopcurves b1 b2]
|
|
|
|
regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} ${log} full Toler NbCurv
|
|
set MaxTol 1.e-11
|
|
if {${Toler} > ${MaxTol}} {
|
|
puts "Error: Tolerance is too big!"
|
|
}
|
|
checklength c_1 -l 1.614
|
|
|
|
smallview
|
|
donly c_1 b1
|
|
fit
|
|
display b2
|
|
|
|
checkview -screenshot -2d -path ${imagedir}/${test_image}.png
|