Pleochroma GitHub

User manual › Start here

Chapter 19

The Command Palette and the Keyboard

Ctrl+K finds and runs any action by name; the shortcuts worth learning.

All chapters

19.1 What You Will Do

Pleochroma Cut has a lot of actions, and only a few of them have a key of their own. The command palette is one small window that lists all of them. You type a few letters of what you want, press Enter, and it happens: no hunting through menus, tabs and panels, and no mouse needed. This chapter covers how to open it, how the search behaves, what the rows tell you, which actions it offers, and where it stops. The shortcuts that do have their own key are collected at the end and in Appendix B.

19.2 Opening the Palette

The command palette with the query export.
Fig. 19.1 — The command palette with the query export.

There are three ways, and they all do the same thing:

The two key presses work anywhere in the window, even while you are typing in a text field, because neither of them types a character. The menu item is grayed out only while one of the confirmation dialogs (unsaved changes, overwrite, close) or the start-up restore question is on screen: answer that first.

The palette opens in the middle of the window with the cursor already in its search box, so you can start typing at once.

It lists what belongs to the page you are on. In the Design place you get the designing commands (tiers, Solve, Optimize, Undo, the view modes and the inspector tabs), the side panel's tabs and the render settings. The Cutting Instructions tab offers its instructions commands (Edit as Text, Cutting Mode, the cutting sheet and diagram exports). File, Help, the library and interface commands are there on every page. A command that takes you to the page already on screen is left out, and Abandon Solve, Cancel Deep Solve and Cancel Optimize appear on every page, but only while that work runs. To reach a designing command from another page, run Go to Design first.

While the picture shows a library design or a render job's view instead of the design open in the editor, the designing commands (every tier and solve command, Undo and Redo, Keep as Trial, Save as Variant, Angle Sweep, the Diagram, Slice, Pick Meet, Snap and the inspector tabs) stay listed but dimmed with "Go back to your own design first". Show Design hands the picture back to the editor's design. The view modes Solid, Path-Traced, Ray-Traced and Solid and Path-Traced, the render settings and the export commands work on any picture.

Video tutorial · all videos

The Command Palette · 0:59

19.3 Searching

Type a few letters of the action's name. The list narrows as you type and the best match is highlighted at the top.

If nothing matches, the palette says so and shows no rows. Clear a few letters and the list returns.

19.4 Moving Around and Choosing

Key What it does
Up / Down Move the highlight one row. At the end of the list it wraps round to the other end.
Page Up / Page Down Move the highlight a page (eleven rows) at a time, without wrapping.
Home / End Jump to the first / last row.
Enter Run the highlighted command.
Esc Close the palette without doing anything.
Ctrl+K or Ctrl+Shift+P Close the palette again (the keys open and close it).

Pointing at a row with the mouse highlights it, and clicking a row runs it. Clicking outside the palette's card closes it. Tab does nothing in the palette: the search box is the only place that takes typing, so you cannot lose your place, and the rows are chosen with Up and Down, the way a drop-down list is. Every row tells a screen reader its name, its category, its shortcut and, when it is dimmed, why; hover a row for the same words in a tooltip.

The list scrolls to keep the highlighted row visible, and shows at most twelve rows at a time. The bottom line of the card reminds you of the keys and says how many commands match.

19.5 Recent Commands

Before you type anything, the palette shows the commands you ran lately first, newest at the top (up to eight), followed by everything else, grouped by category and sorted by name. If you do the same few things all day, such as Solve and Save, they are already at the top when you press Ctrl+K.

This memory lives only as long as the app is running. It is not saved, so each start begins with the plain category order. Cancelling out of the palette does not count as running a command, and neither does choosing a command that turns out to be unavailable.

19.6 Why Some Rows Look Dim

A row that cannot run right now is not hidden: it is shown dimmed with a short reason under its name. That way you can see that the command exists and what it is waiting for. Examples:

Reason Meaning
Open or create a design first The command works on the design in the editor, and there is none yet.
Select a tier first The command needs a selected tier (for example Duplicate Selected Tier).
Nothing to undo / Nothing to redo The history is empty in that direction.
Wait for the running solve to finish A solve, Deep Solve or Optimize is running, and this command would change the design underneath it.
No solve is running Abandon Solve and the Cancel commands only make sense while their job runs.
Set a Baseline first Compare to Baseline needs a Baseline (Chapter 14). A Baseline is set when a design opens, so this shows only before a design has one.
Needs a library design with printed proportions Deep Solve compares against catalog proportions (Chapter 8).
Select a design in the library first Load Selected Library Design needs a highlighted design. A click on a library row opens it already; the command opens the selection in every state, with the Save / Discard / Cancel question.
Open the Design place first The command only makes sense in the Design place.
Go back to your own design first The picture shows a library design or a render job's view, and the command works on the design open in the editor. Run Show Design, or press "Back to <name>".
Leave the Diagram view first Slice mode needs the 3D picture, not the flat diagram.
Already using the Simple interface You are already in the interface the command would switch to.
Switch to the Advanced interface first The control exists only in the Advanced interface (for example Surface Finish; Chapter 17).
No render jobs yet Load Job View... needs at least one job in the Render Jobs window (Chapter 23).
No job view is showing Back to My View works only while a job's view is shown on the Design place's picture.
The job cannot be updated from this view right now Update Job from This View needs a job view on screen and the job not rendering.
The material check set cannot be queued right now Queue Material Check Set needs a design open and the RI chart's conditions met (Chapter 6).
Locked by the guide A guide or tutorial step has locked this control (Chapters 7 and 22).

Picking a dimmed command does not close the palette. It shows a short message instead, such as "Save is not available right now. Open or create a design first." so you learn why, and you can go on typing to pick something else.

The palette follows exactly the same rules as the buttons and menus. It never lets you do something the matching button would refuse; this includes the guide's locks, which apply to the palette as strictly as they apply to the controls themselves.

19.7 What Happens When a Command Runs

The palette closes first, and the command starts a fraction of a second later. This is deliberate: a command that opens a dialog (New Design..., Preferences..., Retarget...) would otherwise lose the keyboard focus to the palette's closing. After the command has run, keyboard shortcuts such as F5 and Ctrl+Z work again at once, without clicking into the window first.

A command shows you the place where its result appears. The same rule holds for the keys, the menus and the buttons:

19.8 What the Palette Offers

The commands are grouped in seven categories, each shown as a small label on the right of the row.

Every command that has a key of its own shows that key at the right-hand end of its row, so the palette also teaches you the shortcuts: look at what you ran, and use the key next time.

Ray-Traced View selects the picture's deterministic renderer (key 5). Keys 1–4 select Solid, Path-Traced, Solid + Path-Traced and Diagram.

Where a command is a pair of states (Simple and Advanced interface, Slice mode, Snap, the Library panel), the palette flips the same setting the matching button flips, so the button and the palette never disagree.

19.9 The Shortcuts Worth Learning

You never need to learn any of these, because the palette finds everything. The ones below are the ones people use all day. Appendix B lists every one, grouped by where it works, and the in-app Help → Keyboard Shortcuts window (or ?) shows the same list.

Area Keys
File Ctrl+N New, Ctrl+O Open, Ctrl+S Save, Ctrl+Shift+S Save As
History Ctrl+Z Undo, Ctrl+Y (or Ctrl+Shift+Z) Redo, Ctrl+Shift+K Keep as Trial
Solving F5 Solve
Places Ctrl+1, Ctrl+2, Ctrl+3 switch the three places (Design, Cutting Instructions, Files & Downloads)
Side panel Ctrl+E folds and unfolds it, and goes to Design from the other two places; Ctrl+Alt+1, Ctrl+Alt+2, Ctrl+Alt+3 open its Stone, Lighting and Render tabs
Picture 1, 2, 3, 4, 5 switch the view; S toggles Slice mode
Tier list Up / Down, Home / End, Delete, Ctrl+D, Alt+Up / Alt+Down, F2
Search Ctrl+F focuses the library search and unfolds the library; Ctrl+Shift+F focuses the tier filter and opens the Tiers tab
Everywhere Ctrl+K opens the palette, Ctrl+, opens Preferences, Esc backs out, ? shows the shortcuts

A key that types a character (a digit, S, ? or a comma) does nothing while you are typing in a text field, so you can still type those characters. That is another reason to keep Ctrl+K in mind: it works even then.

Video tutorial · all videos

Keyboard Shortcuts · 1:25

19.10 Limits of the Palette

19.11 Troubleshooting

Symptom Likely cause What to do
Ctrl+K does nothing A dialog or another window has the keyboard, so the main window never sees the key Click the main window (or close the other dialog) and press Ctrl+K again; or use Edit → Command Palette....
A command is dim although it should work One of its conditions is not met Read the reason under its name; it names the missing condition.
A key such as S or 1 does nothing A text field has the focus Click an empty part of the window, or press Esc, then press the key again.
The palette does not list a command you remember It is a button inside a dialog, or an import See "Limits of the Palette" above.