Anonymous | Login | 2021-01-19 14:33 MSK | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0030961 | Community | [OCCT] OCCT:Modeling Algorithms | public | 2019-09-11 18:21 | 2020-07-04 22:07 | ||||||||
Reporter | wandererfan | ||||||||||||
Assigned To | msv | ||||||||||||
Priority | normal | Severity | block | ||||||||||
Status | new | Resolution | open | ||||||||||
Platform | Linux Mint and Win7 | OS | OS Version | ||||||||||
Product Version | [OCCT] 7.3.0 | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
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 | |||||||||||||
Attached Files | ![]() | ||||||||||||
![]() |
|||
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 | View Revisions |
2020-07-04 22:07 | kgv | Steps to Reproduce Updated | View Revisions |
Copyright © 2000 - 2021 MantisBT Team |