View Issue Details

IDProjectCategoryView StatusLast Update
0029864Open CASCADEOCCT:Modeling Algorithmspublic2023-08-01 15:06
Reporterkgv Assigned Tomsv 
PrioritynormalSeverityminor 
Status newResolutionopen 
Product Version5.2.2 
Target VersionUnscheduled 
Summary0029864: Modeling Algorithms - BRepBndLib::AddClose() returns Empty box for triangulation-only Faces
DescriptionDescription of the method BRepBndLib::AddClose() says:
  //! Adds the shape S to the bounding box B.
  //! This is a quick algorithm but only works if the shape S is
  //! composed of polygonal planar faces, as is the case if S is
  //! an approached polyhedral representation of an exact
  //! shape. Pay particular attention to this because this
  //! condition is not checked and, if it not respected, an error
  //! may occur in the algorithm for which the bounding box is built.
  //! Note that the resulting bounding box is not enlarged by the
  //! tolerance value of the sub-shapes as is the case with the
  //! Add function. So the added part of the resulting bounding
  //! box is closer to the shape S.

It is not very clear in which cases this method could/should be used,
but since current implementation completely ignores TopoDS_Face,
it returns an Empty box for triangulation-only Faces (without Edges/Vertices).

It is suggested either fixing this limitation, or improving description of the method.
Steps To Reproduce
pload VISUALIZATION XDE MODELING QAcommands
readstl m [locate_data_file model_stl_045.stl] triangulation
vclear
vinit View1
vdisplay -dispMode 1 m
vfit
vdisplay -dispMode 3 m
# bug 1: AIS_Shape has empty Bounding Box display mode

pload QAcommands
OCC566 m
# bug 2: ** Exception ** 000001ED562566E0 : Standard_ConstructionError: Bnd_Box is void
TagsNo tags attached.
Test case number

Relationships

child of 0028125 newmsv Modeling Algorithms - support of BRep shapes based on tessellated geometry 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-06-13 18:09 kgv New Issue
2018-06-13 18:09 kgv Assigned To => msv
2018-06-13 18:11 kgv Relationship added child of 0028125
2018-06-13 18:21 kgv Product Version 7.3.0 => 5.2.2
2019-08-12 17:45 msv Target Version 7.4.0 => 7.5.0
2020-09-14 22:53 msv Target Version 7.5.0 => 7.6.0
2021-08-29 18:51 msv Target Version 7.6.0 => 7.7.0
2022-10-24 10:43 szy Target Version 7.7.0 => 7.8.0
2023-08-01 15:06 dpasukhi Target Version 7.8.0 => Unscheduled