Skip to content

Flatten STEP File Structure #1249

@jmwright

Description

@jmwright

The KiCAD project has existing STEP files that have a very flat structure. The following screenshot shows the structure when the file is imported.

Screenshot from 2023-01-25 14-00-18

The reason they want this is because they can have full board models with thousands of components and they don't want any extra structure to deal with. Their STEPS do include the color, which is a requirement.

I've spent some time doing experiments with exporting to STEP, with some similarities to how we do it currently (gist here). I have tried different ways of structuring the exported shapes including making a compound, and adding a shape and adding all the faces to that. No matter what I do the structure of the STEP looks like this when imported into FreeCAD.

Screenshot from 2023-01-25 14-01-07

Am I missing an option somewhere to flatten the structure? Is there a way to accomplish this? Any ideas @adam-urbanczyk ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions