G-Code writing program

Writing gcode for shapeoko 5 pro with spindle.

Is it possible to write a g-code file for my Shapeoko 5 pro? I want to do a raster program for flattening projects with the grain rather than starting in the center and circle my way out to the edges.
Also, looking to g-code for a spiral cut, similar to internal thread cutting. It seems I could do these with some g-code experimentation.
Is there a program that I can use with my machine to utilize my own g-code files?
Thanks

Yes, but the problem is the firmware, Grbl is quite limited in in the G-code which it supports.

https://my.carbide3d.com/faq/supported-gcodes/

You can use any text editor, but the programming is a bit tedious without any variables, loops, or branching.

There is a Notepad++ plugin which includes a wireframe preview:

and there is also:

and various other tools for this sort of thing.

I’ve been working on a tool for automating this sort of programming and preview:

which if you find OpenSCAD workable might be of interest.

To make up for the limitations of Grbl there is:

You may want to consider some sort of conversational G-code option.

Alternately, this sort of flattening can be done pretty easily in Carbide Create.

I want to do a raster program for flattening projects with the grain rather than starting in the center and circle my way out to the edges.

For cutting threads it’s a bit more complicated — you’d either need a thread-cutting program or to program by hand for a thread-cutting tool with undercuts.

Thanks. I have done flattening runs, however they only start in the middle and circle out. I want to run side to side with the grain. Am I missing something in carbide create pro?

@dwsouthwick This might be of interest.

2 Likes

I have not looked at @neilferreri file, this is what I use.

For surfacing my table I do a square around the edges to account for the artifacts.

1 Like

As was explained, one would draw up the desired toolpath using suitable geometries and the Linear Array tool.

The only toolpath which Carbide Create Pro affords for this sort of thing is Engraving which might be workable for this (Keyhole can be used as well, w/ a suitable array of circles, but unfortunately is length-limited).

This topic was automatically closed after 30 days. New replies are no longer allowed.