mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
The map to protect the result of Boolean operation from duplicating parts in containers has been removed (method void BOPAlgo_BOP::BuildShape()). The results of Boolean operations on containers will be the following: 1. For the arguments of collection type (WIRE, SHELL, COMPSOLID) containing overlapping parts the overlapping parts passed into result will be repeated for each container from the input shapes containing such parts. 2. The result of the operation Fuse for the arguments of collection type (WIRE, SHELL, COMPSOLID) will contain the same number of containers as the arguments. The overlapping parts (EDGES/FACES/SOLIDS) will be shared among them. For example, the result of Fuse operation between two wires will be two wires sharing coinciding edges if any. 3. The result of the operation Common for the arguments of collection type (WIRE, SHELL, COMPSOLID) will consist of the containers containing the same overlapping parts. For example, the result of Common operation between two fully/partially overlapping wires will be two wires containing the same edges. Style correction. Added test case bugs/modalg_1/bug13538 Modified boolean test cases according to new begavior
12 lines
213 B
Plaintext
12 lines
213 B
Plaintext
restore [locate_data_file case_3_wire.brep] a
|
|
restore [locate_data_file case_3_wire5.brep] b
|
|
|
|
bop a b
|
|
bopfuse result
|
|
|
|
checkprops result -l 928.558
|
|
checksection result
|
|
checknbshapes result -vertex 12 -edge 13 -t
|
|
|
|
|