View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0033341 | Community | OCCT:Modeling Algorithms | public | 2023-03-07 02:30 | 2023-08-01 15:33 |
| Reporter | dratner | Assigned To | akaftasev | ||
| Priority | normal | Severity | minor | ||
| Status | new | Resolution | open | ||
| Platform | Windows | OS | VC++ 2015 | ||
| Product Version | 7.6.3 | ||||
| Target Version | Unscheduled | ||||
| Summary | 0033341: Modeling Algorithms - BRepAlgoAPI_Fuse of torus and cylinder not build | ||||
| Description | Given a particular orientation of the provided torus and cylinder solid-bodies, an attempted Fuse operation results in error. A non-error result is desired. It is noted that with OCCT 7.3 we are getting a sold-body result, but one with apparent non-G1 and overlapping edges . | ||||
| Steps To Reproduce |
// Load torus and cylinder solids.
TopoDS_Shape torusShp;
BRep_Builder builder;
BRepTools::Read(torusShp, "torus.brep", builder);
TopoDS_Shape cylinderShp;
BRepTools::Read(cylinderShp, "cylinder.brep", builder);
TopTools_ListOfShape targetShpList;
targetShpList.Append(torusShp);
TopTools_ListOfShape toolShpList;
toolShpList.Append(cylinderShp);
// Perform boolean.
BRepAlgoAPI_Fuse bop;
bop.SetArguments(targetShpList);
bop.SetTools(toolShpList);
bop.SetFuzzyValue(tolerance);
bop.SetNonDestructive(Standard_True);
bop.SetUseOBB(Standard_True);
bop.Build();
if (bop.HasErrors()) {
Handle(Message_Report) msgReport = bop.GetReport();
const Message_ListOfAlert &msgList = msgReport->GetAlerts(Message_Info);
}
Standard_Boolean success = bop.IsDone();
| ||||
| Tags | No tags attached. | ||||
| Test case number | |||||
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2023-03-07 02:30 | dratner | New Issue | |
| 2023-03-07 02:30 | dratner | Assigned To | => oan |
| 2023-03-07 02:30 | dratner | File Added: README_2670.txt | |
| 2023-03-07 02:30 | dratner | File Added: cylinder.brep | |
| 2023-03-07 02:30 | dratner | File Added: torus.brep | |
| 2023-03-07 13:42 | dpasukhi | Target Version | => Unscheduled |
| 2023-03-07 13:42 | dpasukhi | Steps to Reproduce Updated | |
| 2023-03-07 13:46 | dpasukhi | Summary | BRepAlgoAPI_Fuse with Has.Errors and !IsDone() => Modeling Algorithms - BRepAlgoAPI_Fuse of torus and cylinder not build |
| 2023-08-01 15:33 | dpasukhi | Assigned To | oan => akaftasev |