1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/xde/bug22492
ifv 5b0f2540d7 0026607: Wrong value of area.
Test case for issue CR26607

Fix regressions

Correction of test cases for issue CR26607
2015-10-01 13:49:24 +03:00

35 lines
751 B
Plaintext
Executable File

puts "============"
puts "OCC22492"
puts "============"
puts ""
#######################################################################
# Scaled sphere (Solid with BSplineSurface) is wrongly exported in STEP.
#######################################################################
set BugNumber OCC22492
restore [locate_data_file bug22492_scale.brep] sc1
nbshapes sc1
catch {[file delete $imagedir/${test_image}.step]}
stepwrite 3 sc1 $imagedir/${test_image}.step
stepread $imagedir/${test_image}.step sc2 *
tpcompound sc2
renamevar sc2 result
set square 271280
set nb_v_good 2
set nb_e_good 3
set nb_w_good 1
set nb_f_good 1
set nb_sh_good 1
set nb_sol_good 1
set nb_compsol_good 0
set nb_compound_good 1
set nb_shape_good 10
set 2dviewer 0