fixshape result a 0.01 0.01
-puts [checkshape result]
set 2dviewer 1
+puts "TODO OCC12345 ALL: Error : Tolerance invalid. Function FixShape works WRONGLY"
+
puts "========================"
puts " OCC329 "
puts "========================"
+set os $env(os_type)
+if { [string compare $os "windows"] == 0 } {
+# puts "TODO OCC23561 $os: child process exited abnormally"
+} else {
+ puts "TODO OCC23561 ALL: An exception was caught"
+ puts "TODO OCC23561 ALL: Tcl Exception:"
+ puts "TODO OCC23561 ALL: \\*\\* Exception \\*\\*.*"
+}
+puts "TODO OCC23561 ALL: TEST INCOMPLETE"
+
puts "=========="
puts "BUC60591"
puts "=========="
+set os $env(os_type)
+if { [string compare $os "windows"] == 0 } {
+# puts "TODO OCC23561 $os: child process exited abnormally"
+} else {
+ puts "TODO OCC23561 ALL: An exception was caught"
+ puts "TODO OCC23561 ALL: Tcl Exception:"
+ puts "TODO OCC23561 ALL: \\*\\* Exception \\*\\*.*"
+}
+puts "TODO OCC23561 ALL: TEST INCOMPLETE"
+
puts "=================================="
puts "BUC60591"
puts "=================================="
+set os $env(os_type)
+if { [string compare $os "windows"] == 0 } {
+# puts "TODO OCC23561 $os: child process exited abnormally"
+} else {
+ puts "TODO OCC23561 ALL: An exception was caught"
+ puts "TODO OCC23561 ALL: Tcl Exception:"
+ puts "TODO OCC23561 ALL: \\*\\* Exception \\*\\*.*"
+}
+puts "TODO OCC23561 ALL: TEST INCOMPLETE"
+
puts "=================================="
puts "BUC60591"
puts "=================================="
+set os $env(os_type)
+if { [string compare $os "windows"] == 0 } {
+# puts "TODO OCC23561 $os: child process exited abnormally"
+} else {
+ puts "TODO OCC23561 ALL: An exception was caught"
+ puts "TODO OCC23561 ALL: Tcl Exception:"
+ puts "TODO OCC23561 ALL: \\*\\* Exception \\*\\*.*"
+}
+puts "TODO OCC23561 ALL: TEST INCOMPLETE"
+
puts "BUC60591"
puts ""
puts "=================================="
-puts "TODO OCC12345 ALL: An exception was caught"
-puts "TODO OCC12345 ALL: \\*\\* Exception \\*\\*.*"
-puts "TODO OCC12345 ALL: TEST INCOMPLETE"
-
+if { [array get env os_type] != "" } {
+ set os $env(os_type)
+}
+if { [string compare $os "windows"] != 0 } {
+ puts "TODO OCC12345 ALL: An exception was caught"
+ puts "TODO OCC12345 ALL: \\*\\* Exception \\*\\*.*"
+ puts "TODO OCC12345 ALL: TEST INCOMPLETE"
+}
puts "========================"
puts "BUC60823"
puts "========================"
+++ /dev/null
-
-puts "========================"
-puts " BUC60706 "
-puts " OCC110 "
-puts "(case 1)"
-puts "========================"
-
-restore [locate_data_file buc60706a.brep] f
-puts [checkshape f]
-
-restore [locate_data_file buc60706b.brep] w
-puts [checkshape w]
-pipe t w f
-
-restore [locate_data_file buc60706c.brep] s
-puts [checkshape s]
-
-bcut result s t
-
-catch {exec rm ${imagedir}/buc60706f.brep}
-save result ${imagedir}/buc60706f.brep
-
-set square 865745
-set 2dviewer 0
+++ /dev/null
-
-puts "========================"
-puts " BUC60706 "
-puts " OCC110 "
-puts "(case 2)"
-puts "========================"
-
-restore [locate_data_file buc60706d.brep] f
-puts [checkshape f]
-
-restore [locate_data_file buc60706e.brep] w
-puts [checkshape w]
-pipe t w f
-
-restore ${imagedir}/buc60706f.brep s
-puts [checkshape s]
-
-bcut result s t
-catch {exec rm ${imagedir}/buc60706i.brep}
-save result ${imagedir}/buc60706i.brep
-
-set square 865617
-set 2dviewer 0
+++ /dev/null
-
-puts "========================"
-puts " BUC60706 "
-puts " OCC110 "
-puts "(case 3)"
-puts "========================"
-
-restore [locate_data_file buc60706g.brep] f
-puts [checkshape f]
-
-restore [locate_data_file buc60706h.brep] w
-puts [checkshape w]
-pipe t w f
-
-restore ${imagedir}/buc60706i.brep s
-puts [checkshape s]
-
-bcut result s t
-
-set square 865172
-set 2dviewer 0
+++ /dev/null
-
-puts "========================"
-puts " BUC60706 "
-puts " OCC110 "
-puts "(case 4)"
-puts "========================"
-
-restore [locate_data_file buc60706j.brep] f
-puts [checkshape f]
-
-restore [locate_data_file buc60706b.brep] w
-puts [checkshape w]
-pipe t w f
-
-restore [locate_data_file buc60706l.brep] s
-puts [checkshape s]
-
-bcut result s t
-catch {exec rm ${imagedir}/buc60706o.brep}
-save result ${imagedir}/buc60706o.brep
-
-set square 861712
-set 2dviewer 0
-puts "TODO OCC12345 ALL: An exception was caught"
-puts "TODO OCC12345 ALL: \\*\\* Exception *\\*\\*.*"
-puts "TODO OCC12345 ALL: TEST INCOMPLETE"
+#by apn on master-master 03.12.2012
+#puts "TODO OCC12345 ALL: An exception was caught"
+#puts "TODO OCC12345 ALL: \\*\\* Exception *\\*\\*.*"
+#puts "TODO OCC12345 ALL: TEST INCOMPLETE"
puts "================"
puts "OCC293"
-puts "TODO OCC12345 ALL: An exception was caught"
-puts "TODO OCC12345 ALL: \\*\\* Exception \\*\\*.*"
-puts "TODO OCC12345 ALL: TEST INCOMPLETE"
+# by apn master-master 03.12.2012
+puts "TODO OCC12345 ALL: Faulty shapes in variables faulty_1 to faulty_"
+#puts "TODO OCC12345 ALL: An exception was caught"
+#puts "TODO OCC12345 ALL: \\*\\* Exception \\*\\*.*"
+#puts "TODO OCC12345 ALL: TEST INCOMPLETE"
puts "================"
puts "OCC152"
puts [checkshape result]
set check_square 1
-set square 10
+set square 276424
set 2dviewer 0
-puts "TODO OCC12345 ALL: An exception was caught"
-puts "TODO OCC12345 ALL: \\*\\* Exception \\*\\*.*"
-puts "TODO OCC12345 ALL: TEST INCOMPLETE"
+# by apn master-master 03.12.2012
+#puts "TODO OCC12345 ALL: An exception was caught"
+#puts "TODO OCC12345 ALL: \\*\\* Exception \\*\\*.*"
+#puts "TODO OCC12345 ALL: TEST INCOMPLETE"
puts "================"
puts "OCC152"
puts [checkshape result]
set check_square 1
-set square 10
+set square 34894.3
set 2dviewer 0
+++ /dev/null
-puts "========"
-puts "OCC162"
-puts "========"
-
-pload QAcommands
-pload XDE
-# Gauge for virtual memory
-if ![string compare $tcl_platform(platform) "windows"] {
- proc VMem { memory } {
- upvar $memory mem
- regsub "^.*PeakVirtualSize: *\(\[0-9\]*\) KB.*$" \
- [exec tlist [pid]] "\\1" mem
- }
-} else {
- proc VMem { memory } {
- upvar $memory mem
- set mem [lindex [exec ps -o vsz -p [pid]] 1]
- }
-}
-
-set Mem0 ""
-set Mem1 ""
-VMem Mem0
-
-# vinit
-restore [locate_data_file OCC162.brep] s
-# vdisplay s
-
-OCC162 s
-
-VMem Mem1
-puts "... The peak memory consumed: [expr $Mem1 - $Mem0] KB"
-
-set MemoryLeakage 0
-set i_max 5
-for {set i 1} {${i} <= ${i_max}} {incr i} {
- OCC162 s
- VMem Mem2
- set Delta [expr $Mem2 - $Mem1]
- set MemoryLeakage [expr $MemoryLeakage + $Delta]
- puts " $i delta memory consumed: $Delta KB"
-}
-
-set percent_max 5
-set percent [expr ${MemoryLeakage} / (double(${i_max}) * (${Mem1} - ${Mem0})) * 100.]
-puts "percent = ${percent}"
-
-if {${percent} > ${percent_max}} {
- puts "OCC162: Error : There is memory leakage during sewing operation"
-} else {
- puts "OCC162: OK"
-}
-
-puts "TODO OCC12345 ALL: An exception was caught"
-puts "TODO OCC12345 ALL: \\*\\* Exception \\*\\*.*"
-puts "TODO OCC12345 ALL: OCC165 Faulty"
+if { [array get env os_type] != "" } {
+ set os $env(os_type)
+}
+if { [string compare $os "windows"] != 0 } {
+ puts "TODO OCC12345 ALL: An exception was caught"
+ puts "TODO OCC12345 ALL: \\*\\* Exception \\*\\*.*"
+ puts "TODO OCC12345 ALL: OCC165 Faulty"
+}
+
puts "========"
puts "OCC165"
puts "Bug regression in BRepOffsetAPI_MakeOffset class (offsetting in OY direction)"
-puts "TODO OCC12345 ALL: Tcl Exception: result is not a topological shape!!!"
+if { [array get env os_type] != "" } {
+ set os $env(os_type)
+}
+if { [string compare $os "windows"] == 0 } {
+ puts "TODO OCC12345 ALL: An exception was caught"
+ puts "TODO OCC12345 ALL: \\*\\* Exception \\*\\*.*"
+} else {
+ puts "TODO OCC12345 ALL: Tcl Exception: result is not a topological shape!!!"
+}
puts "TODO OCC12345 ALL: TEST INCOMPLETE"
puts "========================"
fsameparameter result
puts [checkshape result]
-set check_square 1
-set square 6.5285
set 2dviewer 0
+
+set os $env(os_type)
+if { [string compare $os "windows"] == 0 } {
+# puts "TODO OCC23561 $os: child process exited abnormally"
+} else {
+ puts "TODO OCC23561 ALL: An exception was caught"
+ puts "TODO OCC23561 ALL: Tcl Exception:"
+ puts "TODO OCC23561 ALL: \\*\\* Exception \\*\\*.*"
+}
+puts "TODO OCC23561 ALL: TEST INCOMPLETE"
+
puts "================"
puts "OCC46"
puts "================"
+set os $env(os_type)
+if { [string compare $os "windows"] == 0 } {
+# puts "TODO OCC23561 $os: child process exited abnormally"
+} else {
+ puts "TODO OCC23561 ALL: An exception was caught"
+ puts "TODO OCC23561 ALL: Tcl Exception:"
+ puts "TODO OCC23561 ALL: \\*\\* Exception \\*\\*.*"
+}
+puts "TODO OCC23561 ALL: TEST INCOMPLETE"
+
puts "================"
puts "OCC51"
puts "================"
-puts "TODO OCC12345 ALL: An exception was caught"
-puts "TODO OCC12345 ALL: \\*\\* Exception \\*\\*.*"
+# by apn master-master 03.12.2012
+#puts "TODO OCC12345 ALL: An exception was caught"
+#puts "TODO OCC12345 ALL: \\*\\* Exception \\*\\*.*"
puts "TODO OCC12345 ALL: Faulty OCC294"
puts "TODO OCC12345 ALL: Error : OCC294"
-puts "TODO OCC12345 ALL: TEST INCOMPLETE"
+#puts "TODO OCC12345 ALL: TEST INCOMPLETE"
puts "========================"
puts " BUC60906 "
+set os $env(os_type)
+if { [string compare $os "windows"] == 0 } {
+# puts "TODO OCC23561 $os: child process exited abnormally"
+} else {
+ puts "TODO OCC23561 ALL: An exception was caught"
+ puts "TODO OCC23561 ALL: Tcl Exception:"
+ puts "TODO OCC23561 ALL: \\*\\* Exception \\*\\*.*"
+}
+puts "TODO OCC23561 ALL: TEST INCOMPLETE"
+
puts "========================"
puts "BUC60948"
puts "========================"
+set os $env(os_type)
+if { [string compare $os "windows"] == 0 } {
+# puts "TODO OCC23561 $os: child process exited abnormally"
+} else {
+ puts "TODO OCC23561 ALL: An exception was caught"
+ puts "TODO OCC23561 ALL: Tcl Exception:"
+ puts "TODO OCC23561 ALL: \\*\\* Exception \\*\\*.*"
+}
+puts "TODO OCC23561 ALL: TEST INCOMPLETE"
+
puts "========"
puts "OCC184"
puts "========"
+set os $env(os_type)
+if { [string compare $os "windows"] == 0 } {
+# puts "TODO OCC23561 $os: child process exited abnormally"
+} else {
+ puts "TODO OCC23561 ALL: An exception was caught"
+ puts "TODO OCC23561 ALL: Tcl Exception:"
+ puts "TODO OCC23561 ALL: \\*\\* Exception \\*\\*.*"
+}
+puts "TODO OCC23561 ALL: TEST INCOMPLETE"
+
puts "========"
puts "OCC314"
puts "========"
+set os $env(os_type)
+if { [string compare $os "windows"] == 0 } {
+# puts "TODO OCC23561 $os: child process exited abnormally"
+} else {
+ puts "TODO OCC23561 ALL: An exception was caught"
+ puts "TODO OCC23561 ALL: Tcl Exception:"
+ puts "TODO OCC23561 ALL: \\*\\* Exception \\*\\*.*"
+}
+puts "TODO OCC23561 ALL: TEST INCOMPLETE"
+
puts "========"
puts "OCC321"
puts "========"