mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
I ComputePurgedWLine() function: Excess points in walking line are deleted when: 1) Distance between neighboring points too small. 2) Points lie in one pipe without big jump on chord length. III Fixed problem with extremaPC with too close knot distribution to [minParam, maxParam] borders. IV ApproxInt_Approx.gxx New division criteria in intersection approximator. III Test case Test cases update to the new behavior. Test case for CR21564 Correction of test cases for issue CR21564
46 lines
1.0 KiB
Plaintext
46 lines
1.0 KiB
Plaintext
puts "========"
|
|
puts "OCC26310"
|
|
puts "========"
|
|
puts ""
|
|
#################################################
|
|
# Very slow boolean cut operations on cylinders
|
|
#################################################
|
|
|
|
restore [locate_data_file OCC26310-b1.brep] b1
|
|
restore [locate_data_file OCC26310-b2.brep] b2
|
|
|
|
bop b2 b1
|
|
|
|
bopcut res1
|
|
boptuc res2
|
|
|
|
checkshape res1
|
|
checkshape res2
|
|
|
|
set log1 [bopargcheck res1 #F]
|
|
set log2 [bopargcheck res2 #F]
|
|
|
|
if { [string first "Faulties for FIRST shape found : 2" $log1] >= 0 } {
|
|
puts "ERROR in bopargcheck res1"
|
|
}
|
|
|
|
if { [string first "Shapes with Continuity C0 : YES Cases(2) Total shapes(2)" $log1] >= 0 } {
|
|
puts "ERROR. res1 with continuity C0."
|
|
}
|
|
|
|
if { [string first "Faulties for FIRST shape found : 2" $log2] >= 0 } {
|
|
puts "ERROR in bopargcheck res2"
|
|
}
|
|
|
|
if { [string first "Shapes with Continuity C0 : YES Cases(2) Total shapes(2)" $log2] >= 0 } {
|
|
puts "ERROR. res2 with continuity C0."
|
|
}
|
|
|
|
smallview
|
|
donly res1
|
|
fit
|
|
xwd ${imagedir}/${casename}_1.png
|
|
donly res2
|
|
fit
|
|
xwd ${imagedir}/${casename}_2.png
|