mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-24 13:50:49 +03:00
0031855: Modeling Algorithms - regression of the unifysamedom command.
Transformation of 2d-curves on elementary surfaces has been corrected.
This commit is contained in:
19
tests/bugs/heal/bug31855_1
Normal file
19
tests/bugs/heal/bug31855_1
Normal file
@@ -0,0 +1,19 @@
|
||||
puts "================================================="
|
||||
puts "OCC31855: Regression of the unifysamedom command."
|
||||
puts "================================================="
|
||||
puts ""
|
||||
|
||||
restore [locate_data_file bug31855_1.brep] a
|
||||
unifysamedom result a
|
||||
|
||||
checkshape result
|
||||
|
||||
checknbshapes result -vertex 89 -edge 134 -wire 47 -face 47 -shell 1 -solid 1
|
||||
|
||||
set tolres [checkmaxtol result]
|
||||
|
||||
if { ${tolres} > 0.0006} {
|
||||
puts "Error: bad tolerance of result"
|
||||
}
|
||||
|
||||
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
19
tests/bugs/heal/bug31855_2
Normal file
19
tests/bugs/heal/bug31855_2
Normal file
@@ -0,0 +1,19 @@
|
||||
puts "================================================="
|
||||
puts "OCC31855: Regression of the unifysamedom command."
|
||||
puts "================================================="
|
||||
puts ""
|
||||
|
||||
restore [locate_data_file bug31855_2.brep] a
|
||||
unifysamedom result a
|
||||
|
||||
checkshape result
|
||||
|
||||
checknbshapes result -vertex 664 -edge 996 -wire 484 -face 406 -shell 1 -solid 1
|
||||
|
||||
set tolres [checkmaxtol result]
|
||||
|
||||
if { ${tolres} > 2.e-7} {
|
||||
puts "Error: bad tolerance of result"
|
||||
}
|
||||
|
||||
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
19
tests/bugs/heal/bug31855_3
Normal file
19
tests/bugs/heal/bug31855_3
Normal file
@@ -0,0 +1,19 @@
|
||||
puts "================================================="
|
||||
puts "OCC31855: Regression of the unifysamedom command."
|
||||
puts "================================================="
|
||||
puts ""
|
||||
|
||||
restore [locate_data_file bug31855_3.brep] a
|
||||
unifysamedom result a
|
||||
|
||||
checkshape result
|
||||
|
||||
checknbshapes result -vertex 272 -edge 408 -wire 150 -face 143 -shell 1 -solid 1
|
||||
|
||||
set tolres [checkmaxtol result]
|
||||
|
||||
if { ${tolres} > 2.e-7} {
|
||||
puts "Error: bad tolerance of result"
|
||||
}
|
||||
|
||||
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
Reference in New Issue
Block a user