Subject: CAMotics fails to load NC + no stock unless project & paths meet strict conditions (ASCII-only) — initial console shows inf,inf,inf
Hi everyone,
After struggling with CAMotics showing no toolpaths — and at first not even the stock — I finally identified the root cause and a reliable workaround. I noticed many posts with similar symptoms but without a clear explanation, so I’m sharing what actually fixes the problem.
Important: Initially, the console showed:
Computing surface bounded by ((inf,inf,inf), (inf,inf,inf)) at 1 grid resolution Time: 0.00 secs Triangles: 0 Triangles/sec: -nan(ind)This means CAMotics had no valid stock bounds and generated no mesh at all. After setting stock manually, the console began reporting finite bounds and triangles — but the toolpath still didn’t appear until I addressed path/encoding issues (see below).
Stage A (before manual stock):
Stage B (after manual stock but before fixing paths/encoding):
This indicates CAMotics did not load the NC file, even though the program looks “fine”.
CAMotics is very sensitive to project/file paths and character encoding. Several conditions must be satisfied, otherwise the NC file won’t load (and no error is shown). Automatic stock can also fail, producing inf bounds.
Save the CAMotics project (.camotics) BEFORE adding the NC file.
Adding NC to an unsaved project can silently fail.
Put the .camotics project and the .nc file in the SAME folder.
External/absolute paths often fail to resolve later.
Use ASCII‑only folder paths and filenames.
Define stock manually.
Auto stock can yield invalid bounding boxes (inf,inf,inf) and zero triangles.
This process is repeatable and works 100% of the time on my systems.
Since CAMotics does not show an error when NC loading fails, users can waste hours debugging G‑code, GPU/OpenGL, or CAM settings. In reality, it’s a combination of path encoding and project/stock pitfalls.
Suggested dev improvements:
Tested on CAMotics 1.2.0 (Windows 10/11). I can provide a minimal test case if needed.
Hope this helps others hitting the same issue!
Best regards,