1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/modalg_2/bug20964_1
knosulko cfde7eebb3 0024418: Modeling Algorithms - Wrong section curves when intersecting analytical surfaces
IntPatch_ALineToWLine.cxx - setting minimal number of points in a WLine depending on step size
IntPatch_WLineTool.cxx - fix WLines connecting check condition
test cases has been changed according to new behavior
2022-02-22 20:07:12 +03:00

39 lines
684 B
Plaintext
Executable File

puts "============"
puts "OCC20964: Wrong result of cut operation for given shapes"
puts "============"
puts ""
restore [locate_data_file OCC20964_revsolid.brep] b1
restore [locate_data_file OCC20964_sphere.brep] b2
bclearobjects
bcleartools
baddobjects b1
baddtools b2
bfillds
# SECTION
bbop result 4
checkprops result -l 323.635
checkshape result
checksection result -r 0
set NbShapesRef "
Number of shapes in .*
VERTEX : 6
EDGE : 6
WIRE : 0
FACE : 0
SHELL : 0
SOLID : 0
COMPSOLID : 0
COMPOUND : 1
SHAPE : 13
"
checknbshapes result -ref $NbShapesRef
checkmaxtol result -ref 2.0849512334752456e-05
checkview -display result -2d -path ${imagedir}/${test_image}.png