Определение регионов платы и линий сгиба
A Board Region is the term used to describe a user-defined area of the board that can have a unique layer stack assigned to it.
When a new board is created, it defaults to having a single board region - the outline of the board shape. If the board design requires multiple layer stacks, then the designer can split the single default board region into multiple regions, and assign a unique layer stack to each of those regions.
In the image below, the board shape has been divided into three distinct board regions: the upper circle, the center strip, and the lower circle, these 3 regions have been created by placing the two horizontal dashed blue Split Lines. Note the orange dashed lines, these are bending lines, as this rigid-flex design is going to be folded when it is assembled.
Splitting the Board into Regions
You divide a board into two regions by placing a split line. This is done with the PCB editor in Board Planning Mode.
Placing a Split Line
To place a Split Line:
- Select View » Board Planning Mode (or press the 1 shortcut) to enter Board Planning Mode.
- Select Design » Define Split Line to enter Split Line placement mode.
- Click within the board shape to begin the Split Line definition process. One end of the line will attach to the closest point on the board shape outline to where you clicked, the other end of the line will attach to the cursor.
- Position the cursor in the required location then click once to place the second end.
Moving a Split Line
To move a Split Line:
- Select View » Board Planning Mode or press the 1 shortcut to enter Board Planning Mode.
- To relocate the end of a line, click, hold and drag it to the required location around the perimeter of the board shape. The cursor will be constrained to the current snap grid.
Removing a Split Line
To delete a Split Line:
- Select View » Board Planning Mode or press the 1 shortcut to enter Board Planning Mode.
- Click and hold by one of its end points, then press the Delete key. Alternatively, click, hold and move an endpoint to a point around the board shape that results in the split turning red (signifying an invalid split), then release.
Assigning a Layer Stack and Editing the Board Region Name
Related article: Defining the Layer Stack
When a new board is created it will have a single region, named Default Layer Stack Region
, and 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. If the required layer stacks have been defined in the Layer Stack Manager, then each region can have its stack assigned, and can also be given a meaningful name.
To assign a layer stack and name a region:
- Select View » Board Planning Mode or press the 1 shortcut to enter Board Planning Mode.
- Double click on on the board region to open the Board Region dialog.
- Assign the Layer Stack by selecting the required stack from the Layer stack list.
- Edit the Name as required.
- Click OK to accept the settings and close the dialog.
Placing and Positioning a Bending Line
To define how a flex board should bend, you place one or more Bending Lines. The Bending Line defines where on the surface of the flex region that the bend is to take place. The Bending Line also defines the angle and radius of the bend, and the width of the strip of board surface that is being bent. Bending Lines are placed and edited with the PCB editor in Board Planning Mode (View » Board Planning Mode, or press the 1 shortcut).
Placing a Bending Line
To place a Bending Line:
- Select View » Board Planning Mode or press the 1 shortcut to enter Board Planning Mode.
- Select the Design » Define Bending Line command.
- Click inside the board region where the Bending Line is to be placed, one end of the line will attach to the edge of the region closest to the click location, the other end will attach to the cursor.
- Position the second end in the required location then click once to place it.
- You remain in Bending Line placement mode, ready to place another Bending Line if required. If not, right-click or press Esc to exit Bending Line placement mode.
Moving a Bending Line
To modify the location of an existing Bending Line:
- Click once to select the Board Region the contains the Bending Line, the handles for all bending lines within that region will be displayed.
- Click and hold on the Bending Line handle, move it to the new location, then release the mouse button.
Precisely Locating a Bending Line
When a Bending Line is moved, the handle will snap to locations on the current Snap Grid. As it is moved, it can also be snapped to existing design objects, such as lines on a mechanical layer. The image below shows a Bending Line handle being positioned on the end of a line on layer Mechanical 2 (highlighted by the number 1). Note that the mechanical layer must be the active design layer for the snap behavior to work.
To show the above process in more detail, the images below show the construction lines that have been placed on Mechanical 2 in 2D Layout Mode, which accurately define upper and lower reference points that can be used to place a 45 degree Bending Line.
Removing a Bending Line
To delete a Bending Line, click and hold by one of its end points, then press the Delete key.
Configuring the Bending Line Properties
Board regions, Split Lines and Bending Lines are examined and edited in Board Planning Mode (press 1). Bending Lines can be edited interactively in the workspace, or they can be edited via the PCB panel when it is set to Layer Stack Regions mode. To display the panel, click the Panels button at the bottom-right of Altium Designer, select PCB from the menu, then in the panel select Layer Stack Regions in the drop down list at the top of the panel.
To edit the properties of a Bending Line in the PCB panel:
- Bending Lines can be edited in either 2D Layout Mode (press 2), or Board Planning Mode (press 1).
- Enable the Select checkbox at the top of the panel.
- Select the required region in the Stackup Regions section of the panel.
- All Bending Lines within the selected region will be listed in the Bending Lines section of the panel, double click on a Bending Line in the panel to open the Bending Line dialog, as shown in the image below.
- In the Bending Line dialog, edit two of the first three properties, for example the Radius and the Bending Angle. The third property will be calculated automatically (more on this below). Note that each Bending Line's Affected area width is displayed as an orange shaded region.
- In the Bending Line dialog, set the Fold Index as required, this defines the sequence that the bends are folded when the Fold State slider or View » Fold/Unfold command the is used. The slider is in the panel, just below the Bending Lines section, use it to fold the board up in 3D mode.
3D Display of a Rigid-Flex Board
Altium Designer includes a powerful 3D rendering engine, which allows the presentation of a highly realistic 3 dimensional representation of the loaded circuit board. This engine also supports rigid-flex circuits, and when it is used in combination with the Fold State slider, allows the designer to examine their rigid-flex design in the flat state, the fully folded state, and anywhere in between.
To switch to the 3D display mode, use the View » 3D Layout Mode command or press the 3 shortcut key (press 2 to return to 2D, or 1 to return to Board Planning Mode). The board will be displayed in 3D, and if the component footprints include 3D Body Objects that define the mounted component, then these will also be displayed. In the image below you can see that the board includes a battery and a battery clip.
To apply the Bending Lines, slide the Fold State slider - it's in the PCB panel when set to Layer Stack Regions mode - as highlighted in the image below. Note that the bends are applied in the order defined by their sequence number. Bending Lines can share the same sequence number, it simply means that those bends will be folded at the same time when the Fold State slider is used. The board can also be folded/unfolded by running the View » Fold/Unfold command (press the 5 shortcut).
3D Movie Maker Support for Rigid-Flex Designs
Main article: PCB 3D Video
The ability to fold a rigid-flex design can also be captured as a 3D movie. It is very simple to do and does not require the use of movie key frames during the folding sequence.
Refer to the main article referenced above for a detailed description of how to make a 3D movie. As a basic guide:
- Switch the PCB editor to 3D mode.
- Display the PCB 3D Movie Editor panel, and create and name a new Movie Title in the top section of the panel.
- Create an initial Key Frame, showing the board in its unfolded state.
- Slide the Fold State slider to show the rigid-flex design in its folded state, then position the folded board as required.
- Now create a second Key Frame for this view, and set the time. Consider how long you want it to take to fold the rigid-flex design (the Duration setting), typically this would be a few seconds.
- To check that the video captures the folding process correctly, press the button.
- To generate a movie file, add a PCB 3D Video Documentation Output in an Output Job file. Remember to configure the video format options in the Video settings dialog.
- Click the Generate Content link the Output Job file to create the movie file.
The video shown below was created using this process, it has the 2 key frames described above, plus 1 additional key frame that was added at the end to hold the final position for a second.