1 puts "# ==============================================================="
2 puts "# 0028131: BRepOffset_MakeOffset can't create offset with a face which created by filling 3 bsplinecurve"
3 puts "# ==============================================================="
6 puts "# Create face to be offset, by dedicated command"
10 puts "# Try simple offset"
11 offsetshapesimple result_simple f 10.
12 checkshape result_simple
13 checkmaxtol result_simple -ref 0.205
14 checkprops result_simple -s 1693.7
16 puts "# Try standard offset"
17 offsetshape result_std f 10.
18 fixshape result_std result_std ;# need to fix it....
20 checkmaxtol result_std -ref 0.408
21 checkprops result_std -s 1693.76
23 puts "# Make snapshots (overall and zoom to degenerated point)"
27 checkview -2d -screenshot -path ${imagedir}/${test_image}.png
35 checkview -2d -screenshot -path ${imagedir}/${test_image}_zoom_simple.png
38 checkview -2d -screenshot -path ${imagedir}/${test_image}_zoom_standard.png