mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
Make protection of HLR algo against garbage data in faces. In particular case, there are faces built on a periodical surfaces, which U bounds exceed period thousands times. Such faces are excluded from the process of edges hiding. In addition, while fitting the intersection point in period for periodical faces, replace looping with the single call to AdjustPeriodic method. - Add new test case. - Update tests of HLR according to new numbers of subshapes. Update of test cases according to the new behavior
29 lines
528 B
Plaintext
29 lines
528 B
Plaintext
puts "============"
|
|
puts "OCC27341"
|
|
puts "============"
|
|
puts ""
|
|
######################################################
|
|
# Incorrect exact HLR results
|
|
######################################################
|
|
|
|
pload XDE
|
|
pload QAcommands
|
|
|
|
testreadstep [locate_data_file bug27341_CCT_PMK_32_L_o_CAD.stp] a
|
|
|
|
set viewname "right"
|
|
|
|
smallview
|
|
top
|
|
clear
|
|
|
|
OCC27341 result a ${viewname}
|
|
build3d result
|
|
|
|
fit
|
|
|
|
checkprops result -l 2704.1
|
|
checknbshapes result -vertex 594 -edge 297
|
|
|
|
checkview -screenshot -2d -path ${imagedir}/${test_image}.png
|