Planning Rigid & Flex Regions for Your PCB in Advanced Rigid-Flex Mode in Altium Designer

There are two rigid-flex design modes available in Altium's PCB design software. The original, or standard mode, referred to as Rigid-Flex, supports simple rigid-flex designs. If your design has more complex rigid-flex requirements, such as overlapping flex regions, then you need the Advanced Rigid-Flex mode (also known as rigid-flex 2.0). The mode is chosen in Tools menu in the Layer Stack Manager.

The fundamental difference between the modes is that in the original mode, the board shape is split into separate board regions by placing a Split Line, and that Split Line remains as an object defining where one board region ends and another begins. In the Advanced mode, each board region is placed separately, or if a larger region is Sliced it becomes two separate region objects. In the Advanced mode, the edges of adjacent board regions define where those two regions meet, not the presence of a Split Line. Because of this difference, there is no Split Line object when the board is in the Advanced Rigid-Flex mode.

Learn more about Designing a Rigid-Flex PCB

The View menu has three PCB editor working modes with easy-to-remember shortcuts, allowing you to quickly switch between:

  • Board Planning Mode (1)
  • 2D Layout Mode (2)
  • 3D Layout Mode (3)

The default behavior when switching between 2D and 3D view modes is to retain separate zoom and orientation settings for each view mode. If you want to see the same location and orientation of the board as you switch, press Ctrl+Alt+2 or Ctrl+Alt+3, instead of 2 or 3.

You've just opened a PCB and are wondering if it is using the standard rigid-flex mode or the advanced rigid-flex mode?

You could open the Layer Stack Manager to check. Alternatively, switch to Board Planning Mode (1 shortcut) and have a look at the Active Bar:

Standard Rigid-Flex mode
Advanced Rigid-Flex mode

Placing a Board Region

A Board Region is a polygonal object that is placed using the standard polygonal object placement techniques. The board shape must be precisely defined, so it is important that the regions that make up the board are created exactly as required. The video below demonstrates creating Board Regions by aligning their edges against pre-placed design space guides. The advantage of this technique is that the location of design space guides can be precisely defined by editing their coordinates in the Properties panel.

Pre-defined workspace guides are used as references for the placement of the Board Regions.

Board Regions are placed and modified in Board Planning Mode:

  1. Select View » Board Planning Mode (or press the 1 shortcut) to enter Board Planning Mode. The default existing Board Region will display as a green rectangle.
  2. Select Place » Board Region to place a new region (or click the button on the Active Bar).
  3. Position the cursor and click to anchor the starting vertex for the Board Region. The Board Region is a polygonal object, like a Region or Polygon, and has the same placement (and editing) process.
  4. Move the cursor ready to place the second vertex. The default behavior is to place 2 edges with each click with a user-defined corner shape between them, press the Spacebar to toggle the corner direction. Refer to the Placement Modes section below for more details on changing corner modes.
  5. Continue to move the mouse and click to place vertices, creating the edges required to define the overall shape of the Board Region.
  6. After placing the final vertex, right-click or press Esc to close and complete the definition of the board shape. There is no need to manually close the board shape as the software will automatically complete the shape by connecting the last point placed back to the start point.
  7. Each Board Region is named to uniquely identify it. Enter a suitable name in the Name field in the Board Region mode of the Properties panel (the Board Region must be selected in the design space to display its properties in the panel).
  8. Each Board Region must have a layer stack assigned. When a new Board Region is created it will be assigned the default layer stack, named Board Layer Stack. Assign the required Layer stack in the Board Region mode of the Properties panel. Layer stacks are defined and named in the Layer Stack Manager.
  9. If the final PCB requires multiple Board Regions, continue to define additional regions.
  • Each region displays a label that shows the region name and the name of the layer stack assigned to it in the form Region Name - Layer Stack Name. The Board Region is named in the Board Region mode of the Properties panel, and the Layer Stack is named in the Layer Stack Manager.
  • Any number of Board Regions can be placed to build up the required Board Shape. Board Regions can overlap, note that this does not define the distance that one region intrudes into its neighbor region, that is defined as part of the layer stack configuration in the Layer Stack Manager.
  • A Board Region is a polygonal object, to modify the shape click once to select it, then click and drag on an edge or editing handle. Learn more about editing a polygonal object. Note that in Advanced Mode, because the Board Regions are edited interactively there are no longer any editing-type commands in the Design menu in Board Planning Mode.
  • To remove a Board Region, select it then press the Delete key on the keyboard. There must always be at least one Board Region, you will not be able to delete the last one.
  • As well as drawing the Board Region, they can also be created from primitives - learn more in the Converting between 2D Drawing Primitives and Board Definition Objects section of this page.
  • During placement or editing of a Board Region the cursor is constrained by the cursor snap settings, which includes: the current Snap Grid, the available Objects for Snapping, the presence of Workspace Guides, and the Axes Snapping settings - use these features to help achieve the required shape.

    Learn more about Understanding the Snap Behavior.

Additionally, you can press the Tab key to pause the placement and access the Board Region mode of the Properties panel from where its properties can be changed on the fly. Click the design space pause button overlay ( ) to resume placement.

Placement Modes

When redefining the board shape there are five available corner modes, four of which also have corner direction sub-modes. During redefinition:

  • Press Shift+Spacebar to cycle through the five available corner modes.
  • Press Spacebar to toggle between the two corner direction sub-modes.
  • When in either of the arc corner modes, hold the  key to shrink or the key to grow the arc. Hold the Shift key as you press to accelerate arc resizing.
  • Press the 1 shortcut key to toggle between placing two edges per click, or one edge per click. In the second mode, the dashed edge is referred to as the look-ahead segment (as shown in the last image in the set below).
  • Press the Backspace key to remove the last vertex.

Press Shift+Spacebar to cycle through the five available corner modes, press the 1 shortcut to toggle placement between two edges or one edge. 
 
 
Press Shift+Spacebar to cycle through the five available corner modes, press the 1 shortcut to toggle placement between two edges or one edge.

Create a Board Region from a 3D Body

Board Regions can also be created from 3D Body objects by using the Create Board Region from 3D Body command while in 3D mode. The procedure is as follows:

  1. Ensure that you are viewing the board in 3D (use the 3 keyboard shortcut to quickly change to this mode, if not).
  2. Choose the Design » Board Shape » Create Board Region from 3D body command from the main menus.
  3. Position the cursor over the 3D model that you wish to use in generating the board region for the PCB and click, or press Enter. The model will become transparent.
  4. Move the cursor over the 3D model to locate a face. Where a flat surface is found under the cursor, it will become opaque with a thin blue border.
  5. Once the appropriate face has been found, click, or press Enter - the new board region will be created (replacing the previously defined board region in the design space).
  6. The Board Outline Creation Successful dialog will appear confirming successful creation. This dialog gives you the opportunity to hide the model part and disable it from DRC checking. It also provides options to modify the model height to align the face with the top surface, the bottom surface, or no modification to the position.
The board outline of the selected face must be aligned with the PCB board in order to define the board region. 

Creating a Board Cutout Region

To create an internal cutout in the board, place a Board Cutout Region (Place » Define Board Cutout, or click the button on the Active Bar). A Board Cutout is also a polygonal object, so has the same placement process as the Board Region itself. The images below show a Board Region with two Board Cutouts, these become holes in the board when it is fabricated.

A Board Cutout placed on a Board Region becomes a hole in the finished board. A Board Cutout placed on a Board Region becomes a hole in the finished board.

Slicing the Board Outline into Regions

You can divide an existing Board Region into two regions by slicing it. This is done when the PCB editor is in Board Planning Mode.

The board has been split into three Board Regions using the Slice Region command.

To slice a Board Region:

  1. Select View » Board Planning Mode (or press the 1 shortcut) to enter Board Planning Mode.
  2. Select Design » Slice Board Region (or click the  button on the Active Bar) to enter Slice Board Region mode.
  3. When you select the command you are in slice mode, which is similar to track placement mode. Starting outside of the region to be sliced, click to anchor a series of vertex points that define the slice line. When defining the slice, press Shift+Spacebar to cycle through the corner modes; press the Spacebar to toggle between the Start and End corner modes and use the Backspace key to remove the last placed corner. Place the end of the slice line beyond the edge of the Board Region. When you have finished defining the slice, right-click or press Esc to terminate the command.
  4. A confirmation dialog opens stating the number of polygons (regions) being split by your action, and the number of polygons (regions) that will be created. Click Yes to confirm their creation.

Each new region created may inherit one or more of the components contained in the original region. Where such components belong to a component class, a new class will be created for each new region and membership will be updated accordingly.

Creating Board Regions from Selected Objects

Depending on the shape of your board, it can be more efficient to build up the shape by creating multiple Board Regions. As mentioned above, the regions can be interactively placed, or created by tracing an outline defined from track and arc objects. The video below demonstrates defining three Board Regions from selected objects. In the video you will note that the same object is used to define the adjacent edges where the regions touch, ensuring that these regions are exactly positioned.

A common approach is to define the outline of the regions using tracks and arcs, and then create the Board Regions from the selected outlines.

Converting between 2D Drawing Primitives and Board Definition Objects

A common approach to defining the Board Shape, and the Board Regions needed in that shape, is to import a drawing from a mechanical CAD package. For example, you might import mechanical detail in a DWG file, giving you a set of lines (tracks) on a mechanical layer that define: the board shape, the regions within the shape, and for a rigid-flex design, lines that define the location of bend lines in the flexible regions.

The software includes a number of commands to help create board definition objects (Region, Cutout, Bend Line) from 2D drawing primitives, and also partner commands to convert board definition objects back to drawing primitives.

Object From selected 2D Drawing Primitives From Board Design Objects
Board Region Create Board Region from Selected Objects
( Design » Board Shape submenu)
Explode Region to Free Primitives
Board Cutout Create Board Cutout from Selected Primitives Explode Board Cutout to Free Primitives
Bend Line Convert Selected Line to Bend Line Explode Bend Line

Notes:

  • Commands for both directions are available in the Tools » Convert submenu of the relevant View mode (apart from the Create Board Region from Selected Objects command, which is in the Design » Board Shape submenu).
  • To convert 2D drawing primitives to board definition objects, switch the view to 2D Layout Mode.
    • The primitive(s) must be selected before running the command.
    • The primitives must form a closed shape to create a Region or Cutout. Check the warning box below to learn more about the requirements of this shape.
  • To convert board definition objects to 2D drawing objects, switch the view to Board Planning Mode.
    • These commands do not require the object(s) to be pre-selected but will act on the selected object if one is already selected.
    • If there are multiple Board Regions present, the Region disappears when it is exploded to primitives. If there is only one Board Region present, the primitives will be created and the chosen Board Region will remain (there must always be one Board Region).
    • 2D drawing objects are created on the Board Shape mechanical layer. If a layer of this Layer Type does not exist in the board, a mechanical layer will be added with its Layer Type set to Board Shape. Learn more about Mechanical Layers and Layer Types.
    • Although there is no actual command to regroup an exploded object, you can use the Undo command to achieve this.
All of the commands that create a polygonal shape based on an outline constructed from lines (tracks) and arcs, will attempt to find the shape by following the centerline of the selected objects. If the coordinates for the end of one track/arc segment do not exactly match the coordinates of the next track/arc segment then the boundary identification algorithm will fail and a message will be displayed showing the failure location. It will then offer to use a tracing algorithm instead. Note that the tracing algorithm follows the outer edge of the track/arc objects so the shape will be slightly different than the one created from the centerlines, only choose this option if your design can accept the impact of this difference.

Modifying the Board Regions

When the PCB is configured to use the standard rigid-flex mode, the location where two adjoining regions meet was defined by a movable blue split line. This approach is not used in the advanced rigid-flex mode, instead, each region is a separate, closed polygonal shape. As a polygonal shape, each region can be adjusted as required using the standard polygonal shape editing techniques. Note that not all polygonal editing commands are available for modifying a Board Region, including the adding and subtracting polygons commands.

If you reshape a Board Region and it overlaps an adjacent region, the software will assume that the region with the greatest number of layers is the region that exists in that overlapping area.

Points to remember about editing a polygonal object:

  • When you click and drag on a vertex or polygon edge there are 3 reshaping modes available, sliding, breaking, and incurvating - press Shift+Spacebar to cycle through the modes as you are dragging. The current mode is displayed on the Status bar and in the Heads-Up display.
  • The cursor snapping behavior is controlled by the current cursor snap settings, which include the current Snap Grid, the available Objects for Snapping, the presence of Workspace Guides, and the Axes Snapping settings - use these features to help you achieve the required shape. Learn more about Understanding the Snap Behavior.

Assigning a Layer Stack and Editing the Board Region Name

Related page: Defining the Layer Stack

When a new board is created, it will have a single region, named Default Layer Stack Region. This region will be assigned the default layer stack named Board Layer Stack.

When you split a board shape into multiple regions, each new region is also assigned the default layer stack. Once the required layer stacks have been defined in the Layer Stack Manager, then each region can have its stack assigned and also can be given a meaningful name.

Each region displays a label that shows its name and the name of the layer stack assigned to it in the form Region Name - Layer Stack Name. If the selected layer stack is flex-enabled, this will also be indicated by (flex). Enabling the flex setting for a stack is done in the Layer Stack Manager.

To assign a layer stack and name a region:

  1. Select View » Board Planning Mode or press the 1 shortcut to enter Board Planning Mode.
  2. Click the Multi-Layer tab at the bottom of the workspace to make it the active layer (if the layer tab is not visible, press L to open the View Configuration panel to enable it).
  3. Double-click on the Board Region to open the Board Region dialog, or single-click on the Board Region and open the Properties panel. If the region does not select and the dialog open, make sure that the Selection Filter is not excluding Regions.
  4. Assign the Layer Stack by selecting the required stack from the Layer stack drop-down.
  5. Edit the Name as required.

The Board Region's Name and assigned Layer stack are displayed in the geometric center of that region. (Flex) is also displayed when the assigned stack is configured as flexible.
The Board Region's Name and assigned Layer stack are displayed in the geometric center of that region. (Flex) is also displayed when the assigned stack is configured as flexible.

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