Flatten STEP File Structure
- Dominant language
- Python
- Stars
- 5.8k
- Forks
- 541
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 5
Description
The KiCAD project has existing STEP files that have a very flat structure. The following screenshot shows the structure when the file is imported.

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](https://gist.github.com/jmwright/f541f2bf78697a1f157349ccc4a63351)). 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.

Am I missing an option somewhere to flatten the structure? Is there a way to accomplish this? Any ideas @adam-urbanczyk ?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.