View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002033 | FreeCAD | Bug | public | 2015-03-31 02:26 | 2015-04-03 05:40 |
Reporter | tanderson69 | Assigned To | wmayer | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | amd64 | OS | Kubuntu | OS Version | 14.10 |
Target Version | 0.16 | ||||
Summary | 0002033: boolean failure, model refine | ||||
Description | failure to record modified shapes in model refine, causes boolean to fail | ||||
Steps To Reproduce | with auto refinement enabled: load file. select solid and then fusion(in that order) run Part/boolean cut | ||||
Additional Information | http://forum.freecadweb.org/viewtopic.php?f=3&t=10310 | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||
|
|
|
|
|
Your stack trace is a bit confusing because modelRefine.cpp:1079 is a comment. I guess that the stack trace was made before applying patch https://github.com/FreeCAD/FreeCAD_sf_master/commit/eba335c6158eb2ffeff1654d29db5ad99af524cd This means we are probably talking about line 1098: > modifiedShapes.push_back(std::make_pair(edgeIt.Value(), newEdges(idx))); I followed the procedure but I didn't get an exception. Tested with OCC 6.6.0 Now to the problem: The doc of BRepLib_FuseEdges::Edges says that the entries corresponds to the entries in BRepLib_FuseEdges::ResultEdges. But maybe this is only true for keys that are part of the two maps and that with the call of AvoidEdges() it could happen that not all keys of the map from "Edges" are part of the map from "ResultEdges". So this should fix the problem: >if (newEdges.IsBound(idx)) > modifiedShapes.push_back(std::make_pair(edgeIt.Value(), newEdges(idx))); |
|
Yes sorry, I was on another branch when I did the backtrace. The change you suggested has corrected the problem here. I am assuming you will add this one line change to the master branch. Let me know if that is not the case. We canclose this bug report as far as I am concerned. Thanks. |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-03-31 02:26 | tanderson69 | New Issue | |
2015-03-31 02:26 | tanderson69 | File Added: cantCut.fcstd | |
2015-03-31 02:26 | tanderson69 | File Added: cantCut_backTrace.txt | |
2015-04-02 10:37 | wmayer | Note Added: 0005960 | |
2015-04-03 01:30 | tanderson69 | Note Added: 0005961 | |
2015-04-03 05:40 | wmayer | Changeset attached | => FreeCAD Master master b36c34b1 |
2015-04-03 05:40 | wmayer | Assigned To | => wmayer |
2015-04-03 05:40 | wmayer | Status | new => closed |
2015-04-03 05:40 | wmayer | Resolution | open => fixed |