Skip to content

Saved negative setups - #41

Merged
akendrick merged 3 commits into
mainfrom
feature/negative-setups
Nov 2, 2026
Merged

akendrick merged 3 commits into
mainfrom
feature/negative-setups

Conversation

@akendrick

Copy link
Copy Markdown
Owner

Stacked on #40 (units). GitHub retargets this to main once #40 merges.

Summary

  • In negative mode, Save Setup… stores the current process curve, ink colour, mirror, safe edge, black outline, printer and paper under a name (e.g. "Cyanotype on Pictorico"). A setup with the same name is replaced.
  • The Setup menu switches all of those at once. It shows the setup the current settings match, or "Custom" once something is changed. Delete Setup… removes the setup (asking first) and its copy of the curve; your own curve files are never touched.
  • The setup keeps its own copy of the process curve, so it still works if the original file moves.
  • Core: NegativeSetup and SetupLibrary (.oqsetup JSON, format: openquad-setup, version 1) in ~/Library/Application Support/OpenQuad/setups/.
  • Snapshot options --setups FOLDER --setup NAME; guide (v10) and changelog updated.

Test plan

  • Swift core: save with curve copy, list, replace, delete, bad files refused
  • Swift app 18 tests, including save, switch, match and delete across two windows
  • Snapshot: applying "Cyanotype on Pictorico" sets orange, mirror, 0.30 in edge, outline, A4

🤖 Generated with Claude Code

akendrick and others added 2 commits November 1, 2026 18:49
OpenQuad > Settings… switches every length the app shows and takes (safe edge,
black outline, set sizes, print sizes, margins, the summary) between inches and
millimetres; remembered in settings.json ("units"). Files, settings and the
command line stay in inches.

- Python: openquad.units; PrintSession.units in the summary; Settings.units
- Swift core: LengthUnit, matched by new mm session vectors
- App: Settings window, length steppers that step in 1 mm / 0.5 mm, mm sizes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Save Setup… (negative mode) keeps the process curve (copied in beside the
setup), ink colour, mirror, safe edge, black outline, printer and paper under a
name; the Setup menu applies one and shows which setup the settings match.
Stored as .oqsetup JSON in OpenQuad's setups folder.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@akendrick akendrick mentioned this pull request Nov 2, 2026
4 tasks done
@akendrick
akendrick deleted the branch feature/units November 2, 2026 16:17
@akendrick akendrick closed this Nov 2, 2026
@akendrick akendrick reopened this Nov 2, 2026
@akendrick
akendrick changed the base branch from feature/units to main November 2, 2026 16:18
@akendrick
akendrick merged commit 9ad7bc4 into main Nov 2, 2026
9 of 10 checks passed
@akendrick
akendrick deleted the feature/negative-setups branch November 2, 2026 16:48
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