0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / tests / bugs / modalg_7 / bug28131
CommitLineData
2a9be0e2 1puts "# ==============================================================="
2puts "# 0028131: BRepOffset_MakeOffset can't create offset with a face which created by filling 3 bsplinecurve"
3puts "# ==============================================================="
4puts ""
5
6puts "# Create face to be offset, by dedicated command"
7pload QAcommands
8OCC28131 f
9
10puts "# Try simple offset"
11offsetshapesimple result_simple f 10.
12checkshape result_simple
13checkmaxtol result_simple -ref 0.205
14checkprops result_simple -s 1693.7
15
16puts "# Try standard offset"
17offsetshape result_std f 10.
18fixshape result_std result_std ;# need to fix it....
19checkshape result_std
20checkmaxtol result_std -ref 0.408
21checkprops result_std -s 1693.76
22
23puts "# Make snapshots (overall and zoom to degenerated point)"
24
25smallview -Y+Z
26fit
27checkview -2d -screenshot -path ${imagedir}/${test_image}.png
28
29smallview -Y+Z
30zoom 400
31pu; pu; pu
32pr; pr; pr
33
34donly result_simple
35checkview -2d -screenshot -path ${imagedir}/${test_image}_zoom_simple.png
36
37donly result_std
38checkview -2d -screenshot -path ${imagedir}/${test_image}_zoom_standard.png