1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-16 10:54:53 +03:00
occt/tests/bugs/modalg/CR23137_1
pkv 8f15a0d540 0023137: Class BRepAlgoAPI_Cut does not made correct result on attached shapes.
class ShellFaceClassifier;
   - method:
void BOP_ShellFaceClassifier::ResetElement(const TopoDS_Shape& theElement)

The order of choice a testing point for the element has been changed.
The following order is:
-point inside an edge
-point as an vertex-point
-point inside UV-range of a surface

Adding test cases
Expected sduare is corrected
2012-10-05 14:20:32 +04:00

22 lines
541 B
Plaintext
Executable File

puts "============"
puts "CR23137"
puts "============"
puts ""
##########################################################################################################
# Class BRepAlgoAPI_Cut does not made correct result on attached shapes.
##########################################################################################################
restore [locate_data_file CR23137-bspl_cut.brep] b
explode b
copy b_1 b1
copy b_2 b2
#to provide positive volume of b2
invert b2
bop b1 b2
bopcut result
set square 44460.7
set 3dviewer 1