0021762: Integration of new Boolean Operation algorithm to OCCT.

Modifications:
- BRepOffset/BRepOffset_Tool.cxx, Features and Fillets algorithms have been ported on new BO algorithm.
- Old BO algorithm, that was implemented in BOP, BooleanOperations and BOPTools packages, has - been deleted.
- Porting SALOME algorithms to new BOP algorithm.
- Fixing regressions. Rebased on current master.
- Corrections in post treatment of section edges;
- Corrections in the accordance with the bug 0023293;
- Small corrections in the bopcheck and bopargcheck commands.
- NCollection maps have been replaced by NCollection indexed maps to guarantee the constant order of sub-shapes in the result of boolean operation.
- Test case feat featprism M9 has been fixed.
- Test cases chl 902 E3 H3 have been fixed (corrections in the treatment of section edges).
- Test cases caf driver B6 B7, caf named_shape F6 F7 have been modified according to the new order of sub-shapes in the result of boolean operation.
- Test cases blend buildevol G1, blend simple K4, bcommon_complex C7, feat featprism L6 have been modified as they are improvements.
- Test case boolean bsection A3 has been modified according to the new syntax of the bsection command.
- Test cases boolean bfuse_complex J1 P9 have been fixed (the function IsInternalFace has been modified to use the function GetFaceOff);
- Test case chl 902 H3 has been fixed (changes in the treatment of section edges);
- Test case boolean bsection D8 has been modified (removed TODO statement);
- Test case boolean bsection A3 has been modified (as the shapes have been changed).
- Added correction of the tolerance values of the shapes according to the bug 0023610.
- test cases:
    boolean bcommon_complex C3,
    boolean bcut_complex F2 O7,
    boolean bfuse_complex C4 C5 E4,
    boolean bsection B6 M8 M9 N4 N5 N7,
    boolean bfuse_simple ZP6,
    draft angle G8,
    feat featprism S2
have been marked as invalid according to the bug 0022033;
- New value of result has been set in the test cases :
    boolean bopsection D4
    boolean bsection R8
as it is correct.
- test case bugs modalg bug23472 has been rewritten according to the new format of bsection command.
- The classes IntTools_Context and IntTools_ShrunkRange have been replaced by BOPInt_Context and BOPInt_ShrunkRange accordingly.
- The new class BRepAlgoAPI_Check has been added according to the bug 0023648.
- Some regressions have been fixed.
- The following test cases have been marked as invalid or rewritten
    bugs modalg buc60462_2, 60531_2, 60776_1, bug472_1, bug472_2, bug472_3, bug497_3, bug62
    bugs moddata bug26_1, bug26_2,
- The test case bugs modalg buc60533 has been rewritten to use the general fuse algorithm for building the result.
- The new value of the result has been set in the test case bugs modalg 60776_2.
- The following test cases have been rewritten according to the new format of the bsection command
    bugs modlag fra62369, pro18892
    bugs moddata bug75_1, bug75_2
- Corrected BRepAlgoAPI_Check.
- Removed package BOPTColStd.
- Rewritten test cases caf named_shape F8 F9.
- Removed unnecessary comments.
- Corrected the following test scripts :
    boolean bcut_complex(012) O3 O4 O5 O6 O8
    boolean bfuse_complex(013) O5 O6 P8
    boolean bopcommon_complex(021) D8 D9
    boolean bopfuse_complex(022) H1 J6
    boolean boptuc_complex(024) D5
    bugs modalg(006) bug399 bug497_1
    feat featprism(003) C4
- Corrections in the treatment of section edges (putting paves on the curves);
- Corrections in BRepOffset_Tool;
- The following test cases have been rewritten according to the new format of the bsection command
   bugs modalg bug6502, bug6554, bug6766_1, bug6766_3
- The new value of the result has been set in the following test cases
   bugs modalg bug1255, bug1255_1
- The following test cases have been marked as invalid or rewritten
   bugs modalg bug472_2, bug472_3, bug825_2
   bugs moddata bug10603, bug152_1, bug152_2, bug3721_1, bug3721_2, bug3721_3
- The following test cases have been rewritten as improvements
   bugs modalg bug693, bug693_1, bug817_1
   bugs moddata bug3721_5, bug3721_6, bug6862_3, bug6862_4, bug6862_6
- Test cases bugs modlag buc60787_1, buc60787_2, buc60788_2, buc60788_3 have been corrected.
- Fixed some SALOME regressions (modifications in the treatment of the section edges);
- Fixed test case bugs modalg bug23100;
- Test cases bugs modalg bug21754, bug22990 have been corrected according to the new format of the bsection command.
- Test cases bugs modalg bug13116_*, bug23711 have been fixed;
- Test cases bugs modalg bug697_2, bug697_4, bug697_7, bug697_8 have been marked as invalid according to the issue 0022033;
- Test cases bugs modalg bug22109_2, bug22109_3 have been corrected;
- Test case bugs modalg bug18186 has been corrected as it is improvement;
- Test case bugs modalg bug22802 has been deleted as there is no package BOPTColStd.
This commit is contained in:
emv
2013-02-08 17:42:05 +04:00
parent a8676008f7
commit 4e57c75ee1
642 changed files with 41066 additions and 67951 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file a2] a
restore [locate_data_file b2_bsect] b
bsection result a b
bsection result a b -n2d
set length 25.1327
+3
View File
@@ -1,3 +1,6 @@
puts "TODO #22911 ALL: Error : The $command is not valid. The length is 0."
puts "TODO #22911 ALL: Error : The length of the resulting shape is"
restore [locate_data_file a16] a
restore [locate_data_file b16] b
bsection result a b
+1 -1
View File
@@ -2,4 +2,4 @@ restore [locate_data_file a40] a
restore [locate_data_file b40] b
bsection result a b
set length 39.8158
set length 50.8667
+1 -2
View File
@@ -1,6 +1,5 @@
puts "TODO OCC22911 ALL: Error : The bsection is not valid."
restore [locate_data_file a49] a
restore [locate_data_file b50] b
bsection result a b
set length 0
set length 254.014
+1 -2
View File
@@ -1,6 +1,5 @@
puts "TODO OCC22911 ALL: Error : The bsection is not valid."
restore [locate_data_file a49] a
restore [locate_data_file b49] b
bsection result a b
set length 0
set length 122.155
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file BUGDATA_2293.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 285.489
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file BUGDATA_2293_nofog.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 285.489
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file BUGDATA_2381.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 691.399
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file BUGDATA_2381_nofog.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 691.399
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN453.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 267.619
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN453_nofog.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 267.619
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN465.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 49.9609
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN465_nofog.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 49.9609
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN510-3454.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 8.10428
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN510-3454_nofog.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 8.14819
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN510-3666.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 114.142
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN510-3666_nofog.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 114.142
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN510-3681.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 38.4985
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN510-3681_nofog.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 38.4985
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN525_3291.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 335.21
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN525_3367_1.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 356.984
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN525_3367_1_nofog.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 356.984
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN525_3367_2.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 356.984
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN525_3367_2_nofog.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 356.984
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN525_3403.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 1093.37
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN525_3403_nofog.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 1093.37
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN539.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 2225.71
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN539_nofog.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 2224.79
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN585.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 2225.7
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN585_nofog.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 2224.79
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN594.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 30.8671
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN594_nofog.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 30.8671
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN605.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 8.41959
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN605_nofog.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 8.41959
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN664.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 718.013
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN664_nofog.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 718.013
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN676.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 88.9434
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN676_nofog.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 88.9434
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN525_3291.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 335.21
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN731.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 445.675
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN731_nofog.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 445.675
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN745.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 96.7669
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN745_nofog.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 96.7669
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN746.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 556.6
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN746_nofog.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 556.6
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN747.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 72.4212
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN747_nofog.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 79.8847
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN757.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 683.183
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN757_nofog.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 683.183
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN758.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 22.2575
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN758_nofog.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 22.2575
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN776.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 226.488
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN776_nofog.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 226.487
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN778.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 456.707
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file GEN778_nofog.rle] a
explode a
bsection result a_1 a_2 -2d -a
bsection result a_1 a_2
set length 456.707
+3 -3
View File
@@ -16,7 +16,7 @@ set i -5
while {$i < 0} {
plane p_$i $i*1000 0 0 1 0 0
mkface f_$i p_$i
bsection s_$i b f_$i -2d -a
bsection s_$i b f_$i
compound result s_$i result
set dist [expr $i * 1000]
puts "OK Section$i:$dist"
@@ -27,7 +27,7 @@ incr i 5
while {$i <= 30} {
plane p_$i $i*1000 0 0 1 0 0
mkface f_$i p_$i
bsection s_$i b f_$i -2d -a
bsection s_$i b f_$i
compound result s_$i result
set dist [expr $i * 1000]
puts "OK Section$i:$dist"
@@ -37,7 +37,7 @@ incr i 20
while {$i <= 105} {
plane p_$i $i*1000 0 0 1 0 0
mkface f_$i p_$i
bsection s_$i b f_$i -2d -a
bsection s_$i b f_$i
compound result s_$i result
set dist [expr $i * 1000]
puts "OK Section$i:$dist"
+1 -1
View File
@@ -16,7 +16,7 @@ compound result
repeat 21 {
plane p_$i 0 $i*100 0 0 1 0
mkface f_$i p_$i
bsection s_$i b f_$i -2d -a
bsection s_$i b f_$i
compound result s_$i result
set dist [expr $i * 100]
puts "OK Section:$dist"
+1 -1
View File
@@ -1,6 +1,6 @@
restore [locate_data_file lh3d_px1.brep] a
plane p 0 0 0 1 0 0
mkface f p
bsection result a f -2d -a
bsection result a f
set length 18981.4
+1 -2
View File
@@ -1,12 +1,11 @@
cpulimit 2000
restore [locate_data_file lh3d_px2.brep] a
compound result
set i 1
repeat 199 {
plane p_$i 0 $i*100 0 0 1 0
mkface f_$i p_$i
bsection s_$i a f_$i -2d -a
bsection s_$i a f_$i
compound result s_$i result
set dist [expr $i * 100]
puts "OK Section:$dist"
+1 -1
View File
@@ -6,7 +6,7 @@ compound result
repeat 155 {
plane p_$i 0 0 $i*100 0 0 1
mkface f_$i p_$i
bsection s_$i a f_$i -2d -a
bsection s_$i a f_$i
compound result s_$i result
display s_$i
clear f_$i
+1 -1
View File
@@ -5,7 +5,7 @@ set i -60
repeat 108 {
plane p_$i $i*1000 0 0 1 0 0
mkface f_$i p_$i
bsection s_$i a f_$i -2d -a
bsection s_$i a f_$i
display s_$i
compound result s_$i result
clear f_$i
+12 -1
View File
@@ -1,3 +1,14 @@
if { [array get env os_type] != "" } {
set os $env(os_type)
}
if { [string compare $os "windows"] == 0 } {
puts "TODO #22911 ALL: An exception was caught"
puts "TODO #22911 ALL: \\*\\* Exception \\*\\*.*"
puts "TODO #22911 ALL: TEST INCOMPLETE"
} else {
puts "TODO #22911 ALL: TEST INCOMPLETE"
}
cpulimit 900
restore [locate_data_file lh3d_ro1.brep] a
@@ -7,7 +18,7 @@ set i 1
repeat 199 {
plane p_$i 0 $i*100 0 0 1 0
mkface f_$i p_$i
bsection s_$i a f_$i -2d -a
bsection s_$i a f_$i
compound result s_$i result
display s_$i
clear f_$i
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file pro14150a.rle] a
restore [locate_data_file pro14150b.rle] b
bsection result a b -2d
bsection result a b
set length 267.619
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file pro14151a.rle] a
restore [locate_data_file CFI_pro14fjq.rle] b
bsection result a b -2d
bsection result a b
set length 49.9609
+1 -1
View File
@@ -1,5 +1,5 @@
restore [locate_data_file pro14151a.rle] a
restore [locate_data_file CFI_pro14fjq.rle] b
bsection result b a -2d
bsection result b a
set length 49.9609
+1 -1
View File
@@ -2,6 +2,6 @@ restore [locate_data_file CIN901_intcqhmi.rle] m
explode m
compound m_1 m_3 c1
compound m_2 m_4 c2
bsection result c1 c2 -2d -a
bsection result c1 c2
set length 40.5172
+1 -1
View File
@@ -2,6 +2,6 @@ restore [locate_data_file CIN901_intcqhmj.rle] m
explode m
# m_1 : Sr Revolution
# m_2 : Sr Reglee
bsection result m_1 m_2 -2d -a
bsection result m_1 m_2
set length 126.535
+1 -1
View File
@@ -3,6 +3,6 @@ explode m
# m_1 : Cq
# m_2 -> m_5 : Cones
compound m_2 m_3 m_4 m_5 c1
bsection result m_1 c1 -2d -a
bsection result m_1 c1
set length 214.703
+2 -2
View File
@@ -3,9 +3,9 @@ explode m
# primitives : m_1 m_3 m_4 m_5
# m_2 : Bloc
compound m_1 m_3 m_5 c1
bsection s c1 m_2 -2d -a
bsection s c1 m_2
# PB
bsection s2 m_4 m_2 -2d -a
bsection s2 m_4 m_2
compound s s2 result
set length 682.142
+1 -1
View File
@@ -1,6 +1,6 @@
restore [locate_data_file CIN902_intcqhmn.rle] m
explode m f
# m_1
bsection result m_1 m_2 -2d -a
bsection result m_1 m_2
set length 27.9451
+1 -1
View File
@@ -2,6 +2,6 @@ restore [locate_data_file CIN902_intcqhmp.rle] m
explode m
# m_1 : Prisme
# m_2 : Contre-depouille
bsection result m_1 m_2 -2d -a
bsection result m_1 m_2
set length 574.782
+1 -1
View File
@@ -2,6 +2,6 @@ restore [locate_data_file CIN902_intcqhmr.rle] m
explode m
# m_1 : Bossage
# m_2 : Carreau (Enveloppe)
bsection result m_1 m_2 -2d -a
bsection result m_1 m_2
set length 202.944
+1 -1
View File
@@ -6,6 +6,6 @@ explode m
# m_4 : Bis a 45 degre
# m_5 : Bis a n degre
compound m_2 m_3 m_4 m_5 c1
bsection result m_1 c1 -2d -a
bsection result m_1 c1
set length 264.653
+1 -3
View File
@@ -10,6 +10,4 @@ renamevar c2_1 c2
bsection result c1 c2
# CR23404
#set length 550.64
set length 575.486
set length 575.501
+1 -1
View File
@@ -8,4 +8,4 @@ restore [locate_data_file ger61235b.brep] object
bsection result object tool
set length 16.4762
set length 11.8242
+1 -3
View File
@@ -13,6 +13,4 @@ renamevar c2_1 c2
bsection result c1 c2
# CR23404
#set length 550.64
set length 575.486
set length 575.501