From 5b70cbe8c1d6a8f731871c3f528993b5a4d903f8 Mon Sep 17 00:00:00 2001 From: mkv Date: Thu, 10 Dec 2015 16:16:55 +0300 Subject: [PATCH] 0026523: Wrong result of section algorithm Small correction of test case in accordance with changes of issue 25945 --- tests/bugs/modalg_6/bug26523 | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 tests/bugs/modalg_6/bug26523 diff --git a/tests/bugs/modalg_6/bug26523 b/tests/bugs/modalg_6/bug26523 new file mode 100755 index 0000000000..9804c55089 --- /dev/null +++ b/tests/bugs/modalg_6/bug26523 @@ -0,0 +1,31 @@ +puts "============" +puts "OCC26523" +puts "============" +puts "" +############################### +## Wrong result of section algorithm +############################### + +restore [locate_data_file bug26523_as.brep] as +restore [locate_data_file bug26523_at.brep] at + +bsection result as at + +checkprops result -l 1189.91 + +set nbshapes_expected " +Number of shapes in shape + VERTEX : 3 + EDGE : 2 + WIRE : 0 + FACE : 0 + SHELL : 0 + SOLID : 0 + COMPSOLID : 0 + COMPOUND : 1 + SHAPE : 6 +" + +checknbshapes result -ref ${nbshapes_expected} -t -m "Section curve" + +set 3dviewer 1 -- 2.39.5