1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0020040: Difference in treatment of closed curves in BRep_Builder::UpdateEdge

Test case was added

Modified test cases to extract the shell from the solid and check it for closeness.
This commit is contained in:
azv 2015-01-22 17:42:06 +03:00 committed by bugmaster
parent da72a17c80
commit 27a6612865
5 changed files with 27 additions and 0 deletions

View File

@ -11,6 +11,9 @@ set BugNumber OCC5805
# pcone
pcone s 30 5 20
explode s sh
renamevar s_1 s
set distance -0.5
catch { OFFSETSHAPE $distance {} $calcul $type }

View File

@ -10,6 +10,8 @@ set BugNumber OCC5805
# pcone
pcone s 30 5 20
explode s sh
renamevar s_1 s
set distance -0.5
catch { OFFSETSHAPE $distance {s_2} $calcul $type }

View File

@ -10,6 +10,8 @@ set BugNumber OCC5805
# pcone
pcone s 30 5 20
explode s sh
renamevar s_1 s
set distance -0.5
catch { OFFSETSHAPE $distance {s_3} $calcul $type }

View File

@ -10,6 +10,8 @@ set BugNumber OCC5805
# pcone
pcone s 30 5 20
explode s sh
renamevar s_1 s
set distance -0.5
catch { OFFSETSHAPE $distance {s_2 s_3} $calcul $type }

View File

@ -0,0 +1,18 @@
puts "=========="
puts "OCC20040"
puts "=========="
puts ""
###############################################
# Incorrect result of thrusections operation
###############################################
restore [locate_data_file bug20040_profile.brep] w1
checkshape w1
copy w1 w2
ttranslate w2 0 0 1
thrusections -N result 0 0 w1 w2
checkshape result
set 2dviewer 1