3D Viewer: Problem processing STEP nested files
Description
Problem processing STEP nested files. Such nested STEP files are often the result of exporting assembly from CAD programs such as Solidworks or Onshape.
The original STEP assembly model exported from Onshape
Edited STEP model using FreeCad to remove the hierarchy.
Steps to reproduce
- Assign this footprint the STEP model PANEL.step
- Observe the incorrect display in the 3D viewer
KiCad Version
Application: 3D Viewer
Version: 5.99.0-unknown-688a03179~104~ubuntu20.04.1, release build
Libraries:
wxWidgets 3.0.4
Platform: Linux 5.4.0-51-generic x86_64, 64 bit, Little endian, wxGTK, cinnamon, x11
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.71.0
OCE: 6.9.1
Curl: 7.68.0
ngspice: 31
Compiler: GCC 9.3.0 with C++ ABI 1013
Build settings:
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_SPICE=ON