1
0
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:
akaftasev 2023-08-02 12:36:55 +01:00 committed by jokwajeb
parent 2a0420be1d
commit 5e53920228
6 changed files with 82 additions and 0 deletions

View 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

View 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

View 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

View 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

View 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

View 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