Skip to content

Missing/incorrect faces in displayed STEP file #349

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
HuguesDelorme opened this issue Feb 7, 2025 · 2 comments
Open

Missing/incorrect faces in displayed STEP file #349

HuguesDelorme opened this issue Feb 7, 2025 · 2 comments
Assignees
Labels
1. Data Exchange Import/Export or iterating of the CAD data 2. Bug Something isn't working
Milestone

Comments

@HuguesDelorme
Copy link

Description

The attached STEP file when rendered in Draw test harness is missing some faces, or are displayed incorrectly
STEP file to reproduce:
bldc_driver.zip

Expected Behavior

STEP file displayed correctly with DRAWEXE commands
With FreeCad:

Image

Actual Behavior

STEP file displayed with OpenCascade is missing faces
With DRAWEXE:

Image

Sample Code or DRAW Tcl Script

pload ALL
vinit
XNewDoc D
ReadStep D C:\PathToFile\...\bldc_driver.STEP
XShow D
vsetdispmode 1

Operating System

Windows

Compiler

MSVC

Bitness

64-bit

OCCT Version

7.8

Additional Files

No response

@HuguesDelorme HuguesDelorme added 0. New The issue was created, but not updated by maintainer. Waiting for updates labels and categories 2. Bug Something isn't working labels Feb 7, 2025
@dpasukhi dpasukhi added the 1. Data Exchange Import/Export or iterating of the CAD data label Feb 7, 2025
@dpasukhi
Copy link
Member

dpasukhi commented Feb 7, 2025

*******************************************************************
******        Statistics on Transfer Process (Read)          ******
******        Check messages                                 ******
*******************************************************************
 Count  Check ** TRANSFER READ CHECK **
 -----  -----------
    16  W:ADVANCED_FACE: Missing seam-edge added
    10  W:LINE: Poor result from projection vertex / line 3d, line shifted
    30  W:(BOUNDED_SURFACE,B_SPLINE_SURFACE,B_SPLINE_SURFACE_WITH_KNOTS,GEOMETRIC_REPRESENTATION_ITEM,RATIONAL_B_SPLINE_SURFACE,REPRESENTATION_ITEM,SURFACE): Surface forced to be periodic
    73  W:LINE: Poor result from projection vertex / curve 3d
    27  W:CIRCLE: Poor result from projection vertex / curve 3d
    21  W:EDGE_LOOP: Edges were intersecting, corrected
     4  W:B_SPLINE_CURVE_WITH_KNOTS: Poor result from projection vertex / curve 3d
    Nb Total:181  for 7 items
XGetShape shape D 0:1:1:8
checkshape shape
On Shape faulty_1 :
BRepCheck_InvalidPolygonOnTriangulation
On Shape faulty_2 :
BRepCheck_InvalidPolygonOnTriangulation
On Shape faulty_3 :
BRepCheck_SelfIntersectingWire
On Shape faulty_4 :
BRepCheck_UnorientableShape
Shape faulty_3  on shape faulty_4 :
BRepCheck_SelfIntersectingWire
On Shape faulty_5 :
BRepCheck_SelfIntersectingWire
On Shape faulty_6 :
BRepCheck_UnorientableShape
Shape faulty_5  on shape faulty_6 :
BRepCheck_SelfIntersectingWire

Faulty shapes in variables faulty_1 to faulty_6

@dpasukhi
Copy link
Member

dpasukhi commented Feb 7, 2025

bldc_driver_simplified.zip
File with only corrupted elements to read

*******************************************************************
******        Statistics on Transfer Process (Read)          ******
******        Check messages                                 ******
*******************************************************************
 Count  Check ** TRANSFER READ CHECK **
 -----  -----------
    48  W:LINE: Poor result from projection vertex / curve 3d
    27  W:CIRCLE: Poor result from projection vertex / curve 3d
     4  W:LINE: Poor result from projection vertex / line 3d, line shifted
    21  W:EDGE_LOOP: Edges were intersecting, corrected
     4  W:B_SPLINE_CURVE_WITH_KNOTS: Poor result from projection vertex / curve 3d
    Nb Total:104  for 5 items

TransferRead :

@dpasukhi dpasukhi self-assigned this Feb 7, 2025
@dpasukhi dpasukhi added this to the Release 8.0 milestone Feb 7, 2025
@dpasukhi dpasukhi removed the 0. New The issue was created, but not updated by maintainer. Waiting for updates labels and categories label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. Data Exchange Import/Export or iterating of the CAD data 2. Bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

2 participants