How to generate Gcode?
Opened this issue · 6 comments
Hi. I just installed BarkBeetle and I am trying to generate some Gcode for a MasterWood machine, but unfortunately I can't find a way to start the generation of the Gcode. I made all the setup as described on the front-page but I have a folder with a bunch of .sbp files that are not containing the actual generated Gcode.
How I can get a preview of the toolpaths like in this picture?
Also, forgot to mention, I can't get any preview of the tool-paths as shown in the picture from the original post.
Hi @zohozer,
You are actually right. That's a clear bug. But fortunately this is an easy fix which you can do before I have time to fix this in the current verison on github: Zoom out to see the canvas and then zoom in on this part on the right, above the blue panels:
Here you can switch the output extensions: Link .NC to 0 and .sbp to 1.
And then in your case you'll need to turn "Make shopbotcode not g-code" and "Include start code" to False again.
I recreated these steps on your part and then I get the code streaming to the correct folder.
A few extra things to note:
- Your object needs to be positioned below 0 to be able to generate code that makes sense.
- I see you turned on Trochoidal milling under high speed machining. I suggest leaving that off until you get a bit more familiar with how to work with this definition in combination with the machine you are running this on. (it will also speed up calculations)
- It seems like there's something not going correct with generating the toolpaths for this surface
I'll file this as a separate issue.
Thank you. I used Rhino7 WIP.
Switching back to Rhino6, now I do have the Gcode line visualisation on viewport but the generated files still are missing the Gcode inside. I do only have the header for my CNC machine that I declared on the "Custom start G-code" panel.
=============
%
|1 3DFinish1
|2 0
|3 1
|4 500.000
|5 47.991
|6 200.000
|7 0 0 0 0
|8 0
|9
|10
|11
|12
|13
|14
G0 Z25 ;jog to material height
G92 Z0 ; make top of material Z zero
G1 F3600 Z14
M3 S18000 ; start spindle and set spindle speed
G4 P5 ;wait a few seconds for the spindle to start
M5