app
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'.
← Commit history
Reframe core value prop: fully manage STEP files (colors intact stays as differentiator); pkg 1.2.1
3 files changed
+8−6
README.md+2−2@@ -1,6 +1,6 @@ # adom-step2glb -**The Adom STEP engine: one name for the CLI and the shared OCCT service behind it.**+**The Adom STEP engine: fully manage STEP files. One name for the CLI and the shared OCCT service behind it.** `adom-step2glb` is two halves of one thing, and this page is the home for both: @@ -39,7 +39,7 @@ your container shared service container - **Async everywhere.** Every POST returns `202 + job_id` immediately. Clients poll `GET /jobs/{id}` until `status: complete`, then fetch `GET /jobs/{id}/result`. The CLI does all polling for you. - **Crash-proof by design.** The server process never imports OCCT. Every job runs in an isolated subprocess, so a segfault on a pathological STEP kills one job, not the service.-- **Color preservation is the point.** OCCT's XCAF path (`STEPCAFControl_Reader` with colors, names, and materials enabled, then `RWGltf_CafWriter`) keeps per-face colors from the source CAD. The legacy paths everyone hits first (`cadquery.Assembly.save('…glTF')`, `kicad-cli pcb export glb`) collapse everything to all-white.+- **Colors survive conversion.** OCCT's XCAF path (`STEPCAFControl_Reader` with colors, names, and materials enabled, then `RWGltf_CafWriter`) keeps per-face colors from the source CAD. The legacy paths everyone hits first (`cadquery.Assembly.save('…glTF')`, `kicad-cli pcb export glb`) collapse everything to all-white. - **Large uploads gzip automatically** (STEP is text; it compresses about 5x). - **Identity required.** Every POST carries `X-Client` and `X-Job-Name` headers so the service dashboard can attribute load. The CLI sends them automatically; raw HTTP callers must set both.
SKILL.md+1−1@@ -1,6 +1,6 @@ --- name: step2glb-description: The Adom STEP engine, CLI + shared OCCT service under one name. Convert STEP (.step/.stp) CAD files to color-preserving GLBs, render thumbnails (single + batch) and 16 vector outline styles, laser-emboss part numbers into the die, create/edit STEP geometry (create-chip, create-footprint, bake), extract features, and run FULL MOLECULE MODE (--molecule/--board: MP-marker anchoring, gold machine pins, footprint + symbol JSON with per-pad wire-attach Z). Thin ~3MB Rust CLI; the OCCT runtime stays on the service. Use when the user asks to convert a STEP to GLB, convert a molecule board, render a component with real materials, extract STEP features, make STEP thumbnails, etch a name onto a chip, or edit/generate STEP geometry. Triggers: step to glb, step2glb, convert step, cad to glb, molecule convert, kicad step to glb, occt gltf, occt service, step preview, step thumbnail, step features, edit step file, create chip step, emboss mpn.+description: The Adom STEP engine, CLI + shared OCCT service under one name. FULLY MANAGE STEP FILES end to end. Convert STEP (.step/.stp) CAD files to color-preserving GLBs, render thumbnails (single + batch) and 16 vector outline styles, laser-emboss part numbers into the die, create/edit STEP geometry (create-chip, create-footprint, bake), extract features, and run FULL MOLECULE MODE (--molecule/--board: MP-marker anchoring, gold machine pins, footprint + symbol JSON with per-pad wire-attach Z). Thin ~3MB Rust CLI; the OCCT runtime stays on the service. Use when the user asks to convert a STEP to GLB, convert a molecule board, render a component with real materials, extract STEP features, make STEP thumbnails, etch a name onto a chip, or edit/generate STEP geometry. Triggers: manage step files, step file management, step to glb, step2glb, convert step, cad to glb, molecule convert, kicad step to glb, occt gltf, occt service, step preview, step thumbnail, step features, edit step file, create chip step, emboss mpn. --- # adom-step2glb — the Adom STEP engine (CLI + shared OCCT service)
package.json+5−3@@ -1,8 +1,8 @@ { "slug": "adom-step2glb",- "version": "1.2.0",+ "version": "1.2.1", "type": "app",- "description": "The Adom STEP engine: color-preserving STEP to GLB conversion, thumbnails, vector outlines, MPN laser embossing, STEP creation/editing, and molecule mode. One name for the thin Rust CLI and the shared OCCT service behind it. Formerly 'step2glb' + 'service-step2glb'.",+ "description": "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'.", "tags": [ "step", "glb",@@ -25,6 +25,8 @@ }, "license": "MIT", "discovery_triggers": [+ "step file management",+ "manage step files", "convert step to glb", "step to glb", "step2glb",@@ -50,7 +52,7 @@ "step metadata", "silkscreen overlay glb" ],- "discovery_pitch": "Anything STEP that needs a real CAD kernel: color-preserving GLB conversion, single + batch thumbnails, 16 vector outline styles, MPN laser embossing, STEP creation/editing (create-chip, create-footprint, bake), feature extraction, and full molecule mode (anchored GLB + footprint + symbol). Thin ~3MB CLI; the shared OCCT service container does the heavy lifting.",+ "discovery_pitch": "Fully manage STEP files: color-preserving GLB conversion, single + batch thumbnails, 16 vector outline styles, MPN laser embossing, STEP creation/editing (create-chip, create-footprint, bake), feature extraction, and full molecule mode (anchored GLB + footprint + symbol). Thin ~3MB CLI; the shared OCCT service container does the heavy lifting.", "sample_prompts": [ { "label": "Plain convert",