From: bugmaster Date: Fri, 26 Aug 2016 12:19:19 +0000 (+0300) Subject: 0025220: Using BRepFill_OffsetWire withs wires containing arc edges throws exception... X-Git-Tag: V7_1_0_beta~176 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=87b48b40c6f41337c5b95c07e398e7aa2dc7b8ef;p=occt-copy.git 0025220: Using BRepFill_OffsetWire withs wires containing arc edges throws exception "Standard_NullValue" Adding testing case --- diff --git a/tests/bugs/modalg_6/bug25220 b/tests/bugs/modalg_6/bug25220 new file mode 100644 index 0000000000..2290eab159 --- /dev/null +++ b/tests/bugs/modalg_6/bug25220 @@ -0,0 +1,25 @@ +puts "============" +puts "OCC25220" +puts "============" +puts "" +###################################################### +# Using BRepFill_OffsetWire withs wires containing arc edges throws exception "Standard_NullValue" +###################################################### + +restore [locate_data_file bug25220.brep] a + +mkoffset r a 1 -5 + +checkprops r_1 -l 939.882 + +set info [checksection r_1] + +if { [regexp "nb alone Vertices : 0" ${info}] != 1 } { + puts "Error: Result of offset is incorrect" +} else { + puts "OK : Result of offset is correct" +} + +smallview +fit +checkview -screenshot -2d -path ${imagedir}/${casename}.png \ No newline at end of file