View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0030961 | Community | OCCT:Modeling Algorithms | public | 2019-09-11 18:21 | 2023-05-15 17:04 |
| Reporter | wandererfan | Assigned To | |||
| Priority | normal | Severity | block | ||
| Status | new | Resolution | open | ||
| Platform | Linux Mint and Win7 | ||||
| Product Version | 7.3.0 | ||||
| Summary | 0030961: HLRBRep_Algo/HLRBRep_HLRToShape return empty compound | ||||
| Description | Valid shape produces empty result when passed through HLRBREP_Algo. Same shape produces good result when passed through HLRBRep_PolyAlgo. DRAWEXE fails with message "Error: AIS_Shape::Compute() HLR Algorithm has failed ()" | ||||
| Steps To Reproduce | pload MODELING VISUALIZATION restore bulletShape.brep s vclear vinit View1 vdisplay -dispMode 1 s vfront vfit # polyAlgo is OK vhlr on -algoType polyAlgo # algo fails vhlr on -algoType algo Fails with construction error exception in gp_Dir due to zero normal in Contap_Contour:
TKHLR.dll!gp_Dir::gp_Dir(const gp_Vec & V) Line 32 C++
> TKHLR.dll!Contap_Contour::Perform(const opencascade::handle<Adaptor3d_TopolTool> & Domain) Line 1709 C++
TKHLR.dll!Contap_Contour::Perform(const opencascade::handle<Adaptor3d_HSurface> & Surf, const opencascade::handle<Adaptor3d_TopolTool> & Domain) Line 166 C++
TKHLR.dll!HLRTopoBRep_DSFiller::Insert(const TopoDS_Shape & S, Contap_Contour & FO, HLRTopoBRep_Data & DS, NCollection_DataMap<TopoDS_Shape,BRepTopAdaptor_Tool,TopTools_ShapeMapHasher> & MST, const int nbIso) Line 102 C++
TKHLR.dll!HLRTopoBRep_OutLiner::Fill(const HLRAlgo_Projector & P, NCollection_DataMap<TopoDS_Shape,BRepTopAdaptor_Tool,TopTools_ShapeMapHasher> & MST, const int nbIso) Line 96 C++
TKHLR.dll!HLRBRep_ShapeToHLR::Load(const opencascade::handle<HLRTopoBRep_OutLiner> & S, const HLRAlgo_Projector & P, NCollection_DataMap<TopoDS_Shape,BRepTopAdaptor_Tool,TopTools_ShapeMapHasher> & MST, const int nbIso) Line 54 C++
TKHLR.dll!HLRBRep_InternalAlgo::Update() Line 106 C++
execute DRAWEXE bulletShape.brep as follows: wandererfan@huxley ~ $ occDraw.sh OCCT DRAWEXE v7.3.0 Hint: use "pload ALL" command to load standard commands Draw[1]> Draw[2]> pload ALL 1 Draw[3]> restore bulletShape.brep bulletShape Draw[4]> vinit Driver1/Viewer1/View1 Draw[5]> vdisplay bulletShape Draw[6]> vfront Draw[7]> vfit Draw[8]> vhlrtype algo Draw[9]> vhlr on Error: AIS_Shape::Compute() HLR Algorithm has failed () Draw[10]> vhlr off Draw[11]> vhlrtype polyalgo Draw[12]> vhlr on Draw[13]> exit OCCT DRAWEXE v7.3.0 finished wandererfan@huxley ~ $ | ||||
| Additional information and documentation updates | FreeCAD bug report may have additional information: https://www.freecadweb.org/tracker/view.php?id=4122 | ||||
| Tags | No tags attached. | ||||
| Test case number | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2019-09-11 18:21 | wandererfan | New Issue | |
| 2019-09-11 18:21 | wandererfan | Assigned To | => msv |
| 2019-09-11 18:21 | wandererfan | File Added: bulletShape.brep | |
| 2020-07-04 22:06 | kgv | Steps to Reproduce Updated | |
| 2020-07-04 22:07 | kgv | Steps to Reproduce Updated | |
| 2023-05-15 17:04 | wandererfan | Note Added: 0113486 |