From 76a2b7d1fbced4a8b601c60041f1b467a4992f84 Mon Sep 17 00:00:00 2001 From: mkv Date: Wed, 29 Apr 2015 19:43:42 +0300 Subject: [PATCH] 0026152: Wrong result obtained by projection algorithm. Test cases for issue CR26152 --- tests/bugs/modalg_6/bug26152_1 | 16 ++++++++++++++++ tests/bugs/modalg_6/bug26152_2 | 17 +++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 tests/bugs/modalg_6/bug26152_1 create mode 100644 tests/bugs/modalg_6/bug26152_2 diff --git a/tests/bugs/modalg_6/bug26152_1 b/tests/bugs/modalg_6/bug26152_1 new file mode 100644 index 0000000000..d3fa039374 --- /dev/null +++ b/tests/bugs/modalg_6/bug26152_1 @@ -0,0 +1,16 @@ +puts "TODO OCC26152 ALL: Standard_ConstructionError" +puts "==========" +puts "OCC26152" +puts "==========" +puts "" +############################################################## +# Wrong result obtained by projection algorithm. +############################################################## + +restore [locate_data_file bug26130_projcomp.brep] a +explode a + +mkcurve c a_1 +mksurface s a_2 + +catch {project cx c s} diff --git a/tests/bugs/modalg_6/bug26152_2 b/tests/bugs/modalg_6/bug26152_2 new file mode 100644 index 0000000000..7ff6613c3f --- /dev/null +++ b/tests/bugs/modalg_6/bug26152_2 @@ -0,0 +1,17 @@ +puts "TODO OCC26152 ALL: Standard_ConstructionError" +puts "==========" +puts "OCC26152" +puts "==========" +puts "" +############################################################## +# Wrong result obtained by projection algorithm. +############################################################## + +restore [locate_data_file bug26130_projcomp.brep] a +explode a +explode a_2 e + +mkcurve c a_2_4 +mksurface s a_2 + +catch {project cx c s}