View Issue Details

IDProjectCategoryView StatusLast Update
0033316CommunityOCCT:Modeling Algorithmspublic2023-01-16 16:27
Reportertroublesome-deer Assigned Tomsv  
Status newResolutionopen 
PlatformLinuxOSUbuntu 20.04 
Product Version7.6.3 
Summary0033316: BRepExtrema_DistShapeShape fails on valid shapes
DescriptionI used the distance function to calculate the distance between two shapes, and it failed unexpectedly, despite the fact that both shapes are valid (checked using BRepCheck_Analyzer).
Steps To ReproduceBRepCheck_Analyzer analyse_first(first_shape);
if (!analyse_first.IsValid()) std::cout<<"first shape is not valid";

BRepCheck_Analyzer analyse_second(second_shape);
if (!analyse_second.IsValid()) std::cout<<"second shape is not valid";

BRepExtrema_DistShapeShape dist;
if (dist.IsDone())
  distanceOut = dist.Value();
Additional information
and documentation updates
I've included the brep representation of the aforementioned shapes below.
TagsNo tags attached.
Test case number


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2023-01-16 16:27 troublesome-deer New Issue
2023-01-16 16:27 troublesome-deer Assigned To => msv