Skip to content

Extracting Full Geometric Information from STEP Files for Parametric Accurate Reconstruction #1442

Open
@ZaidAl-Qadhi

Description

@ZaidAl-Qadhi

Dear pythonocc-core developers,

First of all, thank you very much for developing and maintaining this library. I’m currently exploring it as a potential solution for a geometry processing task, and I appreciate the opportunity to work with CAD data directly in Python.
I have a STEP file that contains only geometric entities — specifically, points, curves, and surfaces (no solids or volumes). My goal is to extract all possible geometric information from this file so I can reconstruct the geometry in another software, such as Gmsh, for meshing and simulation purposes.

As someone new to pythonocc-core, I’m still learning what the library is capable of. I would like to know if it’s possible to extract the following:

  • Coordinates of points
  • Types of curves and surfaces
  • For B-Splines:
    • Control points (poles)
    • Degrees
    • Knot vectors
    • Weights and multiplicities
    • Trimming boundaries for trimmed surfaces
    • Any other parameters that define the exact geometry

So far, I’ve been able to read in the STEP file and explore some topological shapes. But I’m unsure how to access the full geometric definitions, especially for B-Spline curves and surfaces — which I need in order to reconstruct the original structure accurately. In my case, the structure can consist of tens of connected surfaces, and preserving the accuracy and continuity between them is essential.

Could you please let me know:
Whether this kind of detailed extraction is supported in pythonocc-core?
If so, are there any examples, tutorials, or documentation that explain how to do this?

I would be very grateful for any guidance or references you could share.
Thank you again for your great work on this library!

Best regards,
Zaid Al-Qadhi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions