Skip to content

feat(svg): add single-outline symbol for CAD import#40

Merged
IamMrCupp merged 1 commit into
mainfrom
feat/cad-extrusion-symbol
Jun 2, 2026
Merged

feat(svg): add single-outline symbol for CAD import#40
IamMrCupp merged 1 commit into
mainfrom
feat/cad-extrusion-symbol

Conversation

@IamMrCupp

Copy link
Copy Markdown
Member

Closes #32. Part of #26 (Phase 3 — extension).

The canonical audiophore-symbol.svg is 13 separate <rect>s, each with its own spectrum color and a partial opacity for the depth ramp. Both are meaningless in CAD — and worse, OpenSCAD's import() treats the multi-color, multi-element art as something it can't cleanly extrude. So the hardware repo hand-rebuilds the 13-pixel phi as a diamond_pixels cell list in SCAD, a parallel copy that drifts from the brand spec.

This emits a flattened companion — logos/svg/audiophore-symbol-solid.svg — where the lit cells are one <path> (one rounded-rect subpath per cell), a single flat fill, no opacity, same 320-unit viewBox as the canonical mark. import() + linear_extrude gives one clean solid; hardware imports the canonical geometry instead of maintaining its own.

New [cad] section in brand.toml (just the flat fill key); folded into the symbol build step so make svgs/build produces it. Same grid math as the canonical symbol, so the silhouette is identical. Byte-identical on rebuild.

Signed-off-by: Aaron Cupp <mrcupp@mrcupp.com>
@IamMrCupp IamMrCupp merged commit 76061d4 into main Jun 2, 2026
1 check passed
@IamMrCupp IamMrCupp deleted the feat/cad-extrusion-symbol branch June 2, 2026 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

C.1 — extrusion-ready single-outline symbol SVG

1 participant