Contours
V3D V2
V3D V2

10. Building Shows

A show is one piece of motion: a take for each axis, played together. This chapter covers the Shows tab: making shows, the list of shows and their profiles, the chart that draws them, and the zoom bar under it. Playing a show, on screen or on the motors, is in chapter 11.

The Shows tab side panel with Circle expanded, its Motor L profile selected, and the Media and Show cards

Figure 10.1. The Shows tab with a profile selected. The bar at the top makes new shows. The selected profile's row carries its Load, Save and Clear icons; a selected show's row carries icons of its own (Figure 10.2). The Media and Show cards are under the list.

Making a show

The bar at the top of the Shows tab has three ways to make a show:

  • New show (the +) adds an empty show.

  • New show with AI (the sparkle) opens the AI window, which makes a new show from a description. See chapter 15.

  • Import a new show opens the Import window, which brings motion in from CSV, TSV or text files. See chapter 14.

To make an empty show:

  1. Go to the Shows tab.

  2. Click New show (the +). The new show is added at the end of the list, named Show 1, Show 2 and so on, with one profile for every axis in the project. It is selected, and the list scrolls to it.

  3. Type a name for it, such as Opening or Finale, in the Name box on the Show card under the list.

The new show has no takes yet. Record one (see chapter 12), import one, have the AI make one, or build one point by point in the point editor (see chapter 13).

When a project has no shows, the list says Add a Show to begin. To change the order of the shows, drag one onto another. You can also drop motion files onto a show's row to import them into that show (see chapter 14).

A show's row

Click a show to select it. Its row then shows four icons at its right-hand end:

Icon

What it does

Record into this show (red)

Opens the Record screen for this show (see chapter 12). Available once at least one of the show's axes has a connected motor.

Import into this show

Opens the Import window set to bring motion into this show (see chapter 14).

Edit with AI

Opens the AI window on this show, to change it by describing the change (see chapter 15).

Delete show

Deletes the show. Set a little apart from the others so it isn't clicked by mistake. If any of its axes has a take, Contours asks first: Delete show or Cancel.

The icons show only on the selected row, so the list stays uncluttered. Right-click a show anywhere on its row for Delete, Record and Import.

A selected show row with its four icons, and a selected profile row with Load, Save and Clear

Figure 10.2. The icons on a selected show (top) and a selected profile (bottom).

Profiles

A profile is one axis's part in one show. Expand a show to see its profiles, one for every axis in the project. Each profile's row has, from left to right:

  • The palette, in the axis's colour. Click it to choose the axis's colour from the eight standard colours or the colour picker. The colour is the axis's, so it changes on every chart and list.

  • The profile's name, which is the axis's name.

  • When the profile is selected, three icons: Load a take from a file, Save the take to a file and, set a little apart, Clear the take.

  • The motor's status light. Click it to enable or disable the motor, as on the Axes tab (see chapter 7).

  • The axis's position and unit, live while its motor is connected.

Click a profile to show its take on the chart. Expand it to see its Position and Speed rows. The eye on each row shows or hides that line on the chart, and the pencil (Edit the position points, Edit the speed points) opens the point editor (see chapter 13).

Right-click a profile, or its Position or Speed row, for its menu. The profile is selected first, so the menu always acts on the one you clicked:

Menu item

What it does

Clear Profile

Clears this axis's take in this show, as Clear the take does.

Load Profile

Replaces the take with one saved to a file, as Load a take from a file does.

Save Profile

Saves the take to a file, as Save the take to a file does.

Import

Opens the Import window for this axis only (see chapter 14).

Clearing a take

Clearing a profile that has a take asks first, for example Clear the take on Motor L in Circle? Click Clear take to clear it, or Cancel. A profile with no take clears without asking. Nothing is lost for good until you save the project.

Saving and loading a take

Saving the whole project is the normal way to keep your work. Saving a single take to a file (a .cntf file) is useful when you want to reuse it elsewhere, for example to copy a good tilt move from one show or project into another. Loading a take replaces the profile's take with the one in the file.

The Show card

Under the list are two cards for the selected show:

  • Media attaches a video or audio file to the show and plays it in step with the chart (see chapter 16).

  • Show holds the show's Name and two lines. Cursor gives where the cursor is and how long the show is, for example 2.5 s of 10.0 s; it follows the cursor while a show plays. With a profile selected, Take gives its take's point interval, number of points and length, for example 100 ms | 251 points | 25.0 s, or says No take.

How long a show is

A show is as long as its longest take. An axis with no take doesn't count, so a show in which only one axis has a 10 s take is 10 s long. A show with no takes at all, such as a new one, is the Chart length set on the Chart tab of Options (see chapter 23), and it goes back to that length if you clear its last take.

The show's length sets the end of the chart's time axis, how far the cursor can go, and the length of the charts on the Test tab.

The chart area

The chart area beside the side panel draws the selected show. The layout bar above it chooses what the chart area holds:

  • Time: the time chart alone.

  • Path or Model: the second pane alone. It holds the path view, two or three axes drawn against each other, or the rig's 3-D model, as chosen under Pane.

  • Side by side (the default) or Stacked: both. Swap the panes swaps them over.

The selected show's name is in the middle of the bar. The path view is described in chapter 17, and the model in the pane in chapter 19. This chapter covers the time chart.

The floating block at the top right of the time chart holds Simulate, Run show, Stop, Live update and Run to cursor. They are described in chapter 11.

The chart area in the Time layout with the cursor at 10 s, the floating block and the zoom bar

Figure 10.3. The chart area in the Time layout: the layout bar with the show's name, the Position and Speed panes with a line for each axis, the floating block at the top right, and the zoom bar along the bottom, whose window marks the stretch the chart is showing.

The time chart

The time chart has a Position pane above a Speed pane, with a line for each axis in that axis's colour. Each pane is labelled in its top-left corner, and each axis's scale is titled with its name and unit, for example Motor L (deg) and Motor L (deg/s). Drag the line between the panes to change their sizes. Torque isn't drawn on the Shows tab's chart; it is on the Test tab's charts (see chapter 22).

The line drawn for each axis is the motor's spline: the smooth curve the motor itself plays through the take's points.

Until a show is selected, and for an axis with no take, the panes use the Chart defaults ranges from Options (see chapter 23). A take that holds one position all the way through is drawn over the range of the other axes that move in the same unit, or over the Chart defaults range when none does.

The cursor

The cursor is the vertical line across the chart. Drag it to move through the show. It goes exactly where you put it, between the take's points too, and the read-outs at the top of each pane give each axis's position and speed there. The path view's dot, the model in the pane and the show's video follow it.

Moving the cursor doesn't move any motor by itself. Letting go of it doesn't either. The motors follow the cursor only while Live update is on for them (see chapter 11).

Caution. While Live update is on, every move of the cursor, on the chart or on the zoom bar, moves those motors to their positions at that time. Make sure the machine is clear before you drag the cursor with Live update on.

Showing or hiding Position and Speed

Click the eye (View options) at the right-hand end of the layout bar. Its Time chart section has a Position tick and a Speed tick. Untick one to fold that pane away, and the other fills the chart. Tick it again to bring it back at the size it had.

  • One pane always shows, so the tick of the only pane left is greyed.

  • While the point editor is open, the pane being edited shows even if you unticked it. Its tick is greyed, and the panel says The chart being edited stays shown. The pane folds away again when the editor closes.

  • Your choice is remembered between runs, and also applies on the Record screen.

Ticking inside the panel doesn't close it; click anywhere outside it to close it. The panel's Path section is described in chapter 17.

The View options panel with its Time chart section

Figure 10.4. View options. The Time chart section shows or hides the Position and Speed panes and sets Same scale for the same unit.

Same scale for the same unit

Each axis has its own scale, fitted to its take, so a small move fills the pane as well as a large one. To compare axes that move in the same unit, tick Same scale for the same unit in the Time chart section of View options. Axes with the same unit, such as two in mm, then share one range in the Position pane and one in the Speed pane: the smallest that holds every take of that unit. An axis with no take doesn't widen it. An axis with another unit, or no unit, keeps its own range.

  • Each axis still has its own scale beside the chart, now with the shared range.

  • Fit all uses the shared ranges too.

  • The tick is remembered between runs. It applies to the Shows tab's chart, not the Test tab's.

Zooming and the zoom bar

Along the bottom of the chart area on the Shows tab, the zoom bar draws every axis's take over the whole show, in every layout. Above it, a line says which stretch the time chart is showing, for example Showing 2.0 – 6.5 s of 10.0 s, with Fit all at the right. The bar is hidden while you record.

  • Zoom the time chart with the mouse wheel, or by dragging a box over the stretch you want. The bar's window narrows to match. Drag a box from right to left instead to fit everything again, as Fit all does. Zooming or panning stops at the start of the show: the time never goes below 0 s.

  • Drag the window along the bar to move through the show, or drag either end of it to zoom in or out. Both ends can be grabbed even when the whole show is in view.

  • Click Fit all to show the whole show again.

  • The bar has its own cursor, the same colour as the chart's. Drag it and the chart's cursor follows. It can't be dragged off either end of the bar.

The path view follows the zoom: it draws the stretch shown at full colour and fades the rest (see chapter 17).