1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-06 10:36:12 +03:00
occt/tests/bugs/modalg_2/bug22770_1
ski 5ae01c8551 0023150: Command sewing produce incorrect results on test grid csw.
Test for sewing command were updated to check reference information.

Commands for testing were moved to the file src/DrawResources/CheckCommands.tcl

Documentation overview was updated.
2015-04-16 14:14:28 +03:00

44 lines
866 B
Plaintext
Executable File

puts "================"
puts "OCC22770"
puts "================"
puts ""
#######################################################################################
# Improve comman sewing in DRAW
######################################################################################
set BugNumber OCC22770
catch { pload XDE }
# Create a new document and set UndoLimit
# NewDocument D MDTV-XCAF
# UndoLimit D 100
# Open a transaction
# NewCommand D
vertex a 1 0 0
vertex b 10 0 0
edge e1 a b
vertex c 10.01 0 0
vertex d 20 0 0
edge e2 c d
sewing result +t 0.1 e1 e2 +e
set length 18.99
set nb_v_good 3
set nb_e_good 2
set nb_w_good 0
set nb_f_good 0
set nb_sh_good 0
set nb_sol_good 0
set nb_compsol_good 0
set nb_compound_good 1
set nb_shape_good 6
checkmaxtol result 9.9999999999999995e-008
checknbshapes result -shell 0
checkfreebounds result 0
set 3dviewer 0