diff --git a/tests/bugs/modalg_6/bug26442_1 b/tests/bugs/modalg_6/bug26442_1 new file mode 100644 index 0000000000..9488e87453 --- /dev/null +++ b/tests/bugs/modalg_6/bug26442_1 @@ -0,0 +1,17 @@ +puts "=========" +puts "OCC26442" +puts "=========" +puts "" +############################################### +# Access violation in BRepOffset_MakeOffset +############################################### + +restore [locate_data_file OCC26464-extracted_Plate5520contour.brep] sh + +offsetparameter 1.e-7 p i +offsetload sh 40 +offsetperform result + +checkshape result + +set 2dviewer 1 diff --git a/tests/bugs/modalg_6/bug26442_2 b/tests/bugs/modalg_6/bug26442_2 new file mode 100644 index 0000000000..0f155d079f --- /dev/null +++ b/tests/bugs/modalg_6/bug26442_2 @@ -0,0 +1,17 @@ +puts "=========" +puts "OCC26442" +puts "=========" +puts "" +############################################### +# Access violation in BRepOffset_MakeOffset +############################################### + +restore [locate_data_file OCC26464-extracted_Plate5520contour.brep] sh + +offsetparameter 1.e-7 p i +offsetload sh 60 +offsetperform result + +checkshape result + +set 2dviewer 1