1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/tests/bugs/modalg_7/bug29382
jgv 389b9d5ca3 0030534: Regression in the tool UnifySameDomain - the shape looses faces
1. Add method TransformPCurves to ShapeUpgrade_UnifySameDomain - to rotate and translate existing pcurves instead of projecting.
2. Modify method ShapeUpgrade_UnifySameDomain::IntUnifyFaces - now it does not apply ShapeFix to new wires and new faces.
3. In the method UnifyEdges: add merging degenerated edges.
2019-08-02 15:48:00 +03:00

25 lines
698 B
Plaintext

puts "================================================================================"
puts "OCC29382: ShapeUpgrade_UnifySameDomain algorithm incorrectly processes the shape"
puts "================================================================================"
puts ""
restore [locate_data_file bug29382_Group_3.brep] a
unifysamedom result a
checkshape result
checkshape a
checknbshapes result -solid 3 -shell 3 -face 18 -wire 18 -edge 36 -vertex 22
set tolres [checkmaxtol result]
if { ${tolres} > 1.8066863810061599e-05} {
puts "Error: bad tolerance of result"
}
explode result
checkprops result_1 -v 4.41996e-06
checkprops result_2 -v 1.30453e-06
checkprops result_3 -v 1.16532e-06