Colors are not transferred correctly in STEP export
Description
From https://forum.kicad.info/t/is-there-performance-or-compatibility-issues-with-the-new-step-export-in-kicad-8/53956 Colors are not transferred correctly with the following step models:
20021112-00006T4LF--3DModel-STEP-56544.STEP
Example project: step_colors.zip
Steps to reproduce
- Export the example project to STEP
- Check colors
KiCad Version
Application: KiCad x64 on x64
Version: 8.99.0-3045-g2c62c151fc, debug build
Libraries:
wxWidgets 3.2.6
FreeType 2.13.3
HarfBuzz 10.0.1
FontConfig 2.15.0
Platform: Windows 11 (build 22631), 64-bit edition, 64 bit, Little endian, wxMSW
wxWidgets: 3.2.6 (wchar_t,wx containers)
Boost: 1.86.0
OCC: 7.8.1
Curl: 8.10.1-DEV
ngspice: 43
Compiler: Visual C++ 1942 without C++ ABI
Build settings:
KICAD_IPC_API=ON
KICAD_STDLIB_DEBUG=OFF
KICAD_STDLIB_LIGHT_DEBUG=OFF
KICAD_SANITIZE_ADDRESS=OFF
KICAD_SANITIZE_THREADS=OFF
Locale:
Lang: en_GB
Enc: UTF-8
Num: 1,234.5
Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)
Edited by dsa-t