View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0033334 | Community | OCCT:Modeling Algorithms | public | 2023-02-17 12:48 | 2024-07-11 10:33 |
Reporter | PeterB | Assigned To | dpasukhi | ||
Priority | normal | Severity | major | ||
Status | new | Resolution | open | ||
Platform | Windows | OS | VC++ 2017 | ||
Product Version | 7.6.0 | ||||
Target Version | Unscheduled | ||||
Summary | 0033334: Modeling Algorithms - Generating 2D front view from STEP file: Handle_HLRBRep_Data::NbEdges() == 0 | ||||
Description | Generating 2D front view from STEP file: Handle_HLRBRep_Data::NbEdges() == 0 BUG: no edges are returned for the front view => see error message of the cmdline tool The contained Visual Studio 17 solution exemplifies in an STEP to DXF command line tool how we use OpenCascade to read STEP files and generate the six 2D views (front, back, right, left, top, bottom) C:\Test\STEP-to-DXF-CmdLineTool\x64\Release>STEP-to-DXF.exe ELD.MAS0808021R5-schrank.stp STEP-to-DXF Converter v1.0 Beta Copyright Zuken E3 GmbH 2022. All rights reserved. W-INFO: Input: "ELD.MAS0808021R5-schrank.stp" W-INFO: Front: E-FATAL: in function "TransferTo2d()": Handle_HLRBRep_Data::NbEdges() == 0 | ||||
Steps To Reproduce | === attachments === + STEP-to-DXF-CmdLineTool.zip NOTE: contains ReadMe.txt + STEP file === reproduction === + build cmdline tools using VS 2017 + run / debug the cmdline tool with the attached STEP file | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
STEP-to-DXF-CmdLineTool.zip (10,277 bytes) ELD.MAS0808021R5-schrank.stp (1,624,232 bytes) |
|
Dear @PeterB The current problem leads to crush or just incorrect result? |
|
Dear @dpasukhi, for this STEP file we cannot generate the front view. So no crash but we don't get any result. - Peter B. |
|
Dear @dpasukhi we updated to OpenCascade v7.7.0 and still see this issue. I wonder whether you managed to reproduce this bug with our attached cmdline tool? Kind regards, Peter B. |
|
Dear @PeterB You create your ticket when 7.7.0 was released more then 4 month ago. We be able to impliment this only in 7.7.1 but your ticket have low priority. Using general DRAW commands we can't reproduce your problem yet. We can't test the problem on your application w/o draw commands. If you would like recieve direcly support, please contact the customer service https://www.opencascade.com/technology-support or use "contact to use" with client-service support |
|
Dear @dpasukhi yes, I know that 7.7.0 was already released when I submitted this ticket. Receiving a bugfix in 7.7.1 would be really great! I wonder whether you can build & run our cmdline tool. This should help to reproduce this bug: C:\Test\STEP-to-DXF-CmdLineTool\x64\Release>STEP-to-DXF.exe ELD.MAS0808021R5-schrank.stp STEP-to-DXF Converter v1.0 Beta Copyright Zuken E3 GmbH 2022. All rights reserved. W-INFO: Input: "ELD.MAS0808021R5-schrank.stp" W-INFO: Front: E-FATAL: in function "TransferTo2d()": Handle_HLRBRep_Data::NbEdges() == 0 Kind regards, Peter B. |
|
Dear @PeterB, 7.7.1 have been released on this week. If you can reproduce your problem using DRAW commands, It ups the priority of your ticket. At the moment, our Modeling Team have a lot of tasks. We don't able to research community's solutions. Using DRAW commands you can make HLR and rotate view. You can find examples in "occt\tests\hlr" It is TCL language with OCCT plugins. https://dev.opencascade.org/doc/overview/html/occt_user_guides__test_harness.html |
|
Now it looks goodpload ALL readfile a D:/work/occt/occt/data/ELD.MAS0808021R5-schrank.stp delete view 1 +X+Y 465 20 800 800 vinit View1 vdisplay a vback vcomputehlr a result -algoType algo build3d result fit image.png (11,572 bytes) |
|
There information about parameters of vcomputehlr commandvcomputehlr : vcomputehlr shapeInput hlrResult [-algoType {algo|polyAlgo}=polyAlgo] : [eyeX eyeY eyeZ dirX dirY dirZ upX upY upZ] : [-showTangentEdges {on|off}=off] [-nbIsolines N=0] [-showHiddenEdges {on|off}=off] : Arguments: : shapeInput - name of the initial shape : hlrResult - result HLR object from initial shape : eye, dir are eye position and look direction : up is the look up direction vector : -algoType HLR algorithm to use : -showTangentEdges include tangent edges : -nbIsolines include isolines : -showHiddenEdges include hidden edges : Use vtop to see projected HLR shape. hlr_generated.brep (84,432 bytes) |
|
one more STEP file "G_KT01_XX_01110V.stp" to reproduce this bug from a customer that uses our product with OpenCascade 7.7.0 OK: with OC 7.3.0 it still worked BUG: with OC 7.6.0 and OC 7.7.0 we can reproduce this bug G_KT01_XX_01110V.zip (1,080,802 bytes) |
|
Dear @dpasukhi we still use OC 7.7.0. For using OC 7.7.1 we would have to patch OC 7.7.0 and build the binaries ourselves, correct? I wonder whether you could give it a try with the two STEP files attached to this bug and our latest STEP-to-DXF.exe cmdline tool (attached). C:\OpenCascade\STEP-to-DXF-CmdLineTool\x64\Debug>STEP-to-DXF.exe G_KT01_XX_01110V.stp STEP-to-DXF Converter v1.1.0 Beta Copyright Zuken E3 GmbH 2022-2023. All rights reserved. W-INFO: Input: 2.76 sec - "G_KT01_XX_01110V.stp" W-INFO: Front: E-FATAL: in function "TransferTo2d()": Handle_HLRBRep_Data::NbEdges() == 0 Total Duration: 2.91 sec Kind regards, Peter B. STEP-to-DXF-CmdLineTool-2.zip (10,518 bytes) |
|
Dear @dpasukhi I just tested OC 7.7.2 maintenance release this bug is still reproducible with OC 7.7.2 |
|
=== TMS === Designer-41592 |
|
still reproducible with OCC 7.8.0 |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-02-17 12:48 | PeterB | New Issue | |
2023-02-17 12:48 | PeterB | Assigned To | => oan |
2023-02-17 12:50 | PeterB | Note Added: 0113166 | |
2023-02-17 12:50 | PeterB | File Added: STEP-to-DXF-CmdLineTool.zip | |
2023-02-17 12:50 | PeterB | File Added: ELD.MAS0808021R5-schrank.stp | |
2023-02-17 13:42 | dpasukhi | Summary | Generating 2D front view from STEP file: Handle_HLRBRep_Data::NbEdges() == 0 => Modeling Algorithms - Generating 2D front view from STEP file: Handle_HLRBRep_Data::NbEdges() == 0 |
2023-02-17 13:43 | dpasukhi | Note Added: 0113168 | |
2023-02-17 13:47 | PeterB | Note Added: 0113169 | |
2023-03-30 11:51 | PeterB | Note Added: 0113341 | |
2023-03-30 11:56 | dpasukhi | Note Added: 0113342 | |
2023-03-30 12:00 | dpasukhi | Note Edited: 0113342 | |
2023-03-30 12:41 | dpasukhi | Note Edited: 0113342 | |
2023-03-30 12:41 | dpasukhi | Note Edited: 0113342 | |
2023-03-30 12:42 | dpasukhi | Note Edited: 0113342 | |
2023-03-30 13:02 | dpasukhi | Target Version | => Unscheduled |
2023-03-31 16:06 | PeterB | Note Added: 0113344 | |
2023-03-31 18:54 | dpasukhi | Note Added: 0113345 | |
2023-03-31 19:03 | dpasukhi | Note Added: 0113346 | |
2023-03-31 19:03 | dpasukhi | File Added: image.png | |
2023-03-31 19:05 | dpasukhi | Note Added: 0113347 | |
2023-03-31 19:05 | dpasukhi | File Added: hlr_generated.brep | |
2023-03-31 19:07 | dpasukhi | Note Edited: 0113347 | |
2023-07-28 18:10 | PeterB | Note Added: 0113808 | |
2023-07-28 18:10 | PeterB | File Added: G_KT01_XX_01110V.zip | |
2023-07-28 18:15 | PeterB | Note Added: 0113809 | |
2023-07-28 18:15 | PeterB | File Added: STEP-to-DXF-CmdLineTool-2.zip | |
2023-08-01 15:33 | dpasukhi | Assigned To | oan => akaftasev |
2023-09-14 14:15 | PeterB | Note Added: 0114166 | |
2023-09-26 16:55 | PeterB | Note Added: 0114290 | |
2024-03-14 19:33 | PeterB | Note Added: 0115372 | |
2024-06-07 14:03 | akaftasev | Assigned To | akaftasev => |
2024-07-11 10:33 | PeterB | Assigned To | => dpasukhi |