Archived issue #0033332
Modeling Algorithms - Generating 2D view from STEP file results in incomplete circles: the last line segment is missing
Description
generating 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).
=> 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 reproduce
see attached:
+ Attachment 4 (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
+ Attachment 4 (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
Public activity
11 archived notes
Participants are labeled by their role within this record.
Dear Commenter 3
I think the category of your quastion is not Data Exchange.
It is modeling.
*HLR is not part of data exchange
I think the category of your quastion is not Data Exchange.
It is modeling.
*HLR is not part of data exchange
Dear Commenter 4,
Thanks for correcting the category.
This bug (incomplete circles) and Bug 0033226 (infinite loop) are not related.
[signature removed]
Peter B.
Thanks for correcting the category.
This bug (incomplete circles) and Bug 0033226 (infinite loop) are not related.
[signature removed]
Peter B.
Dear Commenter 4,
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).
[signature removed]
Peter B.
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).
[signature removed]
Peter B.
Dear Commenter 3
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
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
Result looks good
Attachment 3 (BREP) (33,840 bytes)
Dear Commenter 4,
thanks for your investigation and hint.
We're working on it on our side.
Stay tuned ....
[signature removed]
Peter B.
thanks for your investigation and hint.
We're working on it on our side.
Stay tuned ....
[signature removed]
Peter B.
Dear Commenter 4,
root cause for this bug is in our source and we managed it in our source.
Pls close this ticket.
Thanks.
- Peter B.
root cause for this bug is in our source and we managed it in our source.
Pls close this ticket.
Thanks.
- Peter B.
Dear Commenter 4,
root cause for this bug is in our source and we managed it in our source.
> > > Pls close this ticket. < < <
Thanks.
- Peter B.
root cause for this bug is in our source and we managed it in our source.
> > > Pls close this ticket. < < <
Thanks.
- Peter B.
Reminder sent to: Commenter 2
Dear Commenter 4,
root cause for this bug is in our source and we managed it in our source.
> > > Pls close this ticket. < < <
Thanks.
- Peter B.
Dear Commenter 4,
root cause for this bug is in our source and we managed it in our source.
> > > Pls close this ticket. < < <
Thanks.
- Peter B.
Issue is closed.
The original problem on reporter's side.
The original problem on reporter's side.
Related records