← Commit history

Publish 1.1.4

John Lauer ·afe5a2d0ac ·3mo ago ·parent dfaec98
5 files changed +19−6
README.md+12
@@ -49,6 +49,18 @@ x-ray / blueprint / ink-on-paper). Each comes plain and name-marked.  ![All 16 outline styles](screenshots/outline-styles.png) +## The name-marked outline is built for the schematic symbol++The name-marked outline (the chip's line-art silhouette **with the part number+on it**) is exactly what a schematic symbol wants in its body: it gives the+symbol the real chip shape and the manufacturer part number, centered between+the pins, instead of a featureless rectangle. adom-symbol drops it straight+into the symbol body as the centred overlay. The part number reads upright at+180, or use the right-angle (90) variant when the symbol body is taller than+it is wide.++![The name-marked outline centered in a schematic symbol body](screenshots/symbol-outline.png)+ ## The web app  ```bash
package.json+1−1
@@ -1,6 +1,6 @@ {   "slug": "adom-chip-thumbnailer",-  "version": "1.1.3",+  "version": "1.1.4",   "type": "app",   "description": "The chip-icon factory: from a STEP file it renders the complete family of chip icons, shaded 3D orientations, transparent icons, name-lasered variants, and 16 vector outline styles, in a live web app + CLI.",   "tags": [
page.json+1−1
@@ -1,6 +1,6 @@ {   "slug": "adom-chip-thumbnailer",-  "version": "1.1.3",+  "version": "1.1.4",   "type": "app",   "description": "The chip-icon factory: from a STEP file it renders the complete family of chip icons, shaded 3D orientations, transparent icons, name-lasered variants, and 16 vector outline styles, in a live web app + CLI.",   "dependencies": {},
screenshots/symbol-outline.pngadded
⋯ 1 unchanged line ⋯
src/render_3d.rs+5−4
@@ -118,13 +118,14 @@ pub fn render_family_extras(chip: &ChipPaths, step: &Path) -> Result<()> {     // Plain vector outlines (no text, so rotation is irrelevant).     write_outlines(chip, &step_bytes, axis, None, "", 180)?;     // Name-lasered set, two text orientations the user can pick from:-    //   180  → reads right-side-up to the iso camera (the default `-named`)-    //   270  → a right angle to that, for chips taller than wide (`-named90`)+    //   180 → reads right-side-up to the iso camera (the default `-named`)+    //   90  → a right angle to that (-90 from 180), kept facing the viewer+    //         rather than tilted away, for chips taller than wide (`-named90`)     if write_named(chip, &step_bytes, axis, 180, "named").is_ok() {         let _ = write_outlines(chip, &step_bytes, axis, Some(&chip.mpn), "-named", 180);     }-    if write_named(chip, &step_bytes, axis, 270, "named90").is_ok() {-        let _ = write_outlines(chip, &step_bytes, axis, Some(&chip.mpn), "-named90", 270);+    if write_named(chip, &step_bytes, axis, 90, "named90").is_ok() {+        let _ = write_outlines(chip, &step_bytes, axis, Some(&chip.mpn), "-named90", 90);     }      // The canonical `<MPN>-3d-iso-icon.png` (no axis suffix) follows the chosen