I just uploaded our first LinuxCNC milling and turning posts for G-Wizard Editor. It’s a modest start, but we’ll build on this initial version. The most important LinuxCNC feature we’ve added support for in the Editor are named parameters.
In LinuxCNC, you can write:
Much easier to read than the numeric notation.
What GW Editor does to accomodate this new style is it automatically sets up a mapping between the symbolic style and numeric #-variables. With the LinuxCNC post, we start that mapping at #10000. In other words, the first named parameter you create will be at #10000, the second at #10001, and so on. You don’t have to know all that, though it will show up in our new Macro Variable Viewer. Should you wish to change the starting point of #10000, that’s easy to do with a new post variable.
There’s also the beginnings of code in place for pre-defined named parameters, but I won’t go into that too much as it isn’t really ready for prime time yet.
I expect to have the LinuxCNC post finished by the end of April. Meanwhile, it should be good enough to start playing with CAM program output. The next step is the way LinuxCNC handles parameter passing to subprograms.
Like what you read on CNCCookbook?
Join 100,000+ CNC'ers! Get our latest blog posts delivered straight to your email inbox once a week for free. Plus, we’ll give you access to some great CNC reference materials including:
- Our Big List of over 200 CNC Tips and Techniques
- Our Free GCode Programming Basics Course
- And more!
Just enter your name and email address below:
100% Privacy: We will never Spam you!