mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +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.
23 lines
522 B
Plaintext
23 lines
522 B
Plaintext
puts "================================================="
|
|
puts "OCC30714: UnifySameDomain corrupts original shape"
|
|
puts "================================================="
|
|
puts ""
|
|
|
|
restore [locate_data_file bug30714.brep] s
|
|
explode s
|
|
bcut r s_1 s_2
|
|
unifysamedom result r
|
|
|
|
checkshape result
|
|
checkshape s_1
|
|
|
|
checknbshapes result -solid 1 -shell 1 -face 10 -wire 12 -edge 24 -vertex 16
|
|
|
|
set tolres [checkmaxtol result]
|
|
|
|
if { ${tolres} > 1.000008e-07} {
|
|
puts "Error: bad tolerance of result"
|
|
}
|
|
|
|
checkprops result -v 1.20292
|