mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-26 11:05:31 +03:00
Modifications in the source files: 1. Added correction of the tolerance values of the shapes according to the bug 0023610. Modifications in the test scripts: 1. 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; 2. New value of result has been set in the test cases : boolean bopsection D4 boolean bsection R8 as it is correct. 3. test case bugs modalg bug23472 has been rewritten according to the new format of bsection command.
23 lines
649 B
Plaintext
Executable File
23 lines
649 B
Plaintext
Executable File
puts "============"
|
|
puts "CR23472"
|
|
puts "============"
|
|
puts ""
|
|
##########################################################################################################
|
|
# BRepAlgoAPI_Section algorithm fails with exception while intersecting two faces
|
|
##########################################################################################################
|
|
|
|
restore [locate_data_file bug23472_f1.brep] f1
|
|
restore [locate_data_file bug23472_f2.brep] f2
|
|
|
|
bsection result f1 f2
|
|
|
|
regexp {Mass +: +([-0-9.+eE]+)} [lprops result] full l
|
|
|
|
if { $l != 0} {
|
|
puts "Error : The bsection is not valid"
|
|
}
|
|
|
|
# Service parameters
|
|
set mass -0.1
|
|
set m -0.1
|