View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0032324 | Open CASCADE | OCCT:Modeling Algorithms | public | 2021-04-23 15:45 | 2023-08-01 15:08 |
| Reporter | Assigned To | ||||
| Priority | normal | Severity | feature | ||
| Status | new | Resolution | open | ||
| Target Version | Unscheduled | ||||
| Summary | 0032324: Modeling Algorithms - Improve BOPAlgo_Options::DumpErrors() output | ||||
| Description | The BOPAlgo_Options::DumpErrors method is currently printing error codes to output. In order to get human-readable errors, you have to perform the following manipulations:
const auto& fails = bop.GetReport()->GetAlerts(Message_Fail);
for (Message_ListOfAlert::Iterator it(fails); it.More(); it.Next())
{
Message_Msg msg(it.Value()->GetMessageKey());
const auto text = msg.Get();
}
which is not a very convenient way. | ||||
| Steps To Reproduce | BOPAlgo_BOP bop; bop.AddArgument(object); bop.AddTool(tool); bop.SetOperation(operation); bop.Perform(); std::stringstream errors; if (bop.HasErrors()) { bop.DumpErrors(errors); } | ||||
| Tags | No tags attached. | ||||
| Test case number | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2021-04-23 15:45 |
|
New Issue | |
| 2021-04-23 15:45 |
|
Assigned To | => msv |
| 2021-04-23 15:46 |
|
Description Updated | |
| 2021-04-23 15:48 |
|
Description Updated | |
| 2021-04-23 16:18 | kgv | Severity | minor => feature |
| 2021-04-23 16:18 | kgv | Summary | Improve BOPAlgo_Options::DumpErrors output => Modeling Algorithms - Improve BOPAlgo_Options::DumpErrors() output |
| 2021-08-29 19:24 |
|
Target Version | 7.6.0 => 7.7.0 |
| 2022-10-24 10:41 |
|
Target Version | 7.7.0 => 7.8.0 |
| 2023-08-01 15:08 | dpasukhi | Target Version | 7.8.0 => Unscheduled |