mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0030590: Wrong result of Boolean Cut algorithm
Modification in static method BoundedArc of IntStart_SearchOnBoundaries: add exact intersection of canonical curve-surface (when Func is IntPatch_ArcFunction).
This commit is contained in:
21
tests/bugs/modalg_7/bug30590_1
Normal file
21
tests/bugs/modalg_7/bug30590_1
Normal file
@@ -0,0 +1,21 @@
|
||||
puts "==============================================="
|
||||
puts "OCC30590: Wrong result of Boolean Cut algorithm"
|
||||
puts "==============================================="
|
||||
puts ""
|
||||
|
||||
binrestore [locate_data_file bug30590_cut_argument1.bin] a
|
||||
binrestore [locate_data_file bug30590_cut_tool1.bin] b
|
||||
|
||||
bcut result a b
|
||||
|
||||
checkshape result
|
||||
|
||||
checknbshapes result -solid 1 -shell 1 -face 15 -wire 15 -edge 39 -vertex 26
|
||||
|
||||
set tolres [checkmaxtol result]
|
||||
|
||||
if { ${tolres} > 0.005} {
|
||||
puts "Error: bad tolerance of result"
|
||||
}
|
||||
|
||||
checkprops result -v 5639.93 -deps 1.e-7
|
21
tests/bugs/modalg_7/bug30590_2
Normal file
21
tests/bugs/modalg_7/bug30590_2
Normal file
@@ -0,0 +1,21 @@
|
||||
puts "==============================================="
|
||||
puts "OCC30590: Wrong result of Boolean Cut algorithm"
|
||||
puts "==============================================="
|
||||
puts ""
|
||||
|
||||
binrestore [locate_data_file bug30590_cut_argument1.bin] a
|
||||
binrestore [locate_data_file bug30590_cut_tool2.bin] b
|
||||
|
||||
bcut result a b
|
||||
|
||||
checkshape result
|
||||
|
||||
checknbshapes result -solid 1 -shell 1 -face 15 -wire 15 -edge 39 -vertex 26
|
||||
|
||||
set tolres [checkmaxtol result]
|
||||
|
||||
if { ${tolres} > 0.005} {
|
||||
puts "Error: bad tolerance of result"
|
||||
}
|
||||
|
||||
checkprops result -v 5639.78 -deps 1.e-7
|
21
tests/bugs/modalg_7/bug30590_3
Normal file
21
tests/bugs/modalg_7/bug30590_3
Normal file
@@ -0,0 +1,21 @@
|
||||
puts "==============================================="
|
||||
puts "OCC30590: Wrong result of Boolean Cut algorithm"
|
||||
puts "==============================================="
|
||||
puts ""
|
||||
|
||||
binrestore [locate_data_file bug30590_cut_argument1.bin] a
|
||||
binrestore [locate_data_file bug30590_cut_tool3.bin] b
|
||||
|
||||
bcut result a b
|
||||
|
||||
checkshape result
|
||||
|
||||
checknbshapes result -solid 1 -shell 1 -face 15 -wire 15 -edge 39 -vertex 26
|
||||
|
||||
set tolres [checkmaxtol result]
|
||||
|
||||
if { ${tolres} > 0.005} {
|
||||
puts "Error: bad tolerance of result"
|
||||
}
|
||||
|
||||
checkprops result -v 5638.15 -deps 1.e-7
|
Reference in New Issue
Block a user