0027531: Modeling Algorithms - Make the algorithm Approx_SameParameter more clear...
[occt.git] / tests / bugs / modalg_2 / bug305
1 puts "TODO OCC25919 ALL: Error: Offset is not done."
2 puts "TODO OCC25919 ALL: Faulty OCC305 : function MKOFFSET works wrongly"
3 puts "TODO OCC25919 ALL: Error: The command cannot be built"
4
5 puts "========"
6 puts "OCC305"
7 puts "========"
8 puts ""
9 ###########################################################
10 # BRepOffsetAPI_MakeOffset: problem with offsetting a wire
11 ###########################################################
12
13 catch {pload XDE}
14
15 restore [locate_data_file OCC305.brep] a 
16 checkshape a
17
18 if [catch {mkoffset result a 1 0.5 } catch_result] {
19   puts "Faulty OCC305 : function MKOFFSET works wrongly"
20 } else {
21   set che [checkshape result]
22 }
23 checkprops result -s 0 
24 checkview -display result -2d -path ${imagedir}/${test_image}.png