]> OCCT Git - occt.git/commitdiff
0024049: Modeling Algorithms - crash in BRepOffsetAPI_MakePipe
authorabulyche <abulyche@opencascade.com>
Tue, 5 Jul 2022 23:14:57 +0000 (02:14 +0300)
committersmoskvin <smoskvin@opencascade.com>
Fri, 22 Jul 2022 17:27:15 +0000 (20:27 +0300)
Added the test for this ticket.

tests/pipe/bugs/bug24049 [new file with mode: 0644]

diff --git a/tests/pipe/bugs/bug24049 b/tests/pipe/bugs/bug24049
new file mode 100644 (file)
index 0000000..9f9002e
--- /dev/null
@@ -0,0 +1,19 @@
+puts "============="
+puts "OCC24049: Modeling Algorithms - cras-h in BRepOffsetAPI_MakePipe"
+puts "============="
+puts ""
+
+pload MODELING
+
+restore [locate_data_file bug24049_spine.brep] spine
+
+mkedge spine spine
+wire spine spine
+
+circle profile 27378.59961 -1139.028442 -621 0 0 -1 -1 0 -0 6.349999904633
+mkedge profile profile
+
+pipe pipe spine profile 2
+checkshape pipe
+
+puts "TEST COMPLETED"
\ No newline at end of file