0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
[occt.git] / tests / bugs / modalg_7 / bug28696_1
CommitLineData
9026dea8 1puts "TODO OCC28696 ALL: ERROR: Micro edge is produced."
2
3puts "========"
4puts "OCC28696"
5puts "========"
6puts ""
7############################################
8# Offset 2D algorithm produces micro edges
9############################################
10
11restore [locate_data_file OCC16667-wire.brep] a
12
13mkoffset resoffset a 1 20
14renamevar resoffset_1 result
15
16foreach e [explode result e] {
17 if {[validrange $e] == "edge has no valid range"} {
18 regexp {Mass : *([0-9\-+.eE]+)} [lprops $e] dummy len
19 regexp {Tolerance MAX=([0-9\-+.eE]+)} [tolerance $e] dummy tol
20 puts "ERROR: Micro edge is produced. Edge $e (length=$len, tolerance=$tol) is too small"
21 }
22}