I am looking for developers who have already created or are working on a Print & Cut / Registration Plugin for FluidNC.
Main Concept
The machine should automatically find 4 L-shaped registration marks on a printed sheet using a probe/sensor or camera.
Workflow:
1.
Place the printed sheet on the cutting bed.
2.
Machine moves to the defined starting/search area.
3.
Probe scans and finds Corner 1 – L Mark.
4.
Finds Corner 2 – L Mark.
5.
Finds Corner 3 – L Mark.
6.
Finds Corner 4 – L Mark.
7.
Save the exact X/Y position of all 4 marks.
8.
Calculate the actual sheet position.
9.
Automatically calculate rotation / skew angle.
10.
Calculate X/Y scaling or print stretch, if required.
11.
Calculate the required X/Y offset.
12.
Load the original SVG or DXF cutting file.
13.
Automatically transform the SVG/DXF according to the measured registration marks.
14.
Generate the corrected G-code.
15.
Send the corrected G-code directly to FluidNC.
16.
Start the cutting job automatically.
17.
After completion, optionally return to the loading position for the next sheet.
Four-Corner Correction
The plugin should use:
P1 = Top Left
P2 = Top Right
P3 = Bottom Right
P4 = Bottom Left
From these four points, the software can determine:
- X offset
- Y offset
- Rotation
- Skew
- Scale X
- Scale Y
- Overall print/cut registration error
The cutting path should then be transformed to match the actual printed sheet, rather than simply cutting using the original machine coordinates.
File Support
The plugin/software should support:
- SVG
- DXF
- G-code
SVG/DXF → Registration Correction → G-code → FluidNC
Fully Automatic Workflow
The final goal is:
Load Sheet → Find 4 L Marks → Calculate Correction → Transform SVG/DXF → Generate G-code → Send to FluidNC → Cut
No manual coordinate calculation should be required.
Hardware Concept
Possible hardware:
- ESP32 + FluidNC
- Probe/sensor for L-mark detection
- OR ESP32-CAM / USB camera
- X/Y stepper motors
- Drag knife / tangential knife
- Vacuum bed
- Limit/home switches
V1 Development
For the first version, even a simple implementation is enough:
4-point L-mark detection → X/Y offset + rotation correction → corrected G-code → FluidNC
Later versions can add:
- Perspective correction
- Non-uniform scaling
- Camera-based detection
- Automatic sheet loading
- Automatic unloading
- Batch print & cut
- Multiple copies/nesting
- Advanced registration algorithms
If anyone has already developed a FluidNC plugin, WebUI plugin, external application, Python tool, or G-code-based solution for this type of workflow, please share it.
I would like to test it on a 13×19 print-and-cut DIY machine and contribute feedback/improvements.
Anyone interested in developing this together is welcome to share code, GitHub projects, ideas, or existing solutions. 