|
|
Reporter | troublesome-deer | Assigned To | | |
---|
Priority | normal | Severity | minor | |
---|
Status | new | Resolution | open | |
---|
Platform | Linux | OS | Ubuntu 20.04 | |
---|
Product Version | 7.6.3 | |
---|
|
|
Summary | 0033316: Modeling Algorithms - BRepExtrema_DistShapeShape fails on valid shapes |
---|
Description | I 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. |
---|
Tags | No tags attached. |
---|
|
|
Test case number | |
---|
|
|