mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
Fixed the bug causing exception when the first edge in generated sweep occurs to be degenerated. Comments have been added. Test-case for issue #25453
23 lines
511 B
Plaintext
23 lines
511 B
Plaintext
puts "========"
|
|
puts "OCC25453"
|
|
puts "========"
|
|
puts ""
|
|
#########################################
|
|
# SIGSEGV in BRepFill_Sweep::BuildShell
|
|
#########################################
|
|
|
|
smallview
|
|
|
|
restore [locate_data_file OCC25453_sweep9-draw-Sketch001.brep] Sketch001
|
|
explode Sketch001 E
|
|
wire Sweep-0-spine Sketch001_1
|
|
mksweep Sweep-0-spine
|
|
setsweep -CF
|
|
restore [locate_data_file OCC25453_sweep9-draw-Sketch.brep] Sketch
|
|
trotate Sketch 0 0 0 1 0 0 90
|
|
addsweep Sketch
|
|
buildsweep Sweep -C
|
|
|
|
fit
|
|
set only_screen_axo 1
|