View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0031594 | Community | OCCT:Modeling Algorithms | public | 2020-06-02 23:31 | 2021-10-21 19:59 |
Reporter | jensgw | Assigned To | bugmaster | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | no change required | ||
Platform | Windows | OS | VC++ 2013 | ||
Product Version | 7.4.0 | ||||
Summary | 0031594: BRepBuilderAPI_MakeWire cannot create wire in special case | ||||
Description | Product Version is 7.4.0 but that can not be selected in the dropdown above. BRepBuilderAPI_MakeWire reports BRepBuilderAPI_DisconnectedWire instead of creating a Wire. Attached is a zip containing: - a brep with 3 curves. - pseudocode (java) showing the triggering algorithm | ||||
Steps To Reproduce | Load three curves from brep file. Use BRepBuilderAPI_MakeWire as indictated in the pseudocode. View error message. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
BRepBuilderAPI_MakeWireExample.zip (4,130 bytes) |
|
To clarify, a wire cannot be created with all the curves in the brep file. |
|
It is not a bug. Vertex tolerances, that are 1.e-4 are less then maximal distance between vertices of edges, which is ~0.005. The edges cannot be connected. |
|
>It is not a bug. It is a bug, in this case the tolerances have nothing to do with the actual issue. You can see for yourselv with plain draw.exe. 1) Load the brep into draw.exe. 2) explode the compound into its consisting wires and edges 3) create a wire 4) save the wire 5) restore the saved wire pload ALL restore $FILENAME theShapes axo fit //see closed shape explode theShapes //this gives theShapes_1 explode theShapes_1 //gives theShapes_1_1 theShapes_1_2 and theShapes_1_3 wire w1 theShapes_1_1 theShapes_1_2 theShapes_1_3 save w1 wire.brep clear restore wire.brep axo fit //see missing line |
|
jensgw, this is not a bug because the input data cannot be used as it is as input to the MakeWire algorithm. The distance between ends of adjacent edges is about 0.006, while the vertices tolerances are 1e-7. If you increase tolerance of needed vertices the algorithm will connect them in one wire. |
|
Please close this bug. |
|
Indeed it seems to work with a higher tolerance value. Sorry for the inconvenience. Please close this. |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-06-02 23:31 | jensgw | New Issue | |
2020-06-02 23:31 | jensgw | Assigned To | => msv |
2020-06-02 23:31 | jensgw | File Added: BRepBuilderAPI_MakeWireExample.zip | |
2021-10-08 11:55 |
|
Assigned To | msv => ifv |
2021-10-08 11:55 |
|
Status | new => assigned |
2021-10-08 11:57 | jensgw | Note Added: 0104543 | |
2021-10-08 12:07 | kgv | Product Version | 7.3.0 => 7.4.0 |
2021-10-08 14:01 |
|
Note Added: 0104545 | |
2021-10-08 14:01 |
|
Assigned To | ifv => szy |
2021-10-08 14:01 |
|
Status | assigned => resolved |
2021-10-08 14:02 |
|
Note Edited: 0104545 | |
2021-10-08 14:29 | jensgw | Note Added: 0104546 | |
2021-10-08 15:01 |
|
Note Added: 0104549 | |
2021-10-08 16:20 | kgv | Severity | major => minor |
2021-10-08 16:20 | kgv | Resolution | open => no change required |
2021-10-08 16:40 |
|
Note Added: 0104555 | |
2021-10-08 16:40 |
|
Assigned To | szy => bugmaster |
2021-10-08 16:40 |
|
Status | resolved => feedback |
2021-10-08 17:52 | jensgw | Note Added: 0104557 | |
2021-10-21 19:59 | bugmaster | Status | feedback => closed |