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