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/buc60555_1
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

38 lines
973 B
Plaintext
Executable File

puts "==========="
puts "BUC60555"
puts "CUT Case 1"
puts "==========="
#cpulim add aki 070704
cpulimit 1600
restore [locate_data_file buc60555a.brep] part
checkshape part
restore [locate_data_file buc60555b.brep] trTool1
checkshape trTool1
halfspace hs1 trTool1 20000 10000 0
bcut cut1 part hs1
checkshape cut1
tcopy cut1 result
explode cut1 e
mkcurve cu1 cut1_1
mkcurve cu2 cut1_2
mkcurve cu3 cut1_3
mkcurve cu4 cut1_4
set tolerance [ maxtolerance cut1 ]
regexp { +Face +: +Min +[-0-9.+eE]+ +Max +([-0-9.+eE]+)} $tolerance full MaxFaceTolerance
regexp { +Edge +: +Min +[-0-9.+eE]+ +Max +([-0-9.+eE]+)} $tolerance full MaxEdgeTolerance
regexp { +Vertex +: +Min +[-0-9.+eE]+ +Max +([-0-9.+eE]+)} $tolerance full MaxVertexTolerance
if { $MaxFaceTolerance > 1 || $MaxEdgeTolerance > 1 || $MaxVertexTolerance > 1 } {
puts "Faulty :Tolerance of shape is more then 1.0"
} else {
puts "Tolerance of shape is less then 1.0"
}
set square 4.60842e+07
set 2dviewer 0