Skip to content

feat(summary): pin-termination steps in Winding Construction Steps#20

Closed
gpitel wants to merge 1 commit into
OpenMagnetics:mainfrom
gpitel:claude/construction-step-pin-terminations
Closed

feat(summary): pin-termination steps in Winding Construction Steps#20
gpitel wants to merge 1 commit into
OpenMagnetics:mainfrom
gpitel:claude/construction-step-pin-terminations

Conversation

@gpitel

@gpitel gpitel commented Jun 13, 2026

Copy link
Copy Markdown

What

Adds a Winding Termination section to the magnetic summary, in its own block after the Winding Construction Steps. It lists one step per lead — labeled as the start or end of its winding — naming the terminal type and pin, e.g. Start of Primary to Pin 3 / End of Primary to Pin 4.

Notes

  • Reads each winding's connections (type + pinName) from functionalDescription, in array order (no sort). Connections are ordered start-then-finish, so the first lead is labeled "Start of" and the last "End of".
  • Winding-name capitalization is normalized in this section (toTitleCase(name.toLowerCase())) so all-caps names like PRIMARY render as Primary rather than P R I M A R Y.

Screenshots

Before/after of the magnetic summary are in the comments below.

@gpitel

gpitel commented Jun 13, 2026

Copy link
Copy Markdown
Author

Magnetic summary — Winding Termination section: before / after

Before (upstream): no lead terminations in the summary.

After (this PR): a dedicated Winding Termination section below the construction steps, labeling each lead as the start or end of its winding (e.g. "Start of 1-2 to Pin 2").

@gpitel gpitel force-pushed the claude/construction-step-pin-terminations branch 4 times, most recently from 41578ba to 7df3e91 Compare June 14, 2026 14:40
Adds a dedicated Winding Termination section after the Winding Construction
Steps: one entry per connection, grouped by winding (in functionalDescription
order). Connections are ordered start-then-finish, so each entry names whether
it is the start or end of the winding, the terminal type and the pin, e.g.
"Start of Primary to Pin 3" / "End of Primary to Pin 4".
@gpitel gpitel force-pushed the claude/construction-step-pin-terminations branch from 7df3e91 to a84cca1 Compare June 14, 2026 18:49
@gpitel gpitel marked this pull request as ready for review June 14, 2026 22:22
@gpitel

gpitel commented Jun 16, 2026

Copy link
Copy Markdown
Author

Duplicate of #22 — identical change (Winding Termination section). Keeping #22 (it carries the before/after screenshots); closing this one.

@gpitel gpitel closed this Jun 16, 2026
@gpitel gpitel deleted the claude/construction-step-pin-terminations branch June 16, 2026 19:14
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.

1 participant