mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-08-15 15:00:30 +08:00
93e38faa3b
1. New sharing algorithm has been implemented. If intermediate point of some edge is included in the tube with center taken in another edge and radius equaled to maximal vertex-tolerance of both edges then these two edges are considered to be shared. This know-how touches edges only, which have common blocks with interfered faces. If they do not have any common-blocks the algorithm will work as before. 2. Interface of BOPAlgo_PaveFiller::IsExistingPaveBlock(...) method has been changed. Creation of test case for issues #27128 and #27179 Adjusting some test cases according to their new behavior, because they are IMPROVEMENTS really (TODOs have been deleted).
27 lines
581 B
Plaintext
Executable File
27 lines
581 B
Plaintext
Executable File
puts "========="
|
|
puts " OCC1255 "
|
|
puts "========="
|
|
puts ""
|
|
###############################################
|
|
## Exception in command 'section'
|
|
# (This script tests new topology)
|
|
###############################################
|
|
|
|
restore [locate_data_file OCC1255.brep] a
|
|
checkshape a
|
|
|
|
plane p1 0 -36.8067 0 0 1 0
|
|
mkface f1 p1
|
|
|
|
if { [catch {bop a f1 } ] } {
|
|
puts "Faulty OCC1255: BOP operation was made wrongly"
|
|
} else {
|
|
bopsection result
|
|
}
|
|
|
|
checkprops result -l 5837.18
|
|
checkshape result
|
|
checksection result
|
|
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
|
|