1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-06-15 11:44:07 +03:00
occt/tests/bugs/xde/bug22535_2
ika 602952413f 0022535: Cut sphere: invalid shape after reading from STEP
In cutting sphere it's seam edge was divided into two parts(by cylinder),
but pcurves of  the second were not shifted during shape healing.
Test cases correction
2013-08-15 17:23:40 +04:00

32 lines
646 B
Plaintext
Executable File

puts "==========="
puts "OCC22535"
puts "==========="
######################################################
# Cut cphere: invalid shape after reading from STEP
######################################################
set BugNumber OCC22535
restore [locate_data_file OCC22535-cut_comp.brep] a
testwritestep $imagedir/${test_image}.stp a
stepread $imagedir/${test_image}.stp b *
renamevar b_1 result
vinit
vsetdispmode 1
vdisplay result
vfit
set square 50201.3
set nb_v_good 15
set nb_e_good 24
set nb_w_good 9
set nb_f_good 8
set nb_sh_good 5
set nb_sol_good 4
set nb_compsol_good 0
set nb_compound_good 1
set nb_shape_good 66
set 3dviewer 1