0025124: [Feature request] Removal of continuity checks for offset geometries
[occt.git] / tests / bugs / modalg_5 / bug25124_6
diff --git a/tests/bugs/modalg_5/bug25124_6 b/tests/bugs/modalg_5/bug25124_6
new file mode 100644 (file)
index 0000000..d3d94ab
--- /dev/null
@@ -0,0 +1,27 @@
+puts "========"
+puts "OCC25124"
+puts "========"
+puts ""
+######################################################
+# Removal of continuity checks for offset geometries
+######################################################
+
+smallview
+
+restore [locate_data_file OCC25124_a_2999.draw] a1
+getsurfcontinuity a1
+offset o1 a1 20
+getsurfcontinuity o1
+
+set bug_info_1 [dump a1]
+set bug_info_1 [string range $bug_info_1 39 [expr {[string length $bug_info_1] -1}]]
+set bug_info_2 [dump o1]
+set bug_info_2 [string range $bug_info_2 39 [expr {[string length $bug_info_2] -1}]]
+if {[string compare $bug_info_1 $bug_info_2] == 0} {
+  puts "ERROR: OCC25124 is reproduced (a1 = o1)."
+}
+
+donly a1 o1
+fit
+
+set only_screen_axo 1