5 ###############################
6 ## AllocMemory while intersection command
7 ###############################
9 restore [locate_data_file OCC504a.draw] su1
12 restore [locate_data_file OCC504b.draw] su2
15 if [catch {intersect result su1 su2} catch_result] {
16 puts "Faulty OCC504 : A solution takes all memory and crach with AllocMemory"
18 puts "OCC504 OK: function intersection works ok"
21 if { [regexp {curve} [whatis result_1]] && [regexp {curve} [whatis result_2]] } {
22 puts "OCC504 OK : Result shape is CORRECT !!! "
24 puts " Faulty OCC504: Result shape is INcorrect !!! "