mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +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
18 lines
394 B
Plaintext
18 lines
394 B
Plaintext
puts "============"
|
|
puts "OCC27830"
|
|
puts "============"
|
|
puts ""
|
|
######################################################
|
|
# Infinite HLR looping
|
|
######################################################
|
|
|
|
restore [locate_data_file bug27830_body1.brep] result
|
|
|
|
vinit
|
|
vdisplay result
|
|
vfit
|
|
vhlr on
|
|
vhlrtype algo result
|
|
|
|
# no screenshot since the shape is a garbage, the test is just to check performance
|