Why are edge codes and edge sequence wrong after flipping or rotating a panel in imos iX?
A panel that is flipped or rotated for the CNC gets a different edge sequence. Read whether the panel is turned and swap edges 2 and 4 in the cutting list.
Short answer: by default imos flips panels to the right for the CNC. A left side is therefore turned over so the inside face is up, and edges 2 and 4 swap places. Your cutting list must read per panel whether the first program is turned and, if so, swap edges 2 and 4. Also let the edges rotate with the grain direction.
Applies to
- imos iX CAD with CAM iX; based on integrations we set up between imos iX 2019 and imos iX 2023. Showing edge codes on the CAM panel is available from imos iX 2021.
- Functions: panel definitions with edge sequence, flipping and rotating during CNC generation, cutting list configuration (cfg)
- Integrations: optimisation and saw software such as Ardis, optionally via an ERP system
- Last reviewed: October 2026
How imos numbers the edges
imos numbers edges anticlockwise: edge 1 is the front, edge 2 the right, edge 3 the back and edge 4 the left. Many databases also put the edge sequence in the panel definition name, for example 2002 or P00P: one character per edge, with a code for no band, thin finish or edge band.
That numbering belongs to the panel as drawn. When CNC generation flips the panel, edge 2 suddenly lies on the left. If the cutting list keeps the original sequence, the label no longer matches.
Step 1: check the edge sequence in the drawing
- Select the panel and check which edge is edge 1.
- For panels that differ, choose a panel definition with the correct edge sequence. For left and right doors, a separate panel definition per type is the most reliable.
- For plinths and bases, check in the composite panel that edge 1 is on the underside. If not, rotate the edges there.
- If the panel sits against the stop with the wrong edge, set the reference edge with Paneel uitlijnen in 3D (align panel in 3D).
Step 2: read in the cutting list whether the panel is flipped
- Open the configuration file (cfg) of your cutting list output.
- Find the fields that output edge 2 and edge 4.
- Replace them with a condition that reads per panel whether the first program is turned. In an Ardis integration it looks like this:
IFEQUAL[ID;PXM_PROGRAM_INFO_VALID[ID;1;is turned;ncnum];TEXT[no];PRFID2;PRFID4;%s;%s]
Not turned: edge 2 is passed on; otherwise edge 4. For the other field, reversePRFID4andPRFID2. - Let the edges follow the grain direction, for example with
EDGE_TO_GRAIN[PRFID1], so they rotate along when the grain turns 90 degrees. - In the saw software, switch off automatic swapping of length and width.
- Record which column in the saw software belongs to which imos edge; the default column order is not always logical.
Note: panels without machining get no CNC program, so there is no flip information and step 2 falls back to the default sequence. For visible panels that must lie outside face up, that is often exactly wrong.
Step 3: give blank panels the correct edge sequence anyway
- Let the workflow create a dummy program for these panels containing only the panel image.
- Set it up with the outside face up; this first program then sets the edge sequence.
- Give the workflow step a recognisable comment, for example
leeg(empty). - Let the cfg check for that comment and output no barcode. The program is then used only for the edge code and nobody scans an empty program.
Step 4: check at the machine
- From imos iX 2021, switch on edge codes on the panel in the CAM iX machine settings.
- Generate a test order with a left side, a right side, a blank visible panel and a panel with cross grain.
- Compare the edge codes on each label with the CAM panel and the actual panel before going live.
On a nesting machine, let imos write a panel image per panel. The workshop then sees at once how the panel lies and where the band is, including on a second set-up.
Why this approach?
Flipping in imos is not an error but a deliberate choice. Carcass panels are usually machined from the inside face. Because imos flips to the right, the left side must be turned over to meet that condition. It then lies mirrored, so we mirror its edge codes too.
We solve this in the cutting list configuration, not with manual corrections. CNC generation already knows whether a panel is turned. Reading that makes every panel right automatically, even when the designer doesn't think about it.
It remains a choice. In practice we also see companies that deliberately leave the swap off. Choose one method, record it and test with real panels.
Common mistakes
- Swapping edges 1 and 3 as well. When flipping to the right, only edges 2 and 4 swap.
- Rotating the grain without rotating the edges. On a cross-grain panel all edge codes shift by one position.
- Letting the saw software swap length and width. The edge code then no longer matches the X dimension.
- Forgetting blank panels. No CNC program means no flip information.
- Only testing a right side. Also test a left side and a blank panel.
Frequently asked questions
Why is the edge sequence right on the right side but wrong on the left side?
imos flips panels to the right by default. The right side already lies inside face up; the left side is flipped. That is why edges 2 and 4 swap only on the left side.
Can I set the swap of edges 2 and 4 in imos itself?
We handle it in the cutting list configuration by reading whether the first program is turned. The drawing stays unchanged.
What happens to the edge codes when I rotate the grain direction?
The edges must follow the grain direction; otherwise the band on the label is a quarter turn off.
My plinth has edge 1 on the wrong side. How do I fix that?
Check in the composite panel of the plinth or base that edge 1 is on the underside and rotate the edges there if needed.
Further reading
- Generating cutting lists from imos iX
- Grain direction and rotated grain in imos iX
- Naming materials and edge banding in imos iX
- Consultancy
More than one solution
Almost every question in this knowledge base has more than one solution. The best fit depends on your workflow, machinery and integrations. Not sure which applies to you, or are you using software we don't (yet) support? Feel free to email Wood Intelligence. We're happy to think along with any challenge.
imos is a trademark of imos AG. Wood Intelligence is an independent consultancy.