The Complete Homag woodWOP (.mpr) Export Guide: Automating CNC Cabinet Machine Code from Browser 3D CAD
How modern architectural millwork studios eliminate desktop CAM bottlenecks, compile vertical drilling macros (VB), and generate production-ready .mpr files directly in WebGL.
The Desktop CAM Bottleneck in Modern Cabinet Manufacturing
For more than three decades, architectural millwork studios and custom casework manufacturers have endured a frustrating, expensive intermediate step between 3D design and factory floor fabrication: desktop CAM post-processing. In traditional shops, a drafter models a kitchen or commercial fit-out in generic CAD, exports two-dimensional DXF files, and hands them off to a specialized CNC programmer. The programmer must open a dedicated workstation running desktop software, manually re-import each panel, designate reference origins, assign tooling macros, and re-calculate System 32 shelf pin depths.
This fragmented workflow creates severe friction points for custom casework shops:
- Substantial Software Overhead: Individual desktop CAM workstation seats frequently cost upwards of $8,000 to $15,000 upfront, with recurring annual maintenance contracts that drain capital from equipment reinvestment.
- Operator Transcription Errors: Manually re-entering panel dimensions, edgebanding tape thicknesses, and boring coordinates introduces human calculation drift, turning expensive Baltic Birch or veneered MDF into shop scrap.
- Revision Fragility: Whenever an architect or interior client adjusts wall dimensions by a mere 15 mm, the entire DXF-to-CAM translation pipeline must be repeated from scratch for dozens of carcass parts.
With modern WebGL parametric engines like GearBox Studio, boundary representation (B-Rep) geometry is converted into native Homag woodWOP (.mpr) macro code directly in the browser. Below is an exhaustive technical manual detailing how woodWOP files function, how macros are structured, and how automated browser compilation delivers flawless production parts on Homag and Weeke CNC machinery.
Native .mpr files are not raw G-code (DIN 66025). They are ASCII-formatted, high-level parametric macro scripts. When compiled directly from 3D parametric solids, toolpaths automatically adjust for panel thickness variations, saw blade kerf offsets, and edgebanding deductions without operator intervention.
1. Anatomy of the Homag woodWOP .mpr ASCII File
A Homag .mpr (Machine Processing Record) file is structured as an ASCII text file composed of discrete header blocks, panel geometry declarations, and machining macro primitives. Unlike flat G-code files that require thousands of individual linear interpolation (G01/G02/G03) coordinates, woodWOP delegates the machine kinematic calculation directly to the CNC machine's onboard PowerControl or PC85/PC87 control unit.
| Block Header | Directive Name | Shop Floor Role | Required Parameters |
|---|---|---|---|
| [H | File Version Header | Identifies woodWOP syntax version (4.0 to 8.1) | VERSION="4.0" to VERSION="8.1" |
| [001 | Workpiece Dimensions | Defines raw panel Length (X), Width (Y), and Thickness (Z) | _LA (Length), _BR (Width), _DI (Thickness) |
| <100 \BOHR_V\ | Vertical Boring Macro | Activates pneumatic vertical drilling spindles in boring head | XA, YA, TI (Depth), DU (Diameter), MN (Tool Mode) |
| <101 \NUT\ | Grooving / Kerf Sawing | Activates integrated grooving saw unit for back panel dados | XA, YA, XE, YE, TI (Depth), BR (Width) |
| <102 \BOHR_H\ | Horizontal Boring Macro | Drives edge drilling for structural dowels or Minifix pins | XA, YA, ZA, TI, DU, WI (Face Index 1-4) |
| <105 \FRAES\ | Contour Routing Macro | Controls main routing spindle with tool radius compensation | T_NO, F_NO, RK (Left/Right Comp), GEOM path |
2. Automating System 32 Line Boring in woodWOP
In commercial cabinetry, line boring operations must comply with European 32 mm System standards to guarantee full interchangeability of adjustable shelf supports, concealed hinges (Blum, Salice, Grass), and undermount drawer runners. When compiling an .mpr file, the CAD engine calculates the vertical drilling block parameters dynamically.
Consider a standard base cabinet gable with a height of 720 mm and depth of 560 mm. The line boring must maintain a universal 37.0 mm setback from the front face and a corresponding 37.0 mm setback from the rear internal face (or 69 mm if incorporating a 6 mm back panel dado and 16 mm structural void). The vertical hole pitch is rigidly locked to 32.0 mm center-to-center.
[H VERSION="4.0" [001 _LA=2100.00 _BR=560.00 _DI=18.00 _FNX=0.0 _FNY=0.0 _KM="GEARBOX CAD COMPILED GABLE LEFT" <100 \BOHR_V\ XA=37.00 YA=64.00 TI=13.00 DU=5.00 AN=1 ZA=32.00 EM=0 MI=0 MN="DRILL_5MM_VERTICAL"
In this macro directive:
XA=37.00specifies the exact 37 mm distance from the panel front datum edge.YA=64.00sets the start offset of the first hole from the bottom reference stop.TI=13.00commands a 13 mm drilling depth, leaving a solid 5 mm safety margin in standard 18 mm stock.DU=5.00instructs the Homag drill block to fire the 5.0 mm brad-point spindle.ZA=32.00defines the 32 mm incremental step across multiple boring repetitions.
3. Tool Compensation and Saw Kerf grooving for Back Panels
Back panel dados present one of the most frequent sources of shop scrap when programmed manually. In standard casework construction, a 6.0 mm or 8.0 mm back panel slides into a continuous dado groove recessed 16 mm or 20 mm from the cabinet rear edge. Homag machining centers perform this operation using an integrated X-axis or Y-axis grooving saw unit (typically equipped with a 120 mm diameter, 3.2 mm kerf blade) or a dedicated down-cut router bit.
When executing with a saw blade via the <101 \NUT\ macro, the engine must account for:
- Blade Kerf Width (
_KW): A standard 3.2 mm blade requires two overlapping passes to produce an 8.0 mm groove. GearBox Studio's compiler calculates the secondary pass step-over automatically (e.g., primary pass atYA=20.0 mm, secondary pass atYA=24.8 mm). - Overtravel Lead-In & Lead-Out: Because circular saw blades feature a curvature radius, plunging directly into the board creates ramped ends. The compiler extends the toolpath starting point (
XA = -15.0 mm) and exit point (XE = _LA + 15.0 mm) beyond the panel boundary to produce a completely through-cut square channel. - Vacuum Seal Integrity: Grooving passes are ordered before perimeter contour routing so the workpiece maintains 100% vacuum seal contact on the matrix suction bed.
4. Machine Zero Origins and Mirror Processing
Homag and Weeke machining centers utilize a quad-origin coordinate system with pneumatic reference pins along the machine bed:
- Stop 1 (Left Rear): The default primary datum origin for left-hand panels.
- Stop 2 (Right Rear): The mirror datum origin for right-hand panels, enabling pendulum machining.
- Stop 3 & 4 (Front Left / Front Right): Secondary stops for narrow rails or deep conference tops.
Rather than requiring the programmer to redraw mirrored panels, GearBox Studio's compiler generates paired .mpr programs with automated coordinate mirroring (_KM="MIRROR_X"), enabling operators to run continuous pendulum cycles on twin vacuum zones without machine downtime.
5. Comparing Traditional Desktop CAM vs. Direct Browser Compilation
| Feature | Traditional Desktop CAM Setup | GearBox Studio WebGL Compiler |
|---|---|---|
| Workstation Requirement | High-end dedicated Windows desktop CAD workstation ($4,000+) | Any modern browser (Chrome, Edge, Safari, iPad, Linux, Mac) |
| License Cost per Seat | $6,000 – $18,000 upfront + $2,500/year maintenance | Cloud subscription with 5 free credits to start ($0 upfront) |
| Export Speed (20 Cabinets) | 45 to 90 minutes manual layer mapping and tooling assignment | Instantaneous (under 3 seconds for full job batch .zip) |
| System 32 Boring Logic | Manual re-selection of drill blocks and depth parameters | Fully deterministic parametric compilation from 3D model |
| Shop Floor Barcode Sync | Separate label software requiring database link configuration | Integrated 4×2" thermal barcode label sheet with QR 3D previews |
6. Thermal Barcode Label Integration on the Factory Floor
A machine program is only as effective as the operator's ability to identify and process the physical part once cut. GearBox Studio bundles every woodWOP export batch with printable, standardized 4 × 2 inch (102 × 51 mm) thermal labels. Each label displays the job name, part ID, finished versus rough saw cut dimensions, and an explicit four-edge edgebanding indicator:
┌────────────────────────────────────────────────────────┐ │ GEARBOX STUDIO • JOB: PENTHOUSE_04 • PART 04/22 │ │ COMPONENT: GABLE RIGHT (18MM WALNUT VENEER) │ │ FINISHED: 2100.0 x 560.0 mm • ROUGH: 2098.0 x 558.0 │ │ EDGEBANDING: [TOP: 1.0 ABS] [BOT: NONE] [L: 1.0] [R: -]│ │ CNC PROGRAM: GABLE_R_P04.mpr │ │ [████ QR CODE: SCAN TO VIEW 3D DRILLING MAP ████] │ └────────────────────────────────────────────────────────┘
When the machine operator unloads the nested sheet from the Homag vacuum bed, they scan the barcode with a standard handheld wireless scanner attached to the Homag PowerControl terminal. The machine immediately loads the matching .mpr file, registers vacuum cup positions, and alerts the operator to orientation alignment in under two seconds.
7. Frequently Asked Questions (FAQ) for CNC Millwork Directors
Does GearBox Studio require woodWOP software installed on my office computer?
No. GearBox Studio compiles native ASCII .mpr files directly within your web browser using WebGL and client-side compilation algorithms. You do not need woodWOP, WoodAssembler, or any desktop CAM license on your computer to produce fully validated machine files.
Which versions of Homag woodWOP are compatible?
The compiled .mpr files are engineered to woodWOP 4.0/5.0 backward-compatible ASCII standards, meaning they load seamlessly across woodWOP 4.0, 5.0, 6.0, 7.0, 7.1, 7.2, 8.0, and 8.1 on both Homag Centateq nesting centers and Weeke Venture pod-and-rail machines.
How does the compiler handle edgebanding thickness deductions?
When edgebanding is configured in your project parameters (e.g., 0.5 mm, 1.0 mm, or 2.0 mm PVC/ABS tape), GearBox Studio automatically reduces the raw panel routing dimensions before generating the perimeter toolpath. This guarantees the finished cabinet meets exact architectural blueprint dimensions after the edgebander trims the tape flush.
Can I export both nested sheet DXFs and individual panel .mpr files from the same job?
Yes. You can export complete 2440 × 1220 mm nested multi-sheet DXFs for full-bed router processing, or export discrete .mpr files for individual pod-and-rail vertical machining stations with a single click.
Automate Your Homag & Weeke Production Line Today
Stop paying tens of thousands of dollars for desktop CAM seats and eliminating manual DXF layer mapping. Launch GearBox Studio to model custom casework, calculate System 32 line boring, and export production-ready Homag woodWOP (.mpr) files in seconds with 5 complimentary CAD credits.
Launch Studio & Export woodWOP Free →Generate Production Joinery & CNC Cut-Lists in Seconds
Eliminate hours of manual AutoCAD redrafting. Launch GearBox Studio to create millimeter-accurate 3D cabinetry, run automatic 2440×1220mm sheet nesting, and export layered DXF files right now.
More Engineering Guides
CNC Sheet Nesting Optimization for 2440 × 1220 mm Plywood: Kerf Offsets, Yield Rates, and Grain Matching Math
Master 2440x1220mm CNC sheet nesting for commercial cabinetry. Learn how saw kerf accumulation, compression router bit offsets, grain locking, and vacuum suction dynamics maximize board yield.
Parametric CADThe Definitive System 32 Cabinet Making Guide: Line Boring Standards, 37mm Setbacks, and Hardware Drilling Specs
The definitive architectural guide to the 32mm cabinet system (System 32). Learn universal 37mm setback rules, Blum hinge cup boring, undermount drawer slide pitch, and structural carcass joinery math.