mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-21 10:13:43 +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
26 lines
739 B
Plaintext
Executable File
26 lines
739 B
Plaintext
Executable File
puts "TODO OCC24861 ALL: Faulty shapes in variables faulty_1 to faulty_"
|
|
puts "TODO OCC24861 ALL: Error : The square of result shape is"
|
|
|
|
puts "========="
|
|
puts " OCC497 "
|
|
puts "(case 5)"
|
|
puts "========="
|
|
puts ""
|
|
########################################################
|
|
## Result of cut and fuse operation are faulty shapes although arguments are valid.
|
|
########################################################
|
|
|
|
restore [locate_data_file OCC497i.brep] a_1
|
|
checkshape a_1
|
|
|
|
restore [locate_data_file OCC497j.brep] a_2
|
|
checkshape a_2
|
|
|
|
if [catch {bfuse result a_1 a_2 } catch_result] {
|
|
puts "Faulty OCC497:function FUSE works wrongly "
|
|
} else {
|
|
puts "OCC497 : function FUSE works without hangs up "
|
|
}
|
|
set square 3280.73
|
|
set 2dviewer 0
|