1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/modalg_7/bug28248
msv 0ab4e62183 0028248: [Regression] HLR Algo result is retrieved from the last added shape only
Mistakes in retrieving of HLRBRep_EdgeData by value instead of reference have been corrected.
2017-12-20 18:51:43 +03:00

36 lines
647 B
Plaintext

puts "======="
puts "OCC28248"
puts "======="
puts ""
################################################################
# HLR Algo result is retrieved from the last added shape only
################################################################
box b1 -10 -10 0 20 20 5
pcylinder c1 5 10
hprj proj 0 0 0 0 1 0 0 0 1
hremove
houtl b1_outl b1
hfill b1_outl proj 0
hload b1_outl
houtl c1_outl c1
hfill c1_outl proj 0
hload c1_outl
hsetprj proj
hupdate
hhide
hres2d
compound vl v1l vnl vol vil hl h1l hnl hol hil result
checknbshapes result -edge 16
don result
smallview +X+Y
fit
checkview -screenshot -2d -path ${imagedir}/${test_image}.png