1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-01 10:26:12 +03:00
occt/tests/bugs/modalg_6/bug26379_1
emv 0f04f1e11d 0026379: Wrong result produced by the volume maker algorithm
1. class BOPAlgo_ShellSplitter
static method void RefineShell(TopoDS_Shell& theShell,
                               BOPCol_ListOfShape& aLShX)
Added protection from INTERNAL edges.

2. class BOPAlgo_MakerVolume
method void BOPAlgo_MakerVolume::MakeBox(BOPCol_MapOfShape& theBoxFaces)
Creation of the overlapping box of proper size.

Test-cases for issue #26379
2015-07-09 14:20:02 +03:00

25 lines
525 B
Plaintext

puts "========"
puts "OCC26379"
puts "========"
puts ""
#######################################################
# Wrong result produced by the volume maker algorithm
#######################################################
restore [locate_data_file OCC26379-csf_2.brep] cf
mkvolume result cf -ni
vinit
vsetdispmode 1
vdisplay result
vfit
set bug_info [vreadpixel 350 310 name]
if {$bug_info != "DARKGOLDENROD3 1"} {
puts "ERROR: OCC26379 is reproduced. Volume is incorrect."
}
set square 6.60933e+006
set only_screen 1