mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-07-30 13:05:50 +03:00
Data races have been prevented in the code of BOPAlgo_PaveFiller that makes pcurves of edges on faces. For that: - Put into treatment only unique edge-face pairs. - If the same edge is treated with different faces in different threads simultaneously this also causes data races. To avoid this make the edge's copy in each thread and update the copy. The original edge is updated only after finishing parallel processing. The new method BOPTools_AlgoTools::CopyEdge has been added to make a copy of an edge with vertices. Big screenshot in the test script tests/bugs/modalg_7/bug28200 has been replaced with a small one.
42 lines
871 B
Plaintext
42 lines
871 B
Plaintext
puts "TODO OCC28200 ALL: Faulty shapes in variables faulty_1 to"
|
|
|
|
puts "========"
|
|
puts "OCC28200"
|
|
puts "========"
|
|
puts ""
|
|
#############################################
|
|
# Invalid topology of the general fuse result
|
|
#############################################
|
|
|
|
restore [locate_data_file bug28200_sh.brep] sh
|
|
sewing sh sh 1.0
|
|
|
|
restore [locate_data_file bug28200_cc.brep] c
|
|
|
|
# Input data check
|
|
checkshape sh
|
|
checkshape c
|
|
|
|
# Result construction
|
|
bclearobjects
|
|
bcleartools
|
|
baddobjects sh
|
|
baddtools c
|
|
bfuzzyvalue 1.0
|
|
bfillds
|
|
bbuild result
|
|
|
|
checkshape result
|
|
|
|
smallview
|
|
donly result
|
|
fit
|
|
checkview -screenshot -2d -path ${imagedir}/${test_image}_1.png
|
|
|
|
smallview -Y+Z
|
|
fit
|
|
checkview -screenshot -2d -path ${imagedir}/${test_image}_2.png
|
|
|
|
donly faulty_1 faulty_2 faulty_3 faulty_4 faulty_5 faulty_6 faulty_7 faulty_8
|
|
checkview -screenshot -2d -path ${imagedir}/${test_image}_3.png
|