1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
apn 352ffd7358 Adding test cases for chl grid
Test case tests/bugs/modalg/dxf906 was renamed to bug889
Adding test cases to tests/bugs/moddata
Modified expressions puts [checkshape result]. Added command vzfit in end file in folder bugs. Unlocked command coordload in QABugs_3.cxx
Modified test case bugs vis buc60738
Added test cases to modalg and moddata
Added test cases to caf and fclasses
Added test cases to group heal
2012-12-21 16:39:38 +04:00

39 lines
883 B
Plaintext
Executable File

puts "================"
puts "OCC42"
puts "================"
puts ""
###############################################
## BRepAlgo_Sewing does not sew attached shape with any tolerance.
###############################################
pload XDE
# 1. retriesve shape
restore [locate_data_file OCC42.brep] sh
checkshape sh
# 2. perform sewing
set toler 80
sewing result $toler sh
# 3. Verify result of sewing
checkshape result
# Retrieve free wires from result shape
catch { fbclose result $toler $toler } resOfCatch
# Amount of free open wires must be equal 0
set open_wires [explode result_o W]
if { [llength $open_wires] != 0} {
puts "Error : There are free open wires"
}
# Amount of free closed wires must be equal 1
set closed_wires [explode result_c W]
if { [llength $closed_wires] != 1} {
puts "Error : Amount of free closed wires is not equal 1"
}
set 2dviewer 0