mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-14 04:04:13 +08: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_3.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 7.22211e+006
|
|
|
|
set only_screen 1
|