MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0031177Community[OCCT] OCCT:Modeling Algorithmspublic2019-11-19 04:362019-11-19 04:36
ReporterMechanicoder 
Assigned Tomsv 
PrioritynormalSeveritymajor 
StatusnewResolutionopen 
PlatformWindowsOSVC++ 2013OS Version64 bit
Product Version[OCCT] 7.3.0 
Target VersionFixed in Version 
Summary0031177: 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? file icon case2-edge-face.igs (378,670 bytes) 2019-11-19 04:36
? file icon case3-edge-face.igs (378,752 bytes) 2019-11-19 04:36
? file icon case4-edge-face.stp (510,805 bytes) 2019-11-19 04:36

- Relationships

-  Notes
There are no notes attached to this issue.

- 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


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker