CAM Profile Toolpath
LocalGenerate 2.5D profile G-code from DXF — multi-depth passes, cutter compensation, feed/spindle. Free online, no upload, in your browser. Pro feature.
Cutting
Depth
Tool & compensation
Units are fixed to millimetres (output G21 / G90); DXF coordinates follow drawing units. For pocket clearing use pocket-cam; for single-layer laser/engraving use dxf-to-gcode.
What is it? CAM Profile Toolpath generates 2.5D profile G-code from DXF contours with multi-depth passes, configurable feed and spindle speed, tool-radius compensation and coolant control. Pure front-end implementation: DXF parsing and toolpath math run entirely in your browser, built on the open-source geometry libraries clipper-lib (Boost license) and dxf-parser — no cloud service involved.
TL;DR: Generate 2.5D profile G-code from DXF with multi-depth passes, cutter radius compensation and a live toolpath preview — free online, no upload, computed in your browser.
How to use
- Paste an ASCII DXF into the input box (closed contours work best) — or choose/drop a .dxf file, or load the sample.
- Set the tool radius and compensation side, total depth and step-down, feed, plunge and spindle speed.
- Click "Generate G-code": the summary shows passes × contours, an estimated machining time and pierce count (same basis as G-code Stats — feed and path length, no acceleration modeling), plus the toolpath preview. Then copy or download toolpath.gcode.
FAQ
Does it apply cutter compensation?
Yes, when you set a tool radius and pick left/right; with radius 0 it follows the contour centerline.
Which DXF entities are supported?
Lines and polyline contours; circles and arcs are approximated as polylines.
What units are used?
Coordinates follow the DXF drawing units; output is always millimetres (G21).
Is it local?
Yes, the toolpath is computed in your browser.
Is it free?
No — CAM Profile Toolpath is a Pro feature; on the Free plan this page shows an upgrade prompt.
How is this different from the DXF to G-code tool?
That tool outputs one flat pass for laser cutters and engravers. CAM Profile Toolpath adds multi-depth step-downs, tool-radius compensation (left/right), plunge and coolant control — the 2.5D contour strategy used on a milling machine or router.
Which controllers are supported?
Output is generic G-code (G21 mm, G90 absolute) with no controller-specific post-processor. GRBL, Mach3 and Fanuc users generally run it after a dry check; we do not generate controller-specific dialects.
How is the machining time estimated?
From the configured feed rate and total path length, with rapids treated separately — the same basis as G-code Stats. Acceleration and machine limits are not modeled, so treat it as a comparison number.
Can it do pocketing or V-carving?
No — this is profile/contour machining only. Use the pocket tool for cavity clearing, and the DXF to G-code tool for single-layer laser or engraving jobs.
Can I use it for laser cutting?
It is built for milling-style contouring with depth passes and cutter compensation; for single-depth laser or engraving output use the DXF to G-code tool.
Examples
- Paste a DXF contour → set step-down, tool radius and compensation → generate and download the G-code.
Supported formats
Limitations
- 2.5D profile/contour toolpaths only — no pocket clearing or 3D surfaces.
- ASCII DXF only; arcs are approximated as polylines.
- Outputs generic G-code (G21 mm / G90) with no controller-specific post-processors.
- No material or process simulation.
- Results are a reference — run a dry check on your machine before cutting.
- Runs locally in your browser — files are never uploaded.
Privacy
Privacy first: this tool runs entirely in your browser — your input and files never leave your device, and everything is cleared when you close the page.