mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-01 10:26:12 +03:00
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
25 lines
525 B
Plaintext
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
|