0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / tests / bugs / modalg_5 / bug25124_1
1 puts "========"
2 puts "OCC25124"
3 puts "========"
4 puts ""
5 ######################################################
6 # Removal of continuity checks for offset geometries
7 ######################################################
8
9 smallview
10
11 set ver_info_1 "\n\n*********** Dump of cc *************\nTrimmed curve\nParameters : 2 5\nBasis curve :\nOffsetCurveOffset : 10\nDirection : 0, 0, 1 \nBasis curve :\nTrimmed curve\nParameters : 1 6\nBasis curve :\nCircle"
12 set ver_info_2 "\n\n*********** Dump of oc *************\nOffsetCurveOffset : 20\nDirection : 0, 0, 1 \nBasis curve :\nTrimmed curve\nParameters : 2 5\nBasis curve :\nCircle"
13
14 point pp 0 0 1
15 circle cc 20 40 30 20
16 trim cc cc 1 6
17 offsetcurve oc cc 10 pp
18 trim cc oc 2 5
19 set bug_info_1 [dump cc]
20 offsetcurve oc cc 10 pp
21 set bug_info_2 [dump oc]
22
23 if {[string first $ver_info_1 $bug_info_1] == -1} {
24   puts "ERROR: OCC25124 is reproduced (dump of cc)."
25 }
26 if {[string first $ver_info_2 $bug_info_2] == -1} {
27   puts "ERROR: OCC25124 is reproduced (dump of oc)."
28 }
29
30 donly oc cc
31 fit
32
33 checkview -screenshot -2d -path ${imagedir}/${test_image}.png