From: bugmaster Date: Thu, 25 Aug 2016 13:57:08 +0000 (+0300) Subject: 0026910: General fuse does not find intersection between line and circle X-Git-Tag: V7_1_0_beta~177 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=45396f870c002585238a9cff1df39b9a33027ccd;p=occt-copy.git 0026910: General fuse does not find intersection between line and circle Adding testing case --- diff --git a/tests/bugs/modalg_6/bug26910 b/tests/bugs/modalg_6/bug26910 new file mode 100644 index 0000000000..30d5ecc55d --- /dev/null +++ b/tests/bugs/modalg_6/bug26910 @@ -0,0 +1,31 @@ +puts "============" +puts "OCC26910" +puts "============" +puts "" +###################################################### +# General fuse does not find intersection between line and circle +###################################################### + +restore [locate_data_file bug26910.brep] a + +explode a +bclearobjects +bcleartools +baddobjects a_1 +baddtools a_2 +bfillds +bbuild r +set a 0 +foreach r [explode r v] { + set a [expr $a + 1] + } +if { ${a} != 5 } { + puts "Error: ${a} intersections were not found between line and circle" +} else { + puts "Found ${a} intersection between line and circle" +} + +smallview +fit + +checkview -screenshot -2d -path ${imagedir}/${test_image}.png