]> OCCT Git - occt.git/commitdiff
0026188: Incorrect PCurve creation
authormkv <mkv@opencascade.com>
Thu, 10 Dec 2015 12:39:54 +0000 (15:39 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 17 Dec 2015 12:34:21 +0000 (15:34 +0300)
Test case for issue CR26188

tests/bugs/modalg_6/bug26188 [new file with mode: 0755]

diff --git a/tests/bugs/modalg_6/bug26188 b/tests/bugs/modalg_6/bug26188
new file mode 100755 (executable)
index 0000000..29f6b13
--- /dev/null
@@ -0,0 +1,18 @@
+puts "============"
+puts "CR26188"
+puts "==========="
+puts ""
+###############################################################################
+# Incorrect PCurve creation
+###############################################################################
+
+restore [locate_data_file OCC26196-Face.brep] a
+explode a e
+tcopy a_1 ac
+bhaspc ac a do
+mk2dcurve cc ac a
+
+#v2d2
+view 1 -2D-  728 20 400 400
+2dfit
+xwd ${imagedir}/${test_image}.png