Test nc files
- rhscdn
- Offline
- Junior Member
-
Less
More
- Posts: 33
- Thank you received: 3
05 Jun 2026 13:50 #346915
by rhscdn
Test nc files was created by rhscdn
A bit of a strange request. I'm looking at `gcode.parse(...)` the CPython extension function implemented by `gcodemodule.cc`. It is a blocking call from the Python caller's perspective: it initializes an interpreter, opens the file, executes init codes, then loops over `pinterp->read()` and `pinterp->execute()` until the file finishes, an interpreter error occurs, or a Python callback aborts.
I am trying to benchmark a few things and I was wondering if anyone knows of a repository of g-code files for testing?. Basically I'm looking for a small set of .ngc files: small known-good, medium CAM, large CAM, arc-heavy, and many-short-segment. I could create some, but I thought I'd ask if a set already existed.
I am trying to benchmark a few things and I was wondering if anyone knows of a repository of g-code files for testing?. Basically I'm looking for a small set of .ngc files: small known-good, medium CAM, large CAM, arc-heavy, and many-short-segment. I could create some, but I thought I'd ask if a set already existed.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Offline
- Moderator
-
Less
More
- Posts: 21625
- Thank you received: 7383
06 Jun 2026 00:26 #346932
by tommylight
Replied by tommylight on topic Test nc files
Not that i know of, except the included with LinuxCNC, but i can prove some for plasma and for engravers/scratchers i build:
forum.linuxcnc.org/show-your-stuff/46752...ver-etcher-scratcher
forum.linuxcnc.org/show-your-stuff/46752...ver-etcher-scratcher
The following user(s) said Thank You: rhscdn
Please Log in or Create an account to join the conversation.
Time to create page: 0.117 seconds