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'.
Laser etch assumes a top plane at zmax and fails on capacitor source frame
The laser-etch service fails on the existing CL21B105KBFNNNE STEP rather than finding its usable body surface.
Exact request: POST https://step2glb-gmdoncpxdwx0.adom.cloud/laser-etch?name=CL21B105KBFNNNE&mode=flat with application/step input /home/adom/aiflow-esc-astra/components/quality-audit/provenance-snapshots/adom__cl21b105kbfnnne/CL21B105KBFNNNE.step, X-Client astra-esc-mpn and X-Job-Name cl21b105kbfnnne-long-axis. Job 41d3c2f3ea157b8f.
Full job response is attached. status=failed, error=laser-etch worker exited 1 | {"ok": false, "error": "no top face found at zmax"}. Hint: ok is the lookup, status is the job. The error above is the worker's own stderr/exit; if it is not actionable, file it on adom/adom-step2glb with the job_id.
Expected: identify orientation or report a useful source-orientation correction, then fit on the usable body rather than blindly requiring a plane at global zmax. The source model's extents are 2.0 x 0.95 x 1.25mm, whereas this board's verified 0805 package is 2.0 x 1.25 x 0.95mm. Workaround: use the board's attributed KiCad C_0805_2012Metric generic model, explicitly disclose the source change, and generate/fill a fitted MPN group locally with CadQuery when the service cannot produce one. Do not silently reorient the native board using the wrong source frame.
Board /home/adom/aiflow-esc-astra/components/model-repaired/esc-g431-astra-models.kicad_pcb; spec /home/adom/aiflow-esc-astra/spec.json. Shared engine 1.3.0 f02d0909. Distinct from text-overflow issue #14.