007 modalg_2
008 modalg_3
009 modalg_4
-010 moddata_1
-011 moddata_2
-012 step
-013 caf
-014 mesh
-015 heal
-
+010 modalg_5
+011 moddata_1
+012 moddata_2
+013 moddata_3
+014 step
+015 caf
+016 mesh
+017 heal
+++ /dev/null
-puts "============"
-puts "CR22323"
-puts "============"
-puts ""
-##########################################################################################################
-# Example of using offsetshape command instead of redundant "shell" command to get the same result
-##########################################################################################################
-
-pcylinder cy 100 200
-explode cy f
-donly cy cy_2
-fit
-
-offsetshape res cy -1. cy_2
-donly res
\ No newline at end of file
-puts "TODO OCC11111 ALL: OCC8842: Faulty"
-puts "TODO OCC11111 ALL: Exception"
-puts "TODO OCC11111 ALL: An exception was caught"
+puts "TODO ?OCC11111 ALL: OCC8842: Faulty"
+puts "TODO ?OCC11111 ALL: Exception"
+puts "TODO ?OCC11111 ALL: An exception was caught"
puts "============"
puts "OCC8842"
--- /dev/null
+puts "============"
+puts "CR22323"
+puts "============"
+puts ""
+##########################################################################################################
+# Example of using offsetshape command instead of redundant "shell" command to get the same result
+##########################################################################################################
+
+pcylinder cy 100 200
+explode cy f
+donly cy cy_2
+fit
+
+offsetshape res cy -1. cy_2
+donly res
\ No newline at end of file
+++ /dev/null
-puts "========"
-puts "CR23703"
-puts "========"
-puts ""
-####################################################################
-## Projection algorithm produces incomplete 2D-Curve
-####################################################################
-
-restore [locate_data_file bug23703_c2x.brep] c
-restore [locate_data_file bug23703_s1.brep] s
-
-mkface f s
-pcurve f
-
-project c2d c s
-
-v2d
-2dfit
-
-set only_screen_axo 1
+++ /dev/null
-puts "================"
-puts "CR23733"
-puts "================"
-puts ""
-###############################################
-## PCurve for edge on face creation failure
-###############################################
-
-pload DCAF TOPTEST
-
-Open [locate_data_file bug_glue_edges_GEOM.sgd] D
-
-GetShape D 0:1:9686:1:1:2 s1
-GetShape D 0:1:9449:1:1:2 s2
-explode s1 e
-explode s2 f
-
-#should create pcurve
-bhaspc s1_100 s2_2 do
-#should report OK
-set info1 [bhaspc s1_100 s2_2]
-if { [regexp {No} ${info1}] == 1 } {
- puts "Faulty: No 2D curves detected"
-}
-
-#should create pcurve
-bhaspc s1_40 s2_54 do
-#should report OK
-set info2 [bhaspc s1_40 s2_54]
-if { [regexp {No} ${info2}] == 1 } {
- puts "Faulty: No 2D curves detected"
-}
-
-#should create pcurve
-bhaspc s1_22 s2_123 do
-#should report OK
-set info3 [bhaspc s1_22 s2_123]
-if { [regexp {No} ${info3}] == 1 } {
- puts "Faulty: No 2D curves detected"
-}
+++ /dev/null
-puts "============"
-puts "CR23738"
-puts "============"
-puts ""
-#######################################################################
-#
-#######################################################################
-
-puts "Load first shape ..."
-restore [locate_data_file bug23738_b1.brep] b1
-puts "Load second shape ..."
-restore [locate_data_file bug23738_b2.brep] b2
-
-puts "Prepare boolean operation ..."
-bop b1 b2
-
-puts "Start boolean operation ..."
-bopfuse result
-puts "Finish boolean operation ..."
-
-set square 225009
-
-# Analysis of "nbshapes result"
-set nb_v_good 8
-set nb_e_good 12
-set nb_w_good 8
-set nb_f_good 6
-set nb_sh_good 1
-set nb_sol_good 0
-set nb_compsol_good 0
-set nb_compound_good 1
-set nb_shape_good 36
-
-set 3dviewer 1
--- /dev/null
+puts "================"
+puts "OCC22165"
+puts "================"
+puts ""
+#######################################################################################
+# IGES transaltor does not produce any shape
+######################################################################################
+
+set BugNumber OCC22165
+
+catch { pload XDE }
+
+igesbrep [locate_data_file OCC22165-cub_spain.igs] result *
+
+decho off
+set Log [data c]
+decho on
+
+set LogLength [llength ${Log}]
+
+if { ${LogLength} < 21 } {
+ puts "Bad format of data-command"
+ puts "Faulty ${BugNumber}"
+} else {
+ regexp -all {1[ \t]*F: Syntax error in IGES file at line ([-0-9.+eE]+) in section ([A-Z]).} $Log full word1 word2
+ if { ${word1} != "206" || ${word2} != "P" } {
+ puts "Faulty ${BugNumber}"
+ }
+}
+
+++ /dev/null
-puts "================"
-puts "OCC22165"
-puts "================"
-puts ""
-#######################################################################################
-# IGES transaltor does not produce any shape
-######################################################################################
-
-set BugNumber OCC22165
-
-catch { pload XDE }
-
-igesbrep [locate_data_file OCC22165-cub_spain.igs] result *
-
-set Log [data c]
-
-set LogLength [llength ${Log}]
-
-if { ${LogLength} < 21 } {
- puts "Bad format of data-command"
- puts "Faulty ${BugNumber}"
-} else {
- regexp -all {1[ \t]*F: Syntax error in IGES file at line ([-0-9.+eE]+) in section ([A-Z]).} $Log full word1 word2
- if { ${word1} != "206" || ${word2} != "P" } {
- puts "Faulty ${BugNumber}"
- }
-}
-
--- /dev/null
+puts "========"
+puts "CR23703"
+puts "========"
+puts ""
+####################################################################
+## Projection algorithm produces incomplete 2D-Curve
+####################################################################
+
+restore [locate_data_file bug23703_c2x.brep] c
+restore [locate_data_file bug23703_s1.brep] s
+
+mkface f s
+pcurve f
+
+project c2d c s
+
+v2d
+2dfit
+
+set only_screen_axo 1
--- /dev/null
+puts "================"
+puts "CR23733"
+puts "================"
+puts ""
+###############################################
+## PCurve for edge on face creation failure
+###############################################
+
+pload DCAF TOPTEST
+
+Open [locate_data_file bug_glue_edges_GEOM.sgd] D
+
+GetShape D 0:1:9686:1:1:2 s1
+GetShape D 0:1:9449:1:1:2 s2
+explode s1 e
+explode s2 f
+
+#should create pcurve
+bhaspc s1_100 s2_2 do
+#should report OK
+set info1 [bhaspc s1_100 s2_2]
+if { [regexp {No} ${info1}] == 1 } {
+ puts "Faulty: No 2D curves detected"
+}
+
+#should create pcurve
+bhaspc s1_40 s2_54 do
+#should report OK
+set info2 [bhaspc s1_40 s2_54]
+if { [regexp {No} ${info2}] == 1 } {
+ puts "Faulty: No 2D curves detected"
+}
+
+#should create pcurve
+bhaspc s1_22 s2_123 do
+#should report OK
+set info3 [bhaspc s1_22 s2_123]
+if { [regexp {No} ${info3}] == 1 } {
+ puts "Faulty: No 2D curves detected"
+}
--- /dev/null
+puts "============"
+puts "CR23738"
+puts "============"
+puts ""
+#######################################################################
+#
+#######################################################################
+
+puts "Load first shape ..."
+restore [locate_data_file bug23738_b1.brep] b1
+puts "Load second shape ..."
+restore [locate_data_file bug23738_b2.brep] b2
+
+puts "Prepare boolean operation ..."
+bop b1 b2
+
+puts "Start boolean operation ..."
+bopfuse result
+puts "Finish boolean operation ..."
+
+set square 225009
+
+# Analysis of "nbshapes result"
+set nb_v_good 8
+set nb_e_good 12
+set nb_w_good 8
+set nb_f_good 6
+set nb_sh_good 1
+set nb_sol_good 0
+set nb_compsol_good 0
+set nb_compound_good 1
+set nb_shape_good 36
+
+set 3dviewer 1