mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-07-30 13:05:50 +03:00
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.
26 lines
694 B
Plaintext
26 lines
694 B
Plaintext
puts "============"
|
|
puts "OCC27271"
|
|
puts "============"
|
|
puts ""
|
|
###########################################################################################################
|
|
# Unifysamedomain invalid result
|
|
###########################################################################################################
|
|
|
|
restore [locate_data_file bug27271_Shape.brep] a
|
|
unifysamedom result a
|
|
|
|
checkshape result
|
|
|
|
checknbshapes result -vertex 44 -edge 81 -wire 45 -face 35 -shell 3 -solid 3
|
|
|
|
set tolres [checkmaxtol result]
|
|
|
|
if { ${tolres} > 0.003} {
|
|
puts "Error: bad tolerance of result"
|
|
}
|
|
|
|
explode result
|
|
checkprops result_1 -v 1109.52
|
|
checkprops result_2 -v 7.50891
|
|
checkprops result_3 -v 7.51022
|