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
9 lines
211 B
Plaintext
9 lines
211 B
Plaintext
restore [locate_data_file sh10] b1
|
|
restore [locate_data_file shx] b2
|
|
|
|
bop b1 b2
|
|
bopfuse result
|
|
|
|
checkprops result -s 800
|
|
checkview -display result -2d -otherwise { b1 b2 } -s -path ${imagedir}/${test_image}.png
|