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/bug30270
kgv 04f0f1b046 0030270: Modeling Algorithms - BRepBndLib should provide an option for skipping infinite entities
Bnd_Box now keeps calculating of finite part of bounding box after specifying it to be Open in some direction.
The finite part can be retrieved using new method Bnd_Box::FinitePart().

Prs3d::GetDeflection() now uses Bnd_Box::FinitePart() when applying relative deflection.

Draw Harness command bounding has been extended with option -finite returing a finite part of AABB.
2018-10-24 22:53:26 +03:00

16 lines
335 B
Plaintext

puts "========"
puts "0030270: Modeling Algorithms - BRepBndLib should provide an option for skipping infinite entities"
puts "========"
puts ""
pload MODELING VISUALIZATION
restore [locate_data_file bug27448_b1255.brep] s
bounding s -print
bounding s -finite -shape b
smallview
donly b
fit
display s
xwd ${imagedir}/${casename}.png