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