mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
The new option AllowInternalEdges has been added in the class ShapeUpgrade_UnifySameDomain. It determines how the algorithm treats the situation when two faces can be merged together but they have connection with another face via the common edge. With this option turned on, merging of such faces is not stopped, but the multiconnected edges are added to the merged face as INTERNAL edges. By default it is false. In this mode such merging is forbidden, so the result shape will not contain any new INTERNAL edges. The behavior of the algorithm has been changed so that it does not merge faces from different shells.
16 lines
402 B
Plaintext
16 lines
402 B
Plaintext
puts "============"
|
|
puts "OCC27082"
|
|
puts "============"
|
|
puts ""
|
|
###############################
|
|
## UnifySameDomain must add internal edges where appropriate to resolve self-intersections
|
|
###############################
|
|
|
|
restore [locate_data_file bug27082_shapes3.brep] a
|
|
unifysamedom result a +i
|
|
|
|
don result
|
|
smallview; l; fit
|
|
bopcheck result
|
|
checknbshapes result -m UnifySameDomain -face 225 -edge 576
|