View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0031177 | Community | OCCT:Modeling Algorithms | public | 2019-11-19 04:36 | 2019-12-17 13:29 |
Reporter | Mechanicoder | Assigned To | |||
Priority | normal | Severity | major | ||
Status | new | Resolution | open | ||
Platform | Windows | OS | VC++ 2013 | ||
Product Version | 7.3.0 | ||||
Summary | 0031177: 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 Reproduce | 1. 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. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
case2-edge-face.igs (378,670 bytes) |
|
case3-edge-face.igs (378,752 bytes) |
|
case4-edge-face.stp (510,805 bytes) |
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 |