How do machining principles and formatting classes work together in imos CAM iX?
How CAM iX links a drawn operation to a machining principle, and how formatting classes per material pick the right principle automatically.
Short answer: A machining principle translates a drawn operation for the machine: operation type, conditions, tool and machining parameters. The formatting class is a number you assign to each material, for example 1 for particleboard and 2 for MDF. Add that class as a condition in the principle, and CAM iX automatically picks the right principle as soon as the material in the drawing changes.
Applies to
- imos iX 2017 and later with CAM iX
- Module: imos CAM iX (tools, machining principles) and the materials in imos iX
- Integrations: the postprocessor of your CNC machine, e.g. Homag, Biesse or SCM
- Last reviewed: October 2026
CAM iX: round and rectangular pocket milling
Setting up pocket milling in imos CAM iX (video in Dutch).
How CAM iX selects a principle
For every drawn operation, CAM iX looks for a matching machining principle, in a fixed order:
- First the operation type: main type (drilling, milling or sawing) and subtype (for example vertical drilling).
- Then the priority: the higher it is, the earlier the principle is evaluated. Priority 100 comes before 10.
- Then the conditions: all of them must be true. If one is false, CAM iX moves on to the next principle.
- The first principle that fully matches is used. The search stops there.
If no principle matches, you get the message that no machining principle was found.
Creating a machining principle
Make sure the tool exists first, with at least its diameter and usable length filled in. Then:
- Open the STANDARD principle, change the principle name and save. This creates a copy.
- Name it according to your fixed scheme, for example
BOR_VERT_Ø05_00→35. - Set the priority, for example 10. Use a value above 0.
- Choose Drilling as the operation type and Vertical drilling as the subtype.
- Under Conditions, add a comparison: diameter equal to 5 mm.
- Add a second condition: depth less than or equal to the drill's maximum machining depth, here 35 mm. Combine both with AND.
- If the principle depends on material, add the material's formatting class as a condition.
- Click + below the conditions and assign the correct tool under Tools.
- Leave the machining parameters (speeds, lead-in/lead-out, dust hood) at their defaults first. Change them only if the result on the machine isn't right.
- Save it in the right folder and test with a simple part.
Create one principle for drilling, one for milling and one for sawing first. Only once those work, copy them into variants. Otherwise every copy multiplies the errors in the basics.
Setting up formatting classes
Particleboard, MDF, plywood and solid wood each need different speeds, lead-in/lead-out or even a different tool. The formatting class makes that distinction without the designer having to choose anything.
- Define a fixed list of classes, for example: 1 particleboard, 2 MDF, 3 plywood, 4 solid wood, 5 compact laminate, 6 solid surface.
- Enter the matching formatting class for every material in the material database.
- Add the class as a condition in the machining principles that differ per material.
- Create a principle per class, with a recognisable class number in the name, for example
_K1. - Fill in the class immediately for every new material.
A real-world example: a kitchen is drawn with a particleboard worktop. Later it becomes moisture-resistant plywood. With formatting classes, CAM iX adjusts the principle on its own. Without them, someone has to pick a different principle by hand, and sooner or later that gets forgotten. The result can be a broken cutter.
Updating formatting classes in bulk via SQL? In the material table the class is stored in the CLASS_CUT column counting from 0, so class 1 in imos is 0 there. Always back up the database first.
A consistent naming scheme
Principle names have a limited number of characters, and you want to see at a glance which principle was chosen. So use abbreviations separated by underscores:
- Machine: for example
HOM,BIE, or one letter per machine if you have several. - Operation:
BOR(drilling),FRE(milling),ZGN(sawing),SPN(rebate),GRF(groove),KAM(pocketing). - Direction:
VERT,HORZ,UNI(angled). - Contour:
GBC(closed inner contour),BC(outer contour). - Through or not:
DG(through),ND(not through). - Dimensions:
Øfor diameter (ALT+157),→for depth from-to (ALT+26). Write diameters with at least two digits:Ø05, notØ5. - Priority and class:
P10,K1.
This gives names like HOM_GBC_DG_Ø08_00→22_P10_K1. The abbreviations come from Dutch, which is fine: what matters is that everyone uses the same list. Add a folder structure per machine and per operation, with folder names that explain the abbreviation.
Practical choices per operation
- Through drilling: create a separate principle and set the depth to
%Z+2, panel thickness plus 2 mm. You'll never drill deeper than intended, even if someone drew a 25 mm depth. - Pocketing: give the principle with the largest cutter the highest priority and a condition on the minimum pocket size. A 100 mm pocket is then cleared with the largest cutter that fits; smaller pockets fall through to a smaller cutter.
- Grooves: if the saw can only cut in X, make sure Y-direction grooves are automatically routed to a milling principle. Take the available cutters into account: a narrow groove with a small cutter, a larger cutter from a certain width upwards.
- Mitres and edge banding: use left- and right-hand sister tools so the cutter doesn't pull the edge band off.
Why this approach?
We often see CAM errors being fixed one by one. That doesn't work: without a fixed structure you keep firefighting. A consistent naming scheme, priorities with gaps (10, 20, 30) and formatting classes make the system predictable. Anyone reading the log file can tell from the name which tool, depth and class were selected. And because every tool has a diameter and usable length, CAM iX itself reports when something is drawn that can't be made.
Common mistakes
- 'Less than' instead of 'less than or equal to'. With 'less than 20 mm', an operation of exactly 20 mm falls outside the principle.
- No class on the material. Then no class-bound principle matches and you get the 'no machining principle found' message.
- Priority of 0 or lower. A principle with too low or a disabled priority doesn't take part.
- Principles without a maximum depth. CAM iX may then select a tool that physically can't make the operation.
Frequently asked questions
What happens if two principles both match?
CAM iX uses the principle with the highest priority within the same operation type. As soon as one fully matches, the search stops. So give specific principles a higher priority than general ones.
How many formatting classes do I need?
As many as you have materials that are genuinely machined differently, often five or six. Start with one class at installation, for example for particleboard and MDF, and expand once the basics work.
Do I have to fill in the machining parameters?
Not straight away. imos uses default settings. Fill them in when the result in the machine software isn't right, and check the effect on the machine after each change.
Why put the priority in the name?
So you can see in lists and in the log file in which order principles are evaluated, without opening each one.
Further reading
- What is a postprocessor and how do I set up a CNC machine in imos CAM iX?
- How do I read the CAM iX log file and fix 'no machining principle found'?
- Naming materials and edge banding in imos iX
- imos training
Want to learn CAM iX at your own pace? Wood Intelligence Plus includes a Dutch-language e-learning course for iX CAM.
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.