Skip to content

pdnkit GUI: editable layer thickness on LayerPanel#54

Open
UnsignedChad wants to merge 1 commit into
mainfrom
pdnkit/stackup-edit
Open

pdnkit GUI: editable layer thickness on LayerPanel#54
UnsignedChad wants to merge 1 commit into
mainfrom
pdnkit/stackup-edit

Conversation

@UnsignedChad

@UnsignedChad UnsignedChad commented May 25, 2026

Copy link
Copy Markdown
Owner

The thickness column in the Layers dock was a read-only label. It's now a QDoubleSpinBox: edit the value and a new thickness_changed signal fires. MainWindow listens and writes the new thickness into board_->stackup.layers[i].thickness so the next analysis picks it up.

In-memory only -- the change does not save back to the .kicad_pcb file. Persisting requires an S-expression emitter in circuitcore::sexpr (read-only today); that's a separate PR.

Useful for: trying alternate stackups quickly (1 oz vs 2 oz copper, different substrate thickness) without re-spinning the board file in KiCad. The status bar confirms the override each time.

The thickness column in the Layers dock was a read-only label. Now
it is a QDoubleSpinBox: edit the value and a new thickness_changed
signal fires. MainWindow listens and writes the new thickness into
board_->stackup.layers[i].thickness so the next analysis sees it.

In-memory only -- the change does not save back to the .kicad_pcb
file. Persisting requires an S-expression emitter in
circuitcore::sexpr (read-only today); that is a separate PR.

Useful for: trying alternate stackups quickly (1 oz vs 2 oz copper,
different substrate thickness) without re-spinning the board file.
@UnsignedChad UnsignedChad enabled auto-merge (squash) May 25, 2026 00:29
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