mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0026578: Modeling Algorithm - Exceptions in offset operation with intersection
Added test cases
This commit is contained in:
parent
2a0420be1d
commit
5e53920228
14
tests/bugs/modalg_8/bug26578_1
Normal file
14
tests/bugs/modalg_8/bug26578_1
Normal file
@ -0,0 +1,14 @@
|
||||
puts "================================"
|
||||
puts "0026578: Modeling Algorithm - Exceptions in offset operation with intersection"
|
||||
puts "================================"
|
||||
puts ""
|
||||
|
||||
restore [locate_data_file bug26578_plate1.brep] s
|
||||
|
||||
offsetparameter 1e-7 p i
|
||||
offsetload s 100
|
||||
offsetperform r
|
||||
|
||||
checkshape r
|
||||
checknbshapes r -vertex 22 -edge 32 -wire 11 -face 11
|
||||
checkview -display r -2d -path ${imagedir}/${test_image}.png
|
12
tests/bugs/modalg_8/bug26578_2
Normal file
12
tests/bugs/modalg_8/bug26578_2
Normal file
@ -0,0 +1,12 @@
|
||||
puts "REQUIRED ALL: ERROR. Can not trim edges."
|
||||
|
||||
puts "================================"
|
||||
puts "0026578: Modeling Algorithm - Exceptions in offset operation with intersection"
|
||||
puts "================================"
|
||||
puts ""
|
||||
|
||||
restore [locate_data_file bug26578_plate2.brep] s
|
||||
|
||||
offsetparameter 1e-7 p i
|
||||
offsetload s -30
|
||||
offsetperform r
|
14
tests/bugs/modalg_8/bug26578_3
Normal file
14
tests/bugs/modalg_8/bug26578_3
Normal file
@ -0,0 +1,14 @@
|
||||
puts "================================"
|
||||
puts "0026578: Modeling Algorithm - Exceptions in offset operation with intersection"
|
||||
puts "================================"
|
||||
puts ""
|
||||
|
||||
restore [locate_data_file bug26578_plate3.brep] s
|
||||
|
||||
offsetparameter 1e-7 p i
|
||||
offsetload s 4
|
||||
offsetperform r
|
||||
|
||||
checkshape r
|
||||
checknbshapes r -vertex 25 -edge 36 -wire 12 -face 12
|
||||
checkview -display r -2d -path ${imagedir}/${test_image}.png
|
14
tests/bugs/modalg_8/bug26578_4
Normal file
14
tests/bugs/modalg_8/bug26578_4
Normal file
@ -0,0 +1,14 @@
|
||||
puts "================================"
|
||||
puts "0026578: Modeling Algorithm - Exceptions in offset operation with intersection"
|
||||
puts "================================"
|
||||
puts ""
|
||||
|
||||
restore [locate_data_file bug26578_plate4.brep] s
|
||||
|
||||
offsetparameter 1e-7 p i
|
||||
offsetload s 2
|
||||
offsetperform r
|
||||
|
||||
checkshape r
|
||||
checknbshapes r -vertex 22 -edge 31 -wire 10 -face 10
|
||||
checkview -display r -2d -path ${imagedir}/${test_image}.png
|
14
tests/bugs/modalg_8/bug26578_5
Normal file
14
tests/bugs/modalg_8/bug26578_5
Normal file
@ -0,0 +1,14 @@
|
||||
puts "================================"
|
||||
puts "0026578: Modeling Algorithm - Exceptions in offset operation with intersection"
|
||||
puts "================================"
|
||||
puts ""
|
||||
|
||||
restore [locate_data_file bug26578_plate5.brep] s
|
||||
|
||||
offsetparameter 1e-7 p i
|
||||
offsetload s 2
|
||||
offsetperform r
|
||||
|
||||
checkshape r
|
||||
checknbshapes r -vertex 39 -edge 57 -wire 19 -face 19
|
||||
checkview -display r -2d -path ${imagedir}/${test_image}.png
|
14
tests/bugs/modalg_8/bug26578_6
Normal file
14
tests/bugs/modalg_8/bug26578_6
Normal file
@ -0,0 +1,14 @@
|
||||
puts "================================"
|
||||
puts "0026578: Modeling Algorithm - Exceptions in offset operation with intersection"
|
||||
puts "================================"
|
||||
puts ""
|
||||
|
||||
restore [locate_data_file bug26578_plate7.brep] s
|
||||
|
||||
offsetparameter 1e-7 p i
|
||||
offsetload s 60
|
||||
offsetperform r
|
||||
|
||||
checkshape r
|
||||
checknbshapes r -vertex 15 -edge 21 -wire 7 -face 7
|
||||
checkview -display r -2d -path ${imagedir}/${test_image}.png
|
Loading…
x
Reference in New Issue
Block a user