mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-07-30 13:05:50 +03:00
Modifications 1 1. To avoid creation of micro edges in the class BOPAlgo_PaveFiller added two new functions ForceInterfVE and ForceInterfVF which updates tolerance of Vertex to make it interfere with Edge and Face accordingly. 2. In the class BOPInt_Tools added new function IsInRange which checks whether two ranges cross each other. 3. In the class BOPTools_AlgoTools added new function IntersectCurves2d which intersects pcurves of the face to check it on the self-interference. 4. In the function IntTools_BeanFaceIntersector::FastComputeExactIntersection() the check on the coincidence of the whole edge with the face (BOPTools_AlgoTools::IsBlockInOnFace) replaced with the check on the coincidence of one intermediate point with that face. 5. Test cases bugs modalg_1 bug1255, bug1255_1 has been updated with more correct value of the result. 6. TODO statement has been removed from the test cases boolean bcut_complex B1,B3,B5,C2,C4,C6,C8 as they are correct. Adding test case for issue CR23958 Modification 2 1. In class BOPAlgo_PaveFiller added new function CheckPlanes(nF1, nF2) that checks whether two planar faces have common or intersecting sub shapes. If these two faces do not have such sub shapes there is no need to intersect them. 2. In the function BOPAlgo_PaveFiller::MakeBlocks() added block for reducing the tolerance values to the previous state for the vertices that were put on the section curve (with increasing of its tolerance value) that was rejected by the algorithm. Modification 3 Back to Extrema_ExtAlgo_Grad algorithm in extrema computations in Boolean Operations algorithm.
45 lines
806 B
Plaintext
Executable File
45 lines
806 B
Plaintext
Executable File
set os "ALL"
|
|
|
|
if {[array get env os_type] != ""} {
|
|
set os $env(os_type)
|
|
}
|
|
|
|
if {[string compare $os "MacOS"] == 0} {
|
|
puts "TODO #23828 MacOS: Tcl Exception: sh is not a topological shape!!!"
|
|
puts "TODO #23828 MacOS: TEST INCOMPLETE"
|
|
} else {
|
|
#puts "TODO OCC12345 ALL: Faulty shapes in variables faulty_1 to faulty_"
|
|
#puts "TODO OCC12345 ALL: Error : The square of result shape is"
|
|
}
|
|
|
|
puts "================"
|
|
puts "OCC62"
|
|
puts "BUC61001"
|
|
puts "================"
|
|
|
|
cpulimit 1400
|
|
restore [locate_data_file OCC62.brep] sh
|
|
|
|
explode sh
|
|
checkshape sh
|
|
|
|
bfuse res1 sh_1 sh_3
|
|
checkshape res1
|
|
|
|
bfuse res2 res1 sh_2
|
|
checkshape res2
|
|
|
|
bfuse res3 res2 sh_6
|
|
checkshape res3
|
|
|
|
bfuse res4 res3 sh_4
|
|
checkshape res4
|
|
|
|
bfuse res5 res4 sh_5
|
|
checkshape res5
|
|
|
|
renamevar res5 result
|
|
|
|
set square 1.21497e+7
|
|
set 2dviewer 0
|