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'.
footprint/symbol generation 502s on EAGLE .brd input (blocks all Fusion-sourced molecules)
Summary
step2glb convert --board <file>.brd reliably fails footprint + symbol generation with
HTTP Error 502: Bad Gateway when the board is an EAGLE/Fusion .brd. Anchoring,
gold-pin upgrade, meter normalization and Draco optimization all succeed in the same job —
only the footprint/symbol stage 502s.
Because footprint_applied: true / footprint_pins: 4 is a hard publish gate in
molecule-publish, this blocks publishing ANY Fusion-sourced molecule: the GLB is
perfectly anchored but has no wire attach points.
Reproducer
step2glb convert nametag-blank-large-led.step \
--board nametag-blank-large-led.brd \
-o nametag-blank-large-led.glb
Output (identical across 3 consecutive runs):
OK: molecule GLB written (128 KB, 33 meshes, 63 nodes)
molecule_anchored: true
molecule_up_axis: "z"
fl_marker: "PIN_LRG:MP1"
pin_size: "large"
pin_size_source: "markers"
gold_upgraded: 9
WARN: footprint gen failed: HTTP Error 502: Bad Gateway
Job IDs (all status: complete, error: null, footprint_applied: null):
563332801b42997f, bba1c3e060f2a8cd, 22ede60248fe706e
stage_ms shows footprint_join: 0 — the stage never ran.
Both services are HEALTHY — this is not an outage
service-step2glb HTTP 200 v1.2.1 (8ad7d0d4) jobs_failed: 0 workers idle
service-kicad HTTP 200 v1.1.0 kicad_version: 10.0.2
/health on service-step2glb reports kicad_base: https://kicad-rk5ue5pcfemi.adom.cloud,
so footprint generation is an upstream call into service-kicad. That service answers
200 on /health, so the 502 is specific to the footprint-generation call, not the host.
Suspected cause
service-kicad is a KiCad service and its native board input is .kicad_pcb. We are handing
it an EAGLE .brd. This lines up with a known seam already documented in molecule-publish
§ Stage 3.5: "KiCad sources render today; EAGLE/Fusion (.brd/.sch) pages report
'nothing rendered' and skip gracefully." Footprint gen appears to hit the same gap, but
fails hard with a 502 instead of degrading gracefully.
Asks
- Support EAGLE
.brdin footprint/symbol generation (KiCad 10 can import EAGLE boards, so an import-then-generate path on service-kicad looks viable). - Failing that, surface a real error instead of a 502 — e.g.
footprint gen: EAGLE .brd not supported, convert to .kicad_pcb first. The bare "502 Bad Gateway" reads as a transient outage and cost real debugging time beforekicad_basein/healthpointed at the actual upstream.
Environment
step2glbCLI 0.12.0 (binary reports 1.2.1), Linux container- Board: 160 x 48 mm, 1.6 mm, 2-layer, 21 elements, exported from Fusion 360 Electronics
via
fusion_export_eagle_source(fusion-bridge v1.9.237) - Reported by
adonis