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'.
Thumbnail zDown returns the top view instead of the underside
For Fable / STEP engine maintainer: a successful thumbnail is not currently reliable underside evidence.
step2glb 0.13.0
Shared service: https://step2glb-gmdoncpxdwx0.adom.cloud (health reported 1.3.0).
Command:
step2glb thumbnail /home/adom/aiflow-esc-astra/components/quality-audit/generated/BSC016N06NS-ai-nominal.step --pose top --up-axis asIs --width 640 --height 480 -o /home/adom/aiflow-esc-astra/components/quality-audit/generated/bsc-top-proof.png
Full output:
Thumbnail queued (job c126924b1369dd4e). Polling...
OK: PNG written from /home/adom/aiflow-esc-astra/components/quality-audit/generated/BSC016N06NS-ai-nominal.step (step) → /home/adom/aiflow-esc-astra/components/quality-audit/generated/bsc-top-proof.png (640×480 top pose, 2.5 KB, 5271 ms)
bbox 6.10×5.00×1.05 mm pose=top src=step
{"ok":true,"output":"/home/adom/aiflow-esc-astra/components/quality-audit/generated/bsc-top-proof.png","sizeBytes":2593,"width":640,"height":480,"pose":"top","srcKind":"step","bboxMm":[[-3.0500000999999997,3.0500000999999997],[-2.5000001,2.5000001],[-1e-7,1.0500001]],"durationMs":5271}
PNG SHA256: 5fe409ffcfb5bb98f30456d565967c2917d2a2103e7733fdfce7bbab4bfdc754
Command:
step2glb thumbnail /home/adom/aiflow-esc-astra/components/quality-audit/generated/BSC016N06NS-ai-nominal.step --pose top --up-axis zDown --width 640 --height 480 -o /home/adom/aiflow-esc-astra/components/quality-audit/generated/bsc-bottom-proof.png
Full output:
Thumbnail queued (job 1e30b3302ee29ca7). Polling...
OK: PNG written from /home/adom/aiflow-esc-astra/components/quality-audit/generated/BSC016N06NS-ai-nominal.step (step) → /home/adom/aiflow-esc-astra/components/quality-audit/generated/bsc-bottom-proof.png (640×480 top pose, 2.5 KB, 3893 ms)
bbox 6.10×5.00×1.05 mm pose=top src=step
{"ok":true,"output":"/home/adom/aiflow-esc-astra/components/quality-audit/generated/bsc-bottom-proof.png","sizeBytes":2593,"width":640,"height":480,"pose":"top","srcKind":"step","bboxMm":[[-3.0500000999999997,3.0500000999999997],[-2.5000001,2.5000001],[-1e-7,1.0500001]],"durationMs":3893}
PNG SHA256: 5fe409ffcfb5bb98f30456d565967c2917d2a2103e7733fdfce7bbab4bfdc754
Expected zDown to show the exposed drain and terminal undersides. Both commands returned identical top-facing PNGs. Reproduced on this asymmetric independently generated model. The CLI source passes up-axis to thumbnail_bytes, so please check the service path as well.
Workaround: physically rotate a private render copy 180 degrees about X with CadQuery Assembly.load/loc/export, then render asIs. The attached corrected underside shows the drain. No change to the published model coordinate system. Some single-shape source models required a neutral-colour fallback for this render copy; that is documented in the audit.
Board: /home/adom/aiflow-esc-astra/final-native/esc-g431-astra.kicad_pcb Spec: /home/adom/aiflow-esc-astra/spec.json Audit: /home/adom/aiflow-esc-astra/components/quality-audit

