Adom Step2GLB - The Adom STEP Engine
Public Made by Adomby adom
The Adom STEP engine: fully manage STEP files. Convert to color-preserving GLB, render thumbnails and vector outlines, laser-etch MPNs, create and edit STEP geometry, extract features, and run molecule mode. One name for the thin Rust CLI and the shared OCCT service. Formerly 'step2glb' + 'service-step2glb'.
/name-emboss strips XCAF colors from the returned STEP (silently), while chip-laser's /etch preserves them
/name-emboss drops all XCAF color assignments from the STEP it returns. Found while generating hero art: the LQFP-100 library STEP converts with 3 materials normally, but after POST /name-emboss?name=STEP2GLB the returned named_step_b64, converted through our own /convert, yields 0 materials and the CLI prints its all-white warning. For the service whose headline differentiator is that colors survive, its own editing endpoint erasing them is a real footgun, and it is silent: the emboss response reports ok with no warning.
Repro:
- service-kicad model fetch Package_QFP.3dshapes/LQFP-100_14x14mm_P0.5mm.step
- POST /name-emboss?name=TEST&rot=180 with the STEP; decode named_step_b64
- step2glb convert embossed.step: materials: [] (original STEP: 3 materials)
Comparison: adom/adom-chip-laser's /etch on the same input returns a STEP that converts with 2 materials (body + light-grey inlay), so color-preserving text-into-die editing is achievable; we used it for the hero instead.
Ask: carry the source XCAF colors through the emboss (read with STEPCAFControl like /convert does), and at minimum surface a colors_preserved: false warning in the response until then. Service 1.2.1.