1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00
occt/tests/bugs/modalg_6/bug27341_308
msv 14ea8abd0a 0027830: Infinite HLR looping
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
2016-09-15 12:19:52 +03:00

29 lines
526 B
Plaintext

puts "============"
puts "OCC27341"
puts "============"
puts ""
######################################################
# Incorrect exact HLR results
######################################################
pload XDE
pload QAcommands
testreadstep [locate_data_file bug27341_AWN_Adapter_CAD.stp] a
set viewname "right"
smallview
top
clear
OCC27341 result a ${viewname}
build3d result
fit
checkprops result -l 1170.46
checknbshapes result -vertex 486 -edge 243
checkview -screenshot -2d -path ${imagedir}/${test_image}.png