mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-12 02:40:22 +08:00
Attached invalid shape is represented by solid containing one face twice. Protection from such case was added in ShapeFix_Shell class. Creation of COMPSOLID was modified for case when shells composing COMPSOLID have the same shared faces in order to prevent hanging. Small modification.Protection to avoid exception Test-case for issue #26408
11 lines
248 B
Plaintext
11 lines
248 B
Plaintext
puts "========"
|
|
puts "OCC26408"
|
|
puts "========"
|
|
puts ""
|
|
#######################################
|
|
# Exception during fixshape procedure
|
|
#######################################
|
|
|
|
restore [locate_data_file OCC26408-shape_1.brep] a
|
|
fixshape r a 1.e-7 1.
|