0030342: Modeling Data - Successively trimming surface in both directions lose the...
[occt.git] / tests / bugs / moddata_3 / bug30342_2
diff --git a/tests/bugs/moddata_3/bug30342_2 b/tests/bugs/moddata_3/bug30342_2
new file mode 100644 (file)
index 0000000..61f8295
--- /dev/null
@@ -0,0 +1,17 @@
+puts "=========="
+puts "0030342: Modeling Data - Successively trimming surface in both directions lose the first trim"
+puts "=========="
+puts ""
+
+torus t 1 0.5
+
+trim t2 t 0 2 0 4 0 0
+set expected [dump t2]
+
+trimu t1 t 0 2 0
+trimv t2 t1 0 4 0
+
+set result [dump t2]
+if { [string compare $expected $result] != 0 } {
+  puts "Error: invalid result"
+}