mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-07 18:30:55 +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:
parent
da72a17c80
commit
27a6612865
tests/bugs
@ -11,6 +11,9 @@ set BugNumber OCC5805
|
|||||||
# pcone
|
# pcone
|
||||||
pcone s 30 5 20
|
pcone s 30 5 20
|
||||||
|
|
||||||
|
explode s sh
|
||||||
|
renamevar s_1 s
|
||||||
|
|
||||||
set distance -0.5
|
set distance -0.5
|
||||||
catch { OFFSETSHAPE $distance {} $calcul $type }
|
catch { OFFSETSHAPE $distance {} $calcul $type }
|
||||||
|
|
||||||
|
@ -10,6 +10,8 @@ set BugNumber OCC5805
|
|||||||
|
|
||||||
# pcone
|
# pcone
|
||||||
pcone s 30 5 20
|
pcone s 30 5 20
|
||||||
|
explode s sh
|
||||||
|
renamevar s_1 s
|
||||||
|
|
||||||
set distance -0.5
|
set distance -0.5
|
||||||
catch { OFFSETSHAPE $distance {s_2} $calcul $type }
|
catch { OFFSETSHAPE $distance {s_2} $calcul $type }
|
||||||
|
@ -10,6 +10,8 @@ set BugNumber OCC5805
|
|||||||
|
|
||||||
# pcone
|
# pcone
|
||||||
pcone s 30 5 20
|
pcone s 30 5 20
|
||||||
|
explode s sh
|
||||||
|
renamevar s_1 s
|
||||||
|
|
||||||
set distance -0.5
|
set distance -0.5
|
||||||
catch { OFFSETSHAPE $distance {s_3} $calcul $type }
|
catch { OFFSETSHAPE $distance {s_3} $calcul $type }
|
||||||
|
@ -10,6 +10,8 @@ set BugNumber OCC5805
|
|||||||
|
|
||||||
# pcone
|
# pcone
|
||||||
pcone s 30 5 20
|
pcone s 30 5 20
|
||||||
|
explode s sh
|
||||||
|
renamevar s_1 s
|
||||||
|
|
||||||
set distance -0.5
|
set distance -0.5
|
||||||
catch { OFFSETSHAPE $distance {s_2 s_3} $calcul $type }
|
catch { OFFSETSHAPE $distance {s_2 s_3} $calcul $type }
|
||||||
|
18
tests/bugs/modalg_5/bug20040
Normal file
18
tests/bugs/modalg_5/bug20040
Normal 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
|
Loading…
x
Reference in New Issue
Block a user