View Issue Details

IDProjectCategoryView StatusLast Update
0033332CommunityOCCT:Modeling Algorithmspublic2024-02-07 17:20
ReporterPeterB Assigned ToPeterB  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
PlatformWindowsOSVC++ 2017 
Product Version7.6.0 
Summary0033332: Modeling Algorithms - Generating 2D view from STEP file results in incomplete circles: the last line segment is missing
Descriptiongenerating 2D view from STEP file results in incomplete circles:
=> the last line segment is missing

This line segment is missing on the right hand side (east side) of the 2D view (red marked in the attached screenshot).
Steps To Reproducesee attached:
+ STEP-to-DXF-CmdLineTool.zip
   NOTE: contains ReadMe.txt
+ STEP file
   NOTE: contains four circles on Front / Back views
+ screenshot of Front view

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)

BUG:
Circles are incomplete on these 2D views as the last line segment is missing for each circle.
This line segment is missing on the right hand side (east side) of the 2D view (red marked in the screenshot).
=> pls see the attached screenshot
TagsNo tags attached.
Test case number

Attached Files

  • STEP-to-DXF-CmdLineTool.zip (10,277 bytes)
  • CAD_MPL_1553.500--Front.png (10,181 bytes)
  • CAD_MPL_1553.500.stp (90,578 bytes)
  • occt_hlr.brep (33,840 bytes)

Relationships

related to 0033333 closedakaftasev Modeling Algorithms - Generating 2D view from STEP file: circles in STEP file should remain circles in 2D view 

Activities

PeterB

2023-02-16 18:36

reporter  

STEP-to-DXF-CmdLineTool.zip (10,277 bytes)
CAD_MPL_1553.500--Front.png (10,181 bytes)
CAD_MPL_1553.500.stp (90,578 bytes)

dpasukhi

2023-02-16 18:44

administrator   ~0113159

Last edited: 2023-02-16 18:45

Dear @PeterB
I think the category of your quastion is not Data Exchange.
It is modeling.
*HLR is not part of data exchange

dpasukhi

2023-02-16 18:55

administrator   ~0113160

Dear @PeterB
Additina; quastion: 0033226 impact on presented result?

PeterB

2023-02-16 19:07

reporter   ~0113163

Dear @dpasukhi,
Thanks for correcting the category.
This bug (incomplete circles) and Bug 0033226 (infinite loop) are not related.
Kind regards,
Peter B.

PeterB

2023-02-16 19:14

reporter   ~0113165

Dear @dpasukhi,
please not that 0033333 (the other one) is a feature request.
And this one 0033332 is a bug versus the current implementation (2D views composed of line segments).
Kind regards,
Peter B.

dpasukhi

2023-02-20 22:02

administrator   ~0113192

Last edited: 2023-02-20 22:09

Dear @PeterB
Unfortunatelly,
We can't reproduce your problem on the OCCT 7.7.
If it is possible, can you share a shape result from HLR generation?
It looks like a problem with your implementation.
I think you have a bug into iteration on edges. It is not general way to get points from polylines.
Moreover, we offer 2 alghoritms to generate: HLRBRep_PolyAlgo and HLRBRep_Algo.
It will be gret, if you try to reproduce you problem in pure occt env by DRAW test system
readfile result d:/test.stp
vcomputehlr result hlr_res -algoType algo
writefile hlr_res d:/test.brep

dpasukhi

2023-02-20 22:03

administrator   ~0113193

Result looks good
occt_hlr.brep (33,840 bytes)

PeterB

2023-03-02 17:08

reporter   ~0113221

Dear @dpasukhi,
thanks for your investigation and hint.
We're working on it on our side.
Stay tuned ....
kind regards,
Peter B.

PeterB

2023-09-27 17:02

reporter   ~0114308

Dear @dpasukhi,
root cause for this bug is in our source and we managed it in our source.
Pls close this ticket.
Thanks.
- Peter B.

PeterB

2024-02-07 16:39

reporter   ~0115048

Dear @dpasukhi,
root cause for this bug is in our source and we managed it in our source.
> > > Pls close this ticket. < < <
Thanks.
- Peter B.

PeterB

2024-02-07 16:41

reporter   ~0115049

Reminder sent to: dpasukhi

Dear @dpasukhi,
root cause for this bug is in our source and we managed it in our source.
> > > Pls close this ticket. < < <
Thanks.
- Peter B.

dpasukhi

2024-02-07 17:19

administrator   ~0115050

Issue is closed.
The original problem on reporter's side.

Issue History

Date Modified Username Field Change
2023-02-16 18:36 PeterB New Issue
2023-02-16 18:36 PeterB Assigned To => DenisOrlov
2023-02-16 18:36 PeterB File Added: STEP-to-DXF-CmdLineTool.zip
2023-02-16 18:36 PeterB File Added: CAD_MPL_1553.500--Front.png
2023-02-16 18:36 PeterB File Added: CAD_MPL_1553.500.stp
2023-02-16 18:43 dpasukhi Assigned To DenisOrlov => ika
2023-02-16 18:44 dpasukhi Note Added: 0113159
2023-02-16 18:45 dpasukhi Note Edited: 0113159
2023-02-16 18:51 dpasukhi Assigned To ika => oan
2023-02-16 18:51 dpasukhi Severity major => minor
2023-02-16 18:51 dpasukhi Category OCCT:Data Exchange => OCCT:Modeling Algorithms
2023-02-16 18:52 dpasukhi Summary generating 2D view from STEP file results in incomplete circles: the last line segment is missing => Modeling Algorithms - Generating 2D view from STEP file results in incomplete circles: the last line segment is missing
2023-02-16 18:55 dpasukhi Note Added: 0113160
2023-02-16 19:05 dpasukhi Relationship added has duplicate 0033333
2023-02-16 19:07 PeterB Note Added: 0113163
2023-02-16 19:14 PeterB Note Added: 0113165
2023-02-16 19:16 dpasukhi Relationship replaced related to 0033333
2023-02-20 22:02 dpasukhi Note Added: 0113192
2023-02-20 22:02 dpasukhi Assigned To oan => PeterB
2023-02-20 22:02 dpasukhi Status new => feedback
2023-02-20 22:03 dpasukhi Note Added: 0113193
2023-02-20 22:03 dpasukhi File Added: occt_hlr.brep
2023-02-20 22:09 dpasukhi Note Edited: 0113192
2023-03-02 17:08 PeterB Note Added: 0113221
2023-09-27 17:02 PeterB Note Added: 0114308
2024-02-07 16:39 PeterB Note Added: 0115048
2024-02-07 16:41 PeterB Note Added: 0115049
2024-02-07 17:19 dpasukhi Status feedback => closed
2024-02-07 17:19 dpasukhi Resolution open => fixed
2024-02-07 17:19 dpasukhi Note Added: 0115050
2024-02-07 17:20 dpasukhi Resolution fixed => no change required