1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/moddata_3/bug27261_2
kgv 1f26f80bb7 0029967: Draw Harness - command bounding has annoying syntax
Bnd_OBB constructor from Bnd_Box is fixed for VOID input.

DRAW command bounding command is adjusted:
- Support of old syntax 'bounding shape'is restored.
- Exception on VOID bounding box is avoided.
- Arguments are handled in case-insensitive way.
- Options -s, -perfmeter, and ability to set result as first argument are removed as redundant.
- Help is moved to command definition.

Separate command OCC29311 is added (in QADraw) to do the same as option -perfmeter did; tests are updated.
2018-07-27 16:19:26 +03:00

15 lines
414 B
Plaintext

puts "================"
puts "0027261"
puts "================"
puts ""
###############################################################
# Incorrect bounding box is created for the face
##############################################################
restore [locate_data_file bug27261_f2.brep] result
bounding result -dump
# Visual check.
smallview
fit
checkview -screenshot -2d -path ${imagedir}/${test_image}.png