mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +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
538 B
Plaintext
29 lines
538 B
Plaintext
puts "============"
|
|
puts "OCC27341"
|
|
puts "============"
|
|
puts ""
|
|
######################################################
|
|
# Incorrect exact HLR results
|
|
######################################################
|
|
|
|
pload XDE
|
|
pload QAcommands
|
|
|
|
testreadstep [locate_data_file bug27341_rhombisch_Form_V_IC_476_L_CAD.stp] a
|
|
|
|
set viewname "right"
|
|
|
|
smallview
|
|
top
|
|
clear
|
|
|
|
OCC27341 result a ${viewname}
|
|
build3d result
|
|
|
|
fit
|
|
|
|
checkprops result -l 40.3211
|
|
checknbshapes result -vertex 60 -edge 30
|
|
|
|
checkview -screenshot -2d -path ${imagedir}/${test_image}.png
|