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'.
silk-top is silently ignored without --molecule (byte-identical GLB, no warning)
--silk-top / --silk-bottom are accepted and then ignored unless --molecule is also passed. The CLI exits 0, prints a normal success line, and the resulting GLB is byte-identical to one converted without the flag — no warning, no silkscreen_applied field in the response.
Reproduced on service v1.2.0, CLI 0.11.2:
$ step2glb convert board.step -o a.glb
$ step2glb convert board.step -o b.glb --silk-top overlay.png
$ sha256sum a.glb b.glb
807745b4987754e2... a.glb
807745b4987754e2... b.glb # identical
$ step2glb convert board.step -o c.glb --molecule --silk-top overlay.png
silkscreen_applied: true # works here
This cost real debugging time: the silent success looks exactly like a correctly-applied overlay until you diff the bytes or notice the mesh count did not change.
Suggested fix (either is fine):
- Apply the overlay in plain convert mode too — nothing about it seems inherently molecule-specific; or
- Fail loudly:
error: --silk-top requires --molecule.
Also worth surfacing silkscreen_applied in the plain-convert response so callers can assert on it.
Docs note: adom-step2glb/SKILL.md mentions --silk-top only inside the molecule-pipeline section, so the restriction may be intentional — but it is not discoverable from the CLI's own --help, which lists the flags unconditionally.