1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/modalg_7/bug30140
nbv 7e425ba7b0 0030140: Modeling Algorithms - Access Null Pointer
The array TabP has been allocated correctly.
2018-09-19 11:58:32 +03:00

22 lines
488 B
Plaintext

puts "========"
puts "0030140: Modeling Algorithms - Access Null Pointer"
puts "========"
puts ""
line l_path 0 0 0 1 0 0
trim l_path l_path 0 10
circle c_profile 0 0 2 1 0 0 5
mkedge profile c_profile
wire profile profile
point dir 0 1 0
offsetcurve offset_path l_path 2 dir
mkedge path offset_path
wire path path
# Before the fix - Exception.
pipe result path profile 0
checkshape result
checkprops result -s 314.159
checkview -display result -2d -path ${imagedir}/${test_image}.png