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: Tcl Exception: result is not a topological shape!!!"
4 puts "TODO OCC25919 ALL: TEST INCOMPLETE"
10 ######################################################
11 # BRepOffsetAPI_MakeOffset: problem with offsetting a wire
12 ######################################################
15 puts "Bug's attributes"
16 puts "################"
18 puts "Customer : Telco"
19 puts "Channel : External"
25 puts "Summary: BRepOffsetAPI_MakeOffset: problem with offsetting a wire"
28 puts "I am attaching the brep file of a curve, obtained from intersection with a"
29 puts "plane. Its a planer curve and we want to offset it by the amount which"
30 puts "is feasible. after trying with all options we were not able to offset it."
31 puts "But the same wire when we read inside EUCLID3 as well as CATIA it does"
32 puts "the offset correctly."
35 puts "Bug's advancement"
36 puts "#################"
38 puts "Customer version Development version"
39 puts "Status : CLOSED Status : CLOSED"
40 puts "Resolution : NOT Resolution : NOT"
41 puts "Leave as CLOSED NOT Leave as CLOSED NOT"
47 puts "------- Additional Comments From Igor NAZAROV-BUGMASTER 2002-04-19 16:21 -------"
50 puts "Below you will find conclusion of JGV about thia bug"
52 puts " This case can not be done by existing algorithm. It is mathematical"
53 puts "limitation: the offset may be performed only from at least C1-continuous"
54 puts "curve, but all the 12 edges of initial wire are based on C0-continuous"
56 puts " I may modify the algorithm so that it splits initial edges into"
57 puts "C1-continuous curves, but then resulting wire will consist of too many"
58 puts "small edges (in our case the number of edges will increase about 100"
60 puts " But user may obtain initial wire more smooth: when he intersects"
61 puts "something with a plane by command \"section\", he can add the key \"-a\""
62 puts "(force approximation)."
68 restore [locate_data_file OCC305.brep] a
71 if [catch {mkoffset result a 1 0.5 } catch_result] {
72 puts "Faulty OCC305 : function MKOFFSET works wrongly"
75 set che [checkshape result]
77 if { [regexp {This shape seems to be valid} $che] == 1} {