mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
I. New features: No new features. II. Changes: II.1. class BOPAlgo_ShellSplitter - statc function: void RefineShell(TopoDS_Shell& theShell); has been addded. The function provides splitting connexity block of faces when the block begins with the face that is intended to be internal. II.2. class BOPAlgo_ShellSplitter - statc function: Standard_Boolean IsClosedShell(const TopoDS_Shell& theShell); has been modified to process empty shells. II.3. class BOPAlgo_ShellSplitter - method: void BOPAlgo_ShellSplitter::SplitBlock(BOPTools_ConnexityBlock& aCB); has been modified to process connexity blocks of faces when the block begins with the face that is intended to be internal [ II.1 ]. III. Modified entities: packages: BOPAlgo Test case for issue CR24861
27 lines
640 B
Plaintext
Executable File
27 lines
640 B
Plaintext
Executable File
puts "========="
|
|
puts " OCC497 "
|
|
puts "(case 1)"
|
|
puts "========="
|
|
puts ""
|
|
########################################################
|
|
## Result of cut and fuse operation are faulty shapes although arguments are valid.
|
|
########################################################
|
|
|
|
restore [locate_data_file OCC497a.brep] a_1
|
|
checkshape a_1
|
|
|
|
restore [locate_data_file OCC497b.brep] a_2
|
|
checkshape a_2
|
|
|
|
explode a_2 so
|
|
bop a_2_1 a_2_2
|
|
bopfuse r1
|
|
|
|
if [catch {bcut result a_1 r1 } catch_result] {
|
|
puts "Faulty OCC497:function CUT works wrongly "
|
|
} else {
|
|
puts "OCC497 : function CUT works without hangs up "
|
|
}
|
|
set square 646.969
|
|
set 2dviewer 0
|