View Issue Details

IDProjectCategoryView StatusLast Update
0031177CommunityOCCT:Modeling Algorithmspublic2019-12-17 13:29
ReporterMechanicoder Assigned Tomsv 
PrioritynormalSeveritymajor 
Status newResolutionopen 
PlatformWindowsOSVC++ 2013 
Product Version7.3.0 
Summary0031177: Modeling Algorithms - BRepExtrema_DistShapeShape gives wrong result between edge-face
Description    I need to calculate distance between two shapes. the Result is clearly wrong.

My code like this:

    BRepExtrema_DistShapeShape ext;
    ext.SetFlag(Extrema_ExtFlag_MIN);
    ext.LoadS1(shape1);
    ext.LoadS2(shape2);
    ext.Perform();
    if (ext.IsDone())
    {
        double dist = ext.Value();
    }
Steps To Reproduce1. Load the *.igs/*.stp files
2. Calculate distance between imported two shapes.
3. Get result. And one of minimum distance points lies on curve end(periodic) point or on surface bound iso curve.
4. Result is wrong clearly if you watch the 3D model.
TagsNo tags attached.
Test case number

Attached Files

  • case2-edge-face.igs (378,670 bytes)
  • case3-edge-face.igs (378,752 bytes)
  • case4-edge-face.stp (510,805 bytes)

Activities

Mechanicoder

2019-11-19 04:36

reporter  

case2-edge-face.igs (378,670 bytes)

Mechanicoder

2019-11-19 04:36

reporter  

case3-edge-face.igs (378,752 bytes)

Mechanicoder

2019-11-19 04:36

reporter  

case4-edge-face.stp (510,805 bytes)

Issue History

Date Modified Username Field Change
2019-11-19 04:36 Mechanicoder New Issue
2019-11-19 04:36 Mechanicoder Assigned To => msv
2019-11-19 04:36 Mechanicoder File Added: case2-edge-face.igs
2019-11-19 04:36 Mechanicoder File Added: case3-edge-face.igs
2019-11-19 04:36 Mechanicoder File Added: case4-edge-face.stp
2019-12-17 13:29 kgv Summary BRepExtrema_DistShapeShape gives wrong result between edge-face => Modeling Algorithms - BRepExtrema_DistShapeShape gives wrong result between edge-face