Preparing a 3D PCB Video

Now reading version 20.0. For the latest, read: Preparing a 3D PCB Video for version 25
 

Parent page: More about Outputs

In Altium Designer, the ability to take a snapshot of your PCB as a 3D printout provides a quick and easy way to share the look of the finished product with others prior to the physical production of the board. However, there is always something lacking when it comes to a single 3D print. You inevitably want to tilt the board, rotate it, or flip it between component and solder sides - all of which is not possible. Well, that's not entirely true. You could go back and rotate or flip the board in 3D view and output another print in each case, but at the end of the day, they are all still 'static' prints.

To offer more engaging and useful documentation of your board, Altium Designer provides the ability to generate PCB 3D Video documentation. Donning your director's hat, the content of a PCB 3D Video - or 3D movie if you prefer - is a sequential set of snapshots of your board (in 3D), referred to as Key Frames. For each subsequent key frame in the sequence, you can adjust attributes including zoom-level, pan, and rotation directly in the design space - all relative to the settings for the previous key frame.

In terms of output, a frame sequence is exported into a chosen video format, as part of an Output Job file. The result is a sequence of frames that smoothly interpolates the key frame sequence.

So, whether you're creating an assembly instruction manual, a demonstration of moving parts, or just wanting to provide a snazzy flyover of the angles that make your product look best, PCB 3D Video provides an attractive and informative addition to your product documentation arsenal.

Making a PCB 3D Video

PCB 3D Videos are created, configured, and managed, from within the PCB 3D Movie Editor panel. Access this panel by clicking on the Panel button at the bottom right of the main design window then choose PCB 3D Movie Editor from the menu that appears.

PCB 3D Movie EditorThe PCB 3D Movie Editor panel is command central for creating and configuring your 3D movies.

The panel is essentially divided into three regions:

  • The upper region provides an area for managing your 3D movies, i.e. adding and deleting movies. Any number of movies may be created for a PCB.
  • The central region contains the key frame sequence definition. In this region, you can add new key frames and update existing key frames based on changes made to the display of the 3D board in the design space.
  • The lower region provides controls for playing back a selected movie directly in the PCB design space.

All configuration information for a PCB 3D Video is stored in the PCB document itself (*.PcbDoc). In this way, each individual PCB can have its own list of 3D movies.

Although the PCB 3D Movie Editor panel can be accessed regardless of the current viewing mode set in the PCB editor, its controls - and therefore your movie-making abilities - are only enabled once the board is being viewed in 3D. A warning appears when viewing the board in 2D to alert you to this fact.

The following sections take a look at adding and preparing a new movie.

Adding a New Movie

To add a new movie to and for the active PCB, click the  button associated with the Movies region of the PCB 3D Movie Editor panel. Alternatively, click to focus the region then use the Ctrl+N keyboard shortcut. A new entry for the movie will be added to the region, initially entitled PCB 3D Video. The entry will be selected, ready for you to type in a meaningful title.

The name for a movie can be changed at any time. Select the entry for the movie, click Enter then type the new name as required.

Example of adding a new movie and renaming it (hover over the image).

Defining the Key Frame Sequence

The basis of a PCB 3D Movie is a series of key frames, each is a view of the 3D board as positioned by you in the design space. Remember that each key frame is a snapshot in your movie. By defining a number of these snapshots - the key frame sequence - the final, generated video output is made, by smoothly interpolating the n-1 intervals between your n key frames.

Define the key frame sequence for the video using controls available in the central region
of the PCB 3D Movie Editor panel.

Each key frame has the following attributes:

  • Frame Name - the name of the key frame. By default, frames will be named in the format Key Frame, Key Frame 1, Key Frame 2, and so on. You can change this if you want to identify the frame with a more meaningful name. For example, the name could reflect the content of that particular snapshot of the board, such as U4 Zoomed.
  • Duration - this is the length of time for transitioning between each key frame in the sequence. In an exported video, the total number of frames is based on the duration of each key frame, and the Frames Per Second setting specified as part of the publishing options. Note that the initial key frame at the top of the list, with the default name Key Frame, is a special case. As it is the starting frame for the video, it has no duration.

Adding a Key Frame

To add a new key frame, position the board (in 3D Layout Mode) in the PCB editor as required then click the  button associated with the Key Frame region of the PCB 3D Movie Editor panel. From the button's drop-down menu, choose where in the sequence to add the new frame:

  • Add - adds the new frame at the end of the list of frames.
  • Insert - inserts the new frame before the currently selected key frame.
Alternatively, click to focus the region and use the Ctrl+N or Ctrl+I keyboard shortcuts.

Adding a new key frame from within the PCB 3D Movie Editor panel.

The initial key frame will have a fixed duration of 0.0s, while all other key frames that you add will have an initial default duration of 3.0s. This can be changed as required. Click on the associated field to focus then either enter a value directly or use the up/down controls at the right. Duration can be in the range 0.0s to 100.0s.

Adding a Key Frame Directly from the Design space

Key frames can also be added to a specified 3D movie directly from within the design space. This allows for more streamlined creation of a key frame sequence right in the 'thick of the camera action' as it were, without having to change focus to the PCB 3D Movie Editor panel.

To add a key frame:

  1. Position your board as required (in 3D Layout Mode).
  2. Right-click anywhere within the design space then from the context menu that appears, choose the Add Key Frame to 3D Movie sub-menu. This sub-menu is also available as a direct pop-up menu using the Ctrl+Alt+K keyboard shortcut. The menu lists all currently defined 3D movies for the active PCB with the currently selected movie (in the panel) distinguished by a check. Up to 20 movies will be listed by title in the menu. If your PCB has more than 20 movies defined for it, you can click on the More 3D Movies entry to open the Choose PCB 3D Movie dialog from where you can select the movie to add the key frame to.
  3. Click on a movie name to add a new key frame - based on the current view of the board in the design space - to the end of that movie's key frame sequence.
  4. To add another frame to the same 3D movie, set up the board as required then click on the entry for that movie again in the menu. To add a frame to a different movie, click on that movie's entry in the menu.
You may need to refresh to see the newly added frames in the PCB 3D Movie Editor panel. To do this, click within the Movies region of the panel.

Add key frames to your movies directly from the design space.

A key frame added directly from the design space is always added at the end of a key frame sequence. It cannot be inserted at a specific position within a key frame sequence. This can only be achieved from within the PCB 3D Movie Editor panel.

Ordering & Deleting Key Frames

The order of key frames can be changed using the  and  buttons or by dragging and dropping a key frame in the list. To delete a key frame from the sequence, select it in the list then either click the  button or press Delete on the keyboard.

Note that the initial (starting) key frame cannot be deleted. A new key frame cannot be inserted in its place, nor can an existing key frame be repositioned above it.

Editing a Key Frame

Within the PCB 3D Movie Editor panel, only the Name and Duration fields for a key frame are visible and editable (with the exception of the duration for the first key frame). To change the view of the board for an existing key frame - in terms of zoom and/or orientation - you'll need to make those changes to the board in the design space then update the key frame with that new information. To do this:

  1. In the PCB 3D Movie Editor panel, select the key frame you want to modify. The board will display in the design space in accordance with the attributes for that key frame.
  2. Change the view of the board as required.
  3. Once the board is set in the required 'pose,' select Update in the  drop-down.

The selected key frame will be updated with the new 'snapshot' of the board.

Support for Rigid-Flex Boards

If your board is rigid-flex and it has a folding sequence defined, you can also include the fold/unfold action in your PCB 3D movie. To do this:

  • Position the board as usual and set the fold state as required by sliding the Fold State slider on the PCB panel - the slider is available when the panel is configured in its Layer Stack Regions mode.
  • Insert a key frame and set the Duration as required.
  • Position the board ready for the next key frame, setting the Fold State slider as required.
  • Continue to reposition and add new key frames until the movie is complete.

When the movie is played, the software will not only interpolate between the key frames, it will also fold/unfold the board to satisfy the Fold State settings you gave, in accordance with the folding Sequences defined on the PCB panel.

Use the Fold State control on the PCB panel (in Layer Stack Regions mode), to 'flex' your board as required while creating your key frame sequence.

To quickly toggle your rigid-flex board between fully folded and fully unfolded states, use the View » Fold/Unfold command (keyboard shortcut 5).

Keeping the Board Stationary

When the movie is played, it will arrive at and leave a key frame without pausing. If you need to hold the board at a specific key frame:

  • Click on the required key frame in the panel.
  • Press Ctrl+I to insert a new key frame. It will be added before the selected key frame with the Duration field ready to be edited. It is easier to consider this new frame to be the transitioning key frame, replacing that function for the existing key frame you initially selected, so enter a suitable Duration value for the transition from the previous key frame.
  • The following key frame can now become the stationary key frame. Edit its Duration to the value you want the board to remain stationary. 
  • Repeat this process for any other key frames that require the board to remain stationary.
Don't forget the end of the movie. If you want the final position to remain on-screen, you will need to add a stationary key frame to the very end of the movie.

Video Playback

Once you have defined the content of your PCB 3D Movie, in terms of its key frame sequence, you can preview the resulting video directly within the design space. To do this, select a movie title in the upper region of the PCB 3D Movie Editor panel then click the  button in the lower region.

The ability to play a movie is only possible provided that movie has at least two key frames defined for it.

Altium Designer becomes your very own movie theater - just select a movie, press Play then sit back and enjoy the fruits of your labor!

Playback Controls

Pressing 'play' gets you going fast, but we all like to have full control when watching a movie. The ability to skip back and forth through scenes and, of course, the ability to pause the movie when we see something we really like! 3D movie playback is no exception, and controls are provided in the panel to give a richer viewing experience. The following is a summary of the full set of controls available:

- play back the movie from the current marker position on the associated timeline.

- pause playback of the movie.

- rewind the movie back to its start. This is the first key frame, denoted by time zero on the associated timeline. This control is only available while the movie is not playing.

- jump to the start of the next key frame in the sequence. This control is only available while the movie is not playing.

- jump to the start of the previous key frame in the sequence. This control is only available while the movie is not playing.

A timeline reflects where, in the overall movie, playback has currently reached. While the movie is not playing, you can manually drag the timeline's marker to any point.


Dragging the marker along the timeline effectively performs manual playback.

Interpolation Settings

Playback of a 3D movie within the PCB Editor is made possible using interpolation between the defined key frames, and additional smoothing. There are two types of interpolation that can be employed, with options to switch between the two, available just above the playback controls.

Specify the style of interpolation used to create a seamless flow between one key
frame and the next, and also the rate at which frames are played back.

  • Linear Key Frame to Key Frame - uses spherical linear interpolation between key frames, and additional smoothing that results in a slow-down at the end of each frame.
  • Constant Velocity between Key Frames - uses quadratic-spline interpolation between key frames and also divides the range in rotations to be smaller then 90 degrees. The result is a more seamless transition between key frames, with a constant speed between frames rather than any noticeable slow-down.

Playback within the PCB editor is at a default frame rate of 25 frames per second. The total number of frames used in the video will depend on the Duration set for each key frame. Use the Frame Rate field to increase or decrease this rate as required. The frame rate can be any value between 1 and 50.

When generating actual video output through an Output Job file, the frame rate is set to 25 frames per second by default.

Generating PCB 3D Video Output

You've defined all the key frames you require in your sequence, and a quick preview has shown all is good to go. Now you can generate some output! Movie generation is performed by adding a PCB 3D Video as an Output in an Output Job file then attaching it to a Video output container.

Adding and Configuring a Video Output Container

Add a Video output container to your Output Job file by clicking on the [Add New Output Container] button (in the Output Containers pane) and selecting New Video from the list of containers available. Configuration of the container is performed from within the Video Settings dialog - accessed by clicking on the Change option at the upper-right of the container.

Use a video output container to publish your PCB 3D Video(s).

By default, the publisher is set to generate a single video file that is named using the Output Job file name. Change output settings as required.

Adding and Configuring a PCB 3D Video Output

Add an output to the Output Job file for each 3D movie you want to publish. In the Documentation Outputs section of the Output Job file, click on the [Add New Documentation Output] button then choose the PCB 3D Video entry, along with the source PCB document to which the 3D movie is associated.

When choosing the Data Source, choose [PCB Document] to keep the Output Job file generic and maximize its reusability between design projects.

Add a PCB 3D Video output generator for each 3D movie that you want to publish. Hover over the image to see the newly-added output.

As part of its configuration, the Video output container can generate a single movie from all enabled PCB 3D Video outputs associated with it, or you can specify that a separate file is generated for each output. If you opt for the latter, each file can be named using the entry for that output's name in the Output Job file. In this case, you may want to name an output using a more meaningful name, perhaps using the title you defined for it in the PCB 3D Movie Editor panel.

Configuration of a PCB 3D Video output is performed from within the PCB 3D Video dialog, which is accessed from the Project Options - Default Prints dialog with PCB 3D Video selected under Documentation Outputs and clicking Configure or right-click on the Output Job file then choose Configure from the context menu. Use the dialog to select which 3D movie to use from a list of those currently defined for the PCB document specified in the Data Source field.


Choose the 3D movie you want to use as the source for the generated video.

Use  to toggle the display of a shadow effect for the board.

Enhance the display of your board by applying a 3D shadow effect - hover over the image to see the result.

Note that the View Options tab of the View Configuration panel in 3D mode also provides the user with options to control the presentation of the board. 

Publishing

Once you have added and configured the PCB 3D Video output(s) as required and the Video output container through which they will be released, you are just steps away from publication. With the Video output container selected, click on the Enabled field for each PCB 3D Video output to be included in the publishing process. An enabled output will have a green line connecting it to the output container.

Enable each PCB 3D Video output whose specified 3D movie you want to have published by the Video output container.

Then, click the Generate Content button to the right of the Video output container (shortcut, F9) or right-click on the container then select Generate Video. Publication will proceed and the video(s) will be generated and stored in the specified folder. If you have chosen to open the video after export, it will open and start playing provided you have the necessary software installed.

Generate video and watch the star of the show - your board!

When generating multiple videos as separate files (generated by the same Video output container), the PCB 3D Video output enabled as the last output (carries the highest number in its Enabled field) will be the one opened and played after export.

 

If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.
Note

The features available depend on your Altium product access level. Compare features included in the various levels of Altium Designer Software Subscription and functionality delivered through applications provided by the Altium 365 platform.

If you don’t see a discussed feature in your software, contact Altium Sales to find out more.

Content