1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0022715: Incorrect faces of the filleted cube after import from iges file

Writing and reading tabulated cylinders in IGES were changed in accordance of Type 122 (parametrization [0,1]x[0,1]

some cosmetic changes
Adding test cases for this fix
This commit is contained in:
ika
2012-12-28 17:59:09 +04:00
parent bfff00a894
commit a9da59ffb6
4 changed files with 106 additions and 30 deletions

45
tests/bugs/iges/bug22715_1 Executable file
View File

@@ -0,0 +1,45 @@
puts "============"
puts "OCC22715"
puts "============"
puts ""
#######################################################################
# Incorrect faces of the filleted cube after import from iges file
#######################################################################
readstep [locate_data_file bug22715_cube.stp] s1 *
puts [whatis s1]
explode s1 F
checkshape s1_1
checkshape s1_2
checkshape s1_3
checkshape s1_4
checkshape s1_5
checkshape s1_6
checkshape s1_7
checkshape s1_8
checkshape s1_9
checkshape s1_10
checkshape s1_12
checkshape s1_13
checkshape s1_14
checkshape s1_15
checkshape s1_16
checkshape s1_17
checkshape s1_18
checkshape s1_19
checkshape s1_20
checkshape s1_21
checkshape s1_22
checkshape s1_23
checkshape s1_24
checkshape s1_25
checkshape s1_26
renamevar s1 result
set check_square 1
set square 49245
set 3dviewer 1

46
tests/bugs/iges/bug22715_2 Executable file
View File

@@ -0,0 +1,46 @@
puts "============"
puts "OCC22715"
puts "============"
puts ""
#######################################################################
# Incorrect faces of the filleted cube after import from iges file
#######################################################################
igesbrep [locate_data_file bug22715_cube.igs] s2 *
puts [whatis s2]
explode s2 F
explode s2
checkshape s2_1
checkshape s2_2
checkshape s2_3
checkshape s2_4
checkshape s2_5
checkshape s2_6
checkshape s2_7
checkshape s2_8
checkshape s2_9
checkshape s2_10
checkshape s2_12
checkshape s2_13
checkshape s2_14
checkshape s2_15
checkshape s2_16
checkshape s2_17
checkshape s2_18
checkshape s2_19
checkshape s2_20
checkshape s2_21
checkshape s2_22
checkshape s2_23
checkshape s2_24
checkshape s2_25
checkshape s2_26
renamevar s2 result
set check_square 1
set square 49245
set 3dviewer 1