Flex and Rigid-Flex Boards

Get a board that bends where your device needs it to bend. You design rigid areas and flex areas on one board, and Flux keeps each area on its own stackup for routing, checks, simulation, 3D, and manufacturing files. Flux is an AI hardware engineer. It designs the flex and rigid-flex board as one part of the complete device, together with the enclosure and the firmware.


How a flex or rigid-flex board works

A board has one stackup. The stackup has one list of layers, and each area stackup uses some of these layers:

  • An area stackup is a named set of layers from the stackup, for example "Rigid" or "Flex". Each area stackup has a kind: Rigid or Flex.

  • One area stackup is the default. The default area stackup applies to all of the board that is not in a Stackup Area.

  • A Stackup Area is a shape on the board. It applies one area stackup to the board inside the shape.

Because all area stackups use the same layer list, a copper layer has the same name and number in each area. A trace on layer 1 continues from a rigid area into a flex area on the same layer.

A pure flex board has one area stackup of the kind Flex. A rigid-flex board has Rigid and Flex area stackups, and Stackup Areas that set where the board is flex.

Layer continuity between rigid and flex areas

Ask Flux to use inner layers from the rigid stackup for the flex area.

Set up a 6-layer rigid stackup and a 2-layer flex area stackup on L3 and L4.
Set up a 4-layer rigid stackup and use its two inner layers for the flex area.

The board has one ordered list of layers. Each area stackup selects layers from this list. A layer keeps the same name, number, and Z position in each area stackup. For example, L3 and L4 in a 2-layer flex area are the same physical layers as L3 and L4 in a 6-layer rigid area. A 4-layer rigid stackup can also use its two inner layers for the flex area.

A trace continues on the same layer across the rigid-to-flex boundary. Flux routes each net only on the layers of the areas it crosses. Flux does not place a via in an area where its area stackup does not allow one. You can configure blind, buried, and micro vias. See Vias.

To set up the layers yourself:

  1. Open the Stackup Editor.

  2. In each area stackup, select the layers that the area uses.

  3. Select the same layer entries for the flex area that you use in the rigid area.

Create a flex or rigid-flex board

Ask Flux to set up the stackup of the board. Tell Flux the template, or the layers and materials of each area.

Set up a Rigid-Flex 4 Layer stackup for this board.
Set up a 2-layer flex board with a polyimide core, coverlay on both sides, and rolled annealed copper.
Use the JLCPCB Flex 4 Layer (RA copper, bend-rated) stackup for this board.
Use the PCBWay Flex 2 Layer stackup for this board.
Use the PCBWay Rigid-Flex 6 Layer stackup and make the connecting arm a Flex Stackup Area.
Add a 0.2 mm polyimide stiffener on the bottom of the flex board.

To do it in the UI:

  1. Open the Stackup Editor.

  2. In Stackup, select a template from the Flex group. You can also start from your current stackup.

  3. A flex template sets the default area stackup to Flex. A rigid-flex template includes Rigid and Flex area stackups, with Rigid as the default. Use Add area stackup to add another area stackup.

  4. For a rigid-flex board, draw Stackup Areas and assign the Flex area stackup where the board bends. See Draw Stackup Areas.

These flex templates are available:

Template

Construction

Flex 2 Layer

2 copper layers on a polyimide core, with coverlay on both sides

Rigid-Flex 4 Layer

4 copper layers in the rigid areas and 2 copper layers in the flex area

JLCPCB Flex 1 Layer

1 layer of rolled annealed copper on polyimide, with coverlay

JLCPCB Flex 2 Layer

2 layers of electro-deposited copper on polyimide, with coverlay

JLCPCB Flex 4 Layer (ED copper)

4 layers of electro-deposited copper, with coverlay

JLCPCB Flex 4 Layer (RA copper, bend-rated)

4 layers of rolled annealed copper for flex areas that bend, with coverlay

PCBWay Flex 1 Layer

1 copper layer on polyimide, with coverlay

PCBWay Flex 2 Layer

2 copper layers on a polyimide core, with coverlay on both sides

PCBWay Flex 4 Layer

4 copper layers with polyimide and adhesive bonding layers, with coverlay on both sides

PCBWay Flex 6 Layer

6 copper layers with polyimide and adhesive bonding layers, with coverlay on both sides

PCBWay Rigid-Flex 4 Layer

4 copper layers in the rigid areas and 2 inner copper layers in the flex area, on L2 and L3

PCBWay Rigid-Flex 6 Layer

6 copper layers in the rigid areas and 2 inner copper layers in the flex area, on L3 and L4

The PCBWay templates use PCBWay's published flex and rigid-flex constructions. The rigid-flex templates combine FR-4 rigid layers with a polyimide flex core and coverlay. The flex copper layers continue through the rigid areas. The JLCPCB Flex templates match the flex constructions that JLCPCB makes.

Set the area stackups

Ask Flux to add or change area stackups.

Add a flex area stackup that uses L1 and L2, the polyimide core, and top and bottom coverlay.
Make "Default Rigid" the default area stackup and remove the coverlay from it.
Duplicate the Flex area stackup as "Flex + stiffener" and add a 0.2 mm polyimide stiffener on the bottom.

In the Stackup Editor, each area stackup has a column on the right side of the layer table:

  1. Click Add area stackup to add a column.

  2. In the column, select the check box of each layer that the area stackup uses.

  3. Click ⋯ next to the column name to open the area stackup menu. Use it to Rename, change the kind (Rigid or Flex), Set as default, Duplicate, or Delete the area stackup.

  4. Read the total thickness and number of copper layers at the bottom of each column.

  5. Click Done.



Flex layers and materials

You can add these layer types and materials to the stackup, in addition to the rigid layers:

Layer or material

Use

Coverlay layer

Protects the copper on a flex area. Coverlay replaces solder mask on the flex part of the board.

Stiffener layer

Makes a flex area stiff, for example under a connector or a part.

Shield layer

A shield film on a flex area.

Polyimide

Flex core and dielectric material.

Polyimide + adhesive

Coverlay material.

Bondply

Bonding layer between flex layers.

Shield film

Shield layer material.

Rolled annealed copper

Copper for flex areas that bend many times.

Electro-deposited copper

Copper for flex areas, for example in the JLCPCB Flex 2 Layer template.

For layer properties, see Stackup Editor.

Draw Stackup Areas

Ask Flux to draw the Stackup Areas.

Add a Stackup Area that covers the arm between the two rigid boards and set it to the Flex area stackup.
Change the flex tail Stackup Area to use the "Flex + stiffener" area stackup.
Rename the Stackup Area on the arm to "Flex arm".

To do it in the UI:

  1. Right-click the canvas and select Add → Stackup Area.

  2. Move and resize the Stackup Area to cover the flex part of the board.

  3. In the Inspector, select the area stackup for the Stackup Area.

  4. Read the kind, the Copper layers, the thickness, and the Design checks for the area in the Inspector.

The PCB editor shades each Stackup Area and shows its name and area stackup on the canvas. To show or hide this overlay, open the View panel and use Stackup areas. See Layer view control.

Route a flex or rigid-flex board

Ask Flux to route the board. Flux routes each net only on the copper layers of the area that the trace goes through. Flux does not put a via in an area where the area stackup does not allow it.

Route the board. Keep the flex arm on L1 and L2 and put no vias in the flex areas.
Route the unrouted nets on this rigid-flex board.

When you route by hand, the PCB editor uses the layers of each area. It does not accept a trace or a via on a layer that the area does not have. Impedance-controlled trace widths come from the stackup of the area. See Route with Flux and Impedance control.

Copper pours in flex areas

Copper pours in a flex area are hatched. Hatched copper makes the flex area bend more easily. Rigid areas, and boards without flex areas, keep solid pours. You do not set the hatch. Flux applies it to each pour that is in a flex Stackup Area.



Ask Flux to add pours as on a rigid board.

Add a ground pour on L2 of this rigid-flex board.
Turn on the ground fill on both layers of the flex tail.

To do it in the UI, enable the copper fill on the layer. See Copper Fills.

The hatch in a flex area has these dimensions:

Property

Value

Line width

0.25 mm, or the minimum width of the pour if it is larger

Gap between lines

0.5 mm

Line angle

45°

Solid border at the edge of the pour

0.5 mm, or the minimum width of the pour if it is larger

The pour keeps a solid copper ring around each pad and via of the same net. The hatched pour shows in the 2D editor and the 3D view, and it is in the design checks and the manufacturing files.

Add bends and twists

A Flex Joint marks where a flex area folds or twists. Add it to a flex Stackup Area. On a pure flex board, add it to the board.

A Flex Joint has two rules, Bend and Twist. Set one of them or both:

  • Bend folds the flex area across a line. Its value is the bend angle and the bend radius, for example 90deg 1mm. You can also set Bend Angle and Bend Radius one at a time.

  • Twist turns a flex tail around its own length axis. Its value is the twist angle and the twist length, for example 90deg 20mm. You can also set Twist Angle and Twist Length one at a time.

A Flex Joint also has the rules Position, Rotation, and Repeated Bending.

Ask Flux to add or change bends and twists:

Add a bend across the flex area at the hinge. Fold it 90° with a 1 mm bend radius.
Change the bend radius of the hinge bend to 2 mm, and set it for repeated bending.
Twist the tail 90° over 20 mm so the connector faces the side.
Show me the board folded in 3D.

To add a Flex Joint yourself:

  1. Add a Flex Joint to a flex Stackup Area. On a pure flex board, add it to the board.

  2. Set Position and Rotation.

  3. Set Bend, Twist, or both. For example, set Bend to 90deg 1mm and Twist to 90deg 20mm.

  4. Set Repeated Bending for a bend that folds many times.

See and check the folded board

Ask Flux to set the bend, show the folded board, and check its fit in the enclosure.

Fold the board at the hinge line to 90° with a 1 mm bend radius.
Add the folded board to the 3D assembly and check its fit and clearance in the enclosure.
Change the bend radius of the hinge joint to 2 mm.
Export the folded board as a STEP file for mechanical design.

The PCB editor shows the board flat and marks its bend zones. The 3D view shows the board folded and twisted at each Flex Joint. The 3D downloads, including STEP, show the folded board.

Add the folded board to the enclosure in the 3D assembly to check the fit and clearance. Change the bend settings until the board fits. See Fit and Clearance.

For a full folded-board review, see Fold and check rigid-flex boards.

Add Flex Edge Glue at rigid-to-flex edges

Flex Edge Glue is a bead of glue on each edge where a flex area meets a rigid area. The bead goes from the rigid edge onto the flex area and gives the flex strain relief at the edge.

Flux puts the bead:

  • On each edge where a flex area meets a rigid area. Flux does not put a bead on the board outline or between two flex areas.

  • On each board side that you select, where the rigid area stands higher than the flex area. The bead touches the rigid edge.

  • From the rigid edge onto the flex area, at the width and height that you set.

Ask Flux to add or change the edge glue:

Add edge glue where the flex neck meets the rigid parts of this board.
Add flex edge glue on the bottom side of the flex tail, 1 mm wide and 0.5 mm high.
Make the edge glue on the flex arm 0.8 mm wide so it does not cover the pads of J2.
Remove the edge glue from the flex arm.

Flex Edge Glue has these rules. Set them on the board or on a Stackup Area. A Stackup Area value overrides the board value.

Rule

Value

Flex Edge Glue

The width onto the flex area, the height, and the side, for example 1mm 0.5mm both. The side is top, bottom, or both. Set none to remove the bead.

Flex Edge Glue Width

The width onto the flex area, for example 1mm. A value of 0 removes the bead.

Flex Edge Glue Height

The height of the bead above the board surface, for example 0.5mm.

Flex Edge Glue Side

top, bottom, or both.

The Flex Edge Glue Width, Flex Edge Glue Height, and Flex Edge Glue Side rules override the matching value in Flex Edge Glue. When you do not set a value, Flux uses a width of 1 mm, a height of 0.5 mm, and both sides.

To add Flex Edge Glue yourself:

  1. Select the board, or a flex Stackup Area.

  2. In the Inspector, click + (Add Rule) next to Layout Rules.

  3. Add Flex Edge Glue and set its value, for example 1mm 0.5mm both.

  4. To change one value, add Flex Edge Glue Width, Flex Edge Glue Height, or Flex Edge Glue Side.

The PCB editor shows each bead as a hatched strip in the glue color, on the board side that faces you, when the Stackup areas overlay is on. The 3D view shows each bead as a sloped wedge against the rigid edge.



Set the edge glue material

Each flex area stackup has an edge glue material. The default is Flexible epoxy (dielectric material Adhesive), in amber.

  1. Open the Stackup Editor.

  2. Click ⋯ next to the name of a Flex area stackup column and select Edge glue material….

  3. Set the Name, Dielectric Material, Dielectric Constant, and Color of the glue. An empty field uses the default.

  4. Click Done.

The dielectric material is Adhesive, Epoxy Liquid, Polyimide, Bondply, Prepreg, Core, or FR-4. The summary of the Flex area stackup shows the name of the glue.

Check the flex design

Flux runs flex and rigid-flex design checks on each board that has Stackup Areas. The results show in the Review panel, in the Stackup Areas category.

Run the design checks and list the Stackup Areas issues near the rigid-to-flex boundaries.
Check the flex arm for vias and sharp trace corners.
Check the signal integrity of the traces that run through the flex arm: impedance, crosstalk, and delay.

The checks find these issues:

  • Parts on bare flex without a stiffener.

  • Pads too near the edge of a stiffener.

  • Vias and plated holes in a bare flex area.

  • Holes and pads too near a rigid-to-flex boundary.

  • Traces that do not cross a boundary at 90°, and trace corners or width changes near a boundary.

  • Traces on adjacent flex layers that are on top of each other.

  • Sharp trace corners in a bare flex area.

  • Copper too near the board edge in a flex area.

  • Pads and vias in a bare flex area without teardrops.

  • Coverlay openings that are too small for the pad.

  • Flex area stackups without coverlay on an outer copper layer.

  • Bend radius information for each flex area.

  • A bend radius that is smaller than the minimum bend radius of the flex stackup. The minimum is larger for repeated bending.

  • A twist length that is shorter than the minimum for the width of the tail.

  • Parts, pads, vias, and holes in a bend or twist zone.

  • Traces that do not cross a bend at 90°.

  • Bend and twist zones that overlap.

  • Stackup Areas that use an area stackup that is not in the stackup.

  • Flex Edge Glue that covers a pad, a via, or a plated hole.

  • Flex Edge Glue that is wider than the flex area.

  • A Flex Edge Glue Side that has no rigid edge to glue against.

The board density check does not count bare flex as room for parts.

Flux also uses the stackup of each area when it checks signals: impedance, crosstalk, electrical length, differential pairs, vias, and DC resistance. See Design Rule Check (DRC).


Simulate a flex or rigid-flex board

Ask Flux to simulate the board. Electromagnetic and thermal simulations use the stackup of each Stackup Area.

Simulate the impedance of the signal nets on the flex arm.
Run a thermal simulation of this rigid-flex board.

See Simulation.

See the board in 3D

The 3D view shows each area at its own thickness. Flex areas show coverlay, rigid areas show solder mask and silkscreen, and stiffeners touch the coverlay or the copper face of the board. Flex Edge Glue shows as a sloped wedge at each rigid-to-flex edge.


See 3D View.

Export a flex or rigid-flex board

Ask Flux to export the files that your fabricator needs.

Export the Gerber files for this rigid-flex board.
Export this flex board as IPC-2581C and ODB++.
Export the assembled rigid-flex board as STEP for the enclosure design.

The manufacturing files of a board with Stackup Areas include:

  • Gerber files for each coverlay layer, each stiffener layer, the Stackup Area outlines, and each board side with Flex Edge Glue (Flex Edge Glue Top and Flex Edge Glue Bottom). These files align with the copper and the board outline.

  • A fabrication drawing (fabrication-drawing.pdf). The drawing shows each area with its area stackup, finished thickness, and size.

  • A Flex Edge Glue page in the fabrication drawing for each glued board side. The page shows the beads and lists each glue width, height, and material with the Stackup Areas that use it.

  • A stackup area list (stackup-areas.txt).

  • In IPC-2581C and ODB++, one stackup for each area stackup and the area of the board where each one applies.

  • In IPC-2581C and ODB++, a glue layer for each glued board side.

3D downloads (STEP, compressed STEP, BREP, XAO, GLB, STL, OBJ, and COLLADA) show each area at its own thickness, with coverlay and stiffeners. STEP, BREP, XAO, and GLB downloads include each Flex Edge Glue bead as a solid.

See Board Manufacturing Files and Mechanical Drawings and Exports.

Quote and order a flex or rigid-flex board

Ask Flux for quotes and orders as for a rigid board. Flux reads the construction of the board from the stackup and sends it with the quote request: the number of copper layers, the finished thickness, the dielectric, the copper type and weight, the coverlay, the stiffeners, and the thickness of each layer.

Get quotes for 10 of these flex boards from JLCPCB and PCBWay.
Order 10 of these flex boards from JLCPCB.
Get a PCBWay quote for 5 of these rigid-flex boards.
  • JLCPCB quotes and makes flex boards. When you order, Flux sends the same construction as in the quote that you approved.

  • PCBWay quotes flex boards and rigid-flex boards. PCBWay gives the price of a rigid-flex board after it reviews the files. Flux gives you the upload link for the PCBWay site.

For the full quote and order steps, see Order from Flux.

Open a flex or rigid-flex board

A saved flex or rigid-flex board shows its Stackup Areas, 3D view, design checks, and exports for each person who opens the project.