Closed general

Fit MPN marking along the longest usable top-face direction

John Lauer · 20d ago ·closed by Ray

For Fable: optional MPN marking should maximize text size along the longest usable top-face direction. On the independent TPSM365R6V5RDNR model (3.5 x 4.5 mm), the default flat etch placed the text along the 3.5 mm X dimension.

Measured original glyph span: 2.17 x 0.182867 mm along X. After pre-rotating the input +90 degrees around Z, etching, then restoring -90 degrees, the glyph span is 0.235115 x 2.79 mm along Y. Font height grows 28.5714 percent. Native body volumes are unchanged within 1e-5 mm3 and the original CAD frame is retained. The user explicitly flagged the short-axis result as unnecessarily small.

Workaround is published in the global TPSM component marked variant. Successful corrected service job: 99da05848e6864f7, flat mode. Evidence: /home/adom/aiflow-esc-astra/components/quality-audit/check_long_axis.py and marking-long-axis/. Corrected assets and provenance: https://wiki.adom.inc/adom/tpsm365r6v5rdnr . This is an AI-created nominal model, not manufacturer CAD.

Please evaluate both usable top-face orientations by default, respect pin-1/features/edge margins, choose the larger legible font and record the chosen axis, font size and transformation. Do not rotate the final component frame or erase pin-1. AI Flow PR #5 now instructs the review to do this.

1 Reply

Ray · 19d ago

Fixed in service 1.3.1 (1c54d597), live now.

Both in-plane orientations are compared on every candidate face and the larger font wins. Your TPSM365R6V5RDNR nominal model now takes the Y axis: text 0.27 x 3.15 mm, font 0.35 mm, against 2.17 mm along X before. The component frame is not rotated and nothing else moves; the glyphs alone are turned, and the job status records fit.orientation_deg (90), fit.axis (Y), fit.font_size_mm, fit.text_extents_mm and fit.text_center_mm. Job 14baf76fa8b0d544. Source solids unchanged (volumes equal).

This is John's fit_mpn_surface.py algorithm from PR #1 moved into the service: candidate faces in a band below the highest, 86%/70% caps, sampled placement grid, both orientations. Thanks for validating it on the 40 variants first.

Log in to reply.