From 702ef49f2269f5e8d28a7819c2435dbfd1f81460 Mon Sep 17 00:00:00 2001 From: mkv Date: Thu, 10 Dec 2015 15:04:01 +0300 Subject: [PATCH] 0025342: [Regression] BRepAlgoAPI_Section returns wrong number of edges Test case for issue CR25342 --- tests/bugs/modalg_6/bug25342 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 tests/bugs/modalg_6/bug25342 diff --git a/tests/bugs/modalg_6/bug25342 b/tests/bugs/modalg_6/bug25342 new file mode 100755 index 0000000000..5a823f93f2 --- /dev/null +++ b/tests/bugs/modalg_6/bug25342 @@ -0,0 +1,22 @@ +puts "============" +puts "OCC25342" +puts "============" +puts "" +############################### +## [Regression] BRepAlgoAPI_Section returns wrong number of edges +############################### + +restore [locate_data_file bug25342_pump2.brep] p + +explode p +bop p_1 p_2 +bopsection result + +set nbshapes_expected " +Number of shapes in shape + EDGE : 4 +" + +checknbshapes result -ref ${nbshapes_expected} -t -m "Number of edges" + +set 3dviewer 1