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
530 B
Plaintext
29 lines
530 B
Plaintext
puts "============"
|
|
puts "OCC27341"
|
|
puts "============"
|
|
puts ""
|
|
######################################################
|
|
# Incorrect exact HLR results
|
|
######################################################
|
|
|
|
pload XDE
|
|
pload QAcommands
|
|
|
|
testreadstep [locate_data_file bug27341_ABS_Grundhalter_CAD.stp] a
|
|
|
|
set viewname "right"
|
|
|
|
smallview
|
|
top
|
|
clear
|
|
|
|
OCC27341 result a ${viewname}
|
|
build3d result
|
|
|
|
fit
|
|
|
|
checkprops result -l 2893.98
|
|
checknbshapes result -vertex 699 -edge 350
|
|
|
|
checkview -screenshot -2d -path ${imagedir}/${test_image}.png
|