From: mkv Date: Fri, 4 Oct 2013 08:40:11 +0000 (+0400) Subject: 0023932: Standard_NoSuchObject thrown computing section between two cylinders - new... X-Git-Tag: V6_7_0_beta~90 X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff_plain;h=830d849f94753c1646d14cc4a265d3cb5dc40cee 0023932: Standard_NoSuchObject thrown computing section between two cylinders - new to 6.6.0 Adding new test cases --- diff --git a/tests/bugs/modalg_5/bug23932_1 b/tests/bugs/modalg_5/bug23932_1 new file mode 100644 index 0000000000..5c4f3945a9 --- /dev/null +++ b/tests/bugs/modalg_5/bug23932_1 @@ -0,0 +1,25 @@ +puts "============" +puts "OCC23932" +puts "============" +puts "" +###################################################### +# Standard_NoSuchObject thrown computing section between two cylinders - new to 6.6.0 +###################################################### + +set PI 3.1415926535897932 + +#first face +cylinder s1 538.57646417050069, 347.77316708315834, 183.37500000000000 0 -1 0 1 0 0 44.194173824159222 +trimu s1t s1 0 $PI +mkface b1 s1t + +#second face +cylinder s2 859.00000000000011 463.75990629028450 80.865093709715211 -1 0 0 0 -1 0 186.78835506149036 +trimu s2t s2 0 $PI +mkface b2 s2t + +#section +bop b1 b2 +bopsection result + +set length 326.401 diff --git a/tests/bugs/modalg_5/bug23932_2 b/tests/bugs/modalg_5/bug23932_2 new file mode 100644 index 0000000000..599a209414 --- /dev/null +++ b/tests/bugs/modalg_5/bug23932_2 @@ -0,0 +1,25 @@ +puts "============" +puts "OCC23932" +puts "============" +puts "" +###################################################### +# Standard_NoSuchObject thrown computing section between two cylinders - new to 6.6.0 +###################################################### + +set PI 3.1415926535897932 + +#first face +cylinder s1 538.57646417050069 347.77316708315834 183.37500000000000 0 -1 0 1 0 0 44.819173824159222 +trimu s1t s1 0 $PI +mkface b1 s1t + +#second face +cylinder s2 859.00000000000011 463.75990629028450 80.865093709715211 -1 0 0 0 -1 0 187.41335506149036 +trimu s2t s2 0 $PI +mkface b2 s2t + +#section +bop b1 b2 +bopsection result + +set length 330.903