View Issue Details

IDProjectCategoryView StatusLast Update
0033316CommunityOCCT:Modeling Algorithmspublic2024-01-19 17:31
Reportertroublesome-deer Assigned To 
PrioritynormalSeverityminor 
Status newResolutionopen 
PlatformLinuxOSUbuntu 20.04 
Product Version7.6.3 
Summary0033316: Modeling Algorithms - 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 Reproduce
BRepCheck_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;
dist.SetMultiThread(true);
dist.LoadS1(first_shape);
dist.LoadS2(second_shape);
dist.Perform();
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

Activities

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
2023-02-04 16:21 dpasukhi Summary BRepExtrema_DistShapeShape fails on valid shapes => Modeling Algorithms - BRepExtrema_DistShapeShape fails on valid shapes
2023-02-04 16:21 dpasukhi Steps to Reproduce Updated
2024-01-19 17:31 vglukhik Assigned To msv =>