Pleochroma GitHub

User manual › Design

Chapter 18

History and Variants

Every change as a step with a picture, going back, named variants and trials.

All chapters

18.1 What You Will Do

This chapter covers the inspector's History tab. It has three views, picked with the Steps, Variants and Trials buttons at the top of the tab.

Steps is a list of every change you have made to the open design, each with a small picture of the design as it was at that step. Use it when you have tried several things, one of them looked good, and you want to go straight back to it instead of pressing Undo over and over.

Variants is a list of named copies of the design that you chose to keep. Use it when you want to keep a design as it is now, go on and try something else, and be able to come back, or compare two versions side by side. The second half of this chapter ("Variants") covers it.

Trials is a numbered list of the states you tried while tuning, each with its figures, so you can compare them, restore one, or keep one. It lives for the session only. The last section of this chapter ("Trials") covers it.

Undo and Redo themselves are described in Chapter 4. The Steps view is the same history seen as a list, with a way to go to any step in one click.

18.2 Opening the Tab

Open the inspector below the tier table (Chapter 4) and click History, the fourth tab pill. You can also press Ctrl+K and type history to run Inspector: History Tab (Chapter 19). Until you change something, the list holds only the Start row.

The History tab listing one step for each of three angle changes.
Fig. 18.1 — The History tab listing one step for each of three angle changes.

While a guided lesson has Undo and Redo switched off, the History tab is switched off for the same reason: its pill is dim, and it carries the same short note about why.

18.3 Reading the List

The newest step is at the top. Each row shows:

Hover a row to see what a click on it does. A small ? button at the top right of the tab opens this chapter.

The last row is always Start: the design as it was when you opened or created it, before your first change.

Steps after the current one are the ones you have undone. They are shown dimmed and marked "undone." They stay in the list, ready to go forward to, until you make a new change (see "A New Change After Going Back," below).

Several quick nudges of the same angle (for example by keeping an arrow key pressed) count as one step, exactly as they do for Undo. The row shows the words of the latest nudge.

18.4 Going to a Step

Click a row to go to that step. The design changes to what it was at that step, and the tier table and the Solid view update at once; the Solid view solves the design again in the background, as it does after Undo or Redo. A jump does not press Solve for you, either: as after Undo, the solved values in the tier table are out of date until you click Solve, or until auto-solve runs, if you turned it on (Chapter 5). If the row you had selected is beyond the end of the list at that step, the selection is cleared; otherwise it stays on the same row number, which can now show a different tier. Chapter 4 ("Undo and Redo") describes the same rules for Undo and Redo.

The whole list is one Tab stop: press Tab until the list has a colored outline on a row, or click a row. Then:

A screen reader announces the list as "History Steps" and each row with its words, its step number and whether it is the current step.

Moving the outlined row only looks; nothing changes until you press Enter. After every jump the outline goes back to the step the design stands at.

If a step cannot be reached (this should not happen, but a step is a recorded edit and an edit can in principle fail to replay), a message says so and the design stays at the last step it reached.

Video tutorial · all videos

History Panel and Jumping · 2:27

18.5 Going Back Is Not a Step

A jump is not an edit. It adds nothing to the history, and every step stays where it was. That means you can always change your mind:

  1. Click an older step to look at it.
  2. Click the step you came from, which is now marked "undone," to return to it.

Undo and Redo keep working after a jump. Undo moves one step older than where you stand, Redo one step newer, exactly as if you had pressed them that many times.

18.6 A New Change After Going Back

If you go back to an older step and then change the design, the steps that came after the one you stood at are dropped from the list. This is the same rule as after pressing Undo and then editing, and the dropped steps cannot be brought back. So if you want to keep a later step, go back to it (or note its step number) before you try something else from the older one.

18.7 The Pictures

Each picture is about 72 by 72 pixels at normal size, and it is sharper on a high-density screen. Every picture is drawn from the same angle, so two steps can be compared at a glance. They use the flat shading of the Solid view.

18.8 What the History Includes

The History tab shows the same history that Undo and Redo use, so it holds the same kinds of change: adding, saving, removing, detaching and reordering tiers, per-facet editing, a handle drag in the Solid view (one drag is one step), applying a preform, adopting a meet, a Retarget and applying an Optimize result.

Creating a new design, opening a file, or loading a library design starts a new history: the list begins again with Start. The history is not saved with the design file.

18.9 Limitations of the Steps View

18.10 Variants

What a Variant Is#

A variant is a named copy of the design that you keep so you can come back to it. Save one before you try something risky, or when you have two good ideas and want to look at them next to each other.

A variant keeps the whole design as it was when you saved it: the cutting instructions, the rough, the girdle size, the material and the concave tiers (Chapter 16). It does not keep the lighting you chose, the undo history or any files attached to the design.

Variants are kept in your library on this computer, under the design's id, and not in the design file. Saving a variant never changes the file, and a design file you send to someone does not carry your variants. Chapter 11 ("What the Library Keeps About a Design Besides the File") explains the id: Save As keeps it, so a copy of a design shows the same variants as the original; a new design that you never save gets a new id each time it opens, so its variants cannot be found again after you close it. Save the design once to give it a lasting id.

Opening the Variants View#

Open the inspector, click the History tab, then Variants. You can also press Ctrl+K and run Inspector: Variants (Chapter 19). While a guided lesson has Undo and Redo switched off, the whole tab is switched off, and Variants with it.

The Variants view of the History tab with two saved variants.
Fig. 18.2 — The Variants view of the History tab with two saved variants.

The view lists only the variants of the open design, found by its id. Open another design and the list changes with it. If no design is open, the view asks you to open or create one.

Saving a Variant#

There are three ways to start:

A small form opens above the list:

Click Save or press Enter to save, or Cancel or press Esc to leave without saving. A message under the fields says what is wrong if the name or note cannot be used. Every field and button has a hover tip, and a screen reader names the fields "Variant Name" and "Variant Note".

If you chose a step and the history has changed since (you made a new change after going back, which drops steps), a message asks you to choose the step again, rather than saving something other than what you picked.

A small picture is drawn for the variant in the background, from the flat facets of the Solid view at the same angle as the Steps pictures. A design that does not solve is saved without a picture and shows "No picture" in the list.

Reading the Variants List#

The newest variant is at the top. Each row shows:

Each row has four buttons: Open, Rename, Note and Delete. They are switched off while a save, open or comparison is being worked out ("Working..."); their hover tips then say why. Each is a Tab stop with a colored ring while it has the keyboard, and Space or Enter presses it. A screen reader reads the variant's name with the button ("Open Variant 2").

Rename and Note open the same small form with the current text in it. Delete asks "Delete This Variant?" first. A deleted variant cannot be brought back. Your current design is not changed by any of these.

Opening a Variant#

Click Open on a row. The open design becomes the variant, as one undo step:

Opening a variant works on the design that is open, not on the file. Save it with Save when you want to keep the result in the file.

Relations Come with the Variant#

A variant brings its own relations (Chapter 4, "Relations Between Tiers"), the same way it brings its own angles. If the open design has a tier whose angle follows a relation and the variant has a different angle for that tier, nothing stops the open: the variant's angles and the variant's relations replace the open design's. A tier that followed a relation in the open design but not in the variant is a plain tier afterwards, and the other way round. It is still one undo step: Undo brings back the old angles and the old relations together.

When a Variant Cannot Be Opened#

Branches: Where a Variant Came From#

When you open a variant, or save one, the program remembers it as the variant the open design came from. The next variant you save is marked "from:" that one. So:

The program remembers this only while the design stays open. If you open the file again, the first variant you save has no "from:" line. If the variant a row came from is deleted, the "from:" line disappears.

Comparing Designs#

Below the buttons, Compare Two Designs has two boxes. Each lists Current design (the design as it is now) and every variant, the newest first. If two variants have the same name, the time they were saved is added to tell them apart. Pick two different entries, then:

The text holds the cutting instructions only. A different rough, girdle size or material shows in the pictures, not in the text; the summary line says so. A design that does not solve cannot be written as text, and the comparison says which one.

Both comparisons need two entries. With no variants yet, the strip asks you to save one first.

Limitations of Variants#

Video tutorial · all videos

Variants · 2:27

18.11 Trials

A trial is the design as it was at a moment you chose to remember, together with its figures (Brilliance, Windowing, Extinction, Fire, Yield and the number of warnings, scored the way the strip under the tabs scores them, Chapter 5). It is the quick way to try something, look at the numbers, and go back if it was not better. Trials differ from Steps (every change, automatically, with pictures) and from Variants (named copies, kept on disk): a trial is a numbered line with figures, kept for the session.

Click Trials at the top of the History tab.

What Records a Trial#

The list holds up to 50 trials; when it is full the oldest trial that is not starred drops out.

Reading the Table#

The top row is the Baseline, marked "The Baseline: the figures every trial is read against." Each trial then has a two-line row: its number, an automatic label that says what changed (for example "P1 40.75 -> 41.25"), its Origin (Manual, Sweep, Two-Tier Sweep, Optimize Candidate, Before Optimize, Before Retarget, Tune, Design Path or Before Design Paths), your Note and the figures. The figures are colored against the Baseline by the same rule as the strip: green better, red worse, gray within the noise threshold. The best figure in each column has an outline. A trial scored in another material shows its figures gray with a note until you press Re-score Trials.

Sort orders the list by the number or by any figure.

Click a trial to see it on the stone; click it again to put the design back to how it was. Then use the buttons under the table:

The figures of one trial. Under the Note field the detail of the selected trial shows its figures as value and change against the Baseline, in groups:

Trials Live Only for the Session#

Trials are not saved. They are gone when the design closes, when another design opens and when the program closes. To keep one, press Save as Variant.... Trials are scored in the material the design had when they were kept; Re-score Trials scores the others under the current material. All scoring uses the Grading tray lighting, so the figures do not depend on the viewport's light.

The Trials view of the History tab.
Fig. 18.3 — The Trials view of the History tab.

Video tutorial · all videos

Keep Trials · 2:12