<p>Unless you can find a slicer that explicitly supports grbl, you will need to check the G-code specification and see which common flavour is closest to what grbl supports. The RepRap Wiki includes grbl in it's compatibility chart, but it has question marks against a lot of entries for grbl.</p>

<p>The other alternative is to slice a very simple model and see what commands are issued by the slicer, and whether they are supported by grbl.</p>

<p>Note that there is a question as to whether grbl supports FDM printing technology, i.e. 3D printers that use filament. Most slicers are designed to work with FDM printers, and will expect to be controlling at least one extruder. If your printer does not have an extruder that is controlled via G-code, you may encounter real difficulties generating G-code for it using commonly-available slicers. </p>

<p><a href="http://reprap.org/wiki/G-code" rel="nofollow noreferrer">RepRap Wiki: G-code</a></p>

CC BY-SA 3.0
2017-10-28T14:25:15.410Z
I know that m3 starts the extruder and m5 stops it. Last night i spent alot of time calibrating things and it seems to be making the correct movements i just need to add extruder start/stops. The flavour i was trying to use was machinekit. I'll read that wiki and see what i can find.
Keith Bybee
CC BY-SA 3.0
2017-10-28T15:01:07.583Z
Those commands are for subtractive manufacturing (i.e. CNC machines). Does your machine extrude filament, or is it a CNC machine?
Mick
CC BY-SA 3.0
2017-10-28T16:16:56.717Z
It extudes filament. But following the tutorial i used to make it turning the spindle on activates pin 12 on the arduino. I have the extrude switch soldered to a transistor and restistor so that it activates extruder when spindle is turned on. I plan on making a script that will modify whole files for me after i figure out what need to be done. Right now its calibrated and appears to be drawing the pyramid i was going to test print but i am getting some errors like expected command letter and line overflow. Also unsupported statement.
Keith Bybee
CC BY-SA 3.0
2017-10-28T18:55:44.917Z
I voted for this answer because it pointed me in the right direction however rep is too low
Keith Bybee
CC BY-SA 3.0
2017-10-28T07:34:07.107Z
2017-10-28T08:17:34.580Z
2017-10-28T08:17:34.580Z
Mick
<p>Slice your model... then edit the code in <strong>Notepad</strong>... where you will see that you will need to replace all <code>E</code> (extrude commands) with <code>M3</code> for Extrude on and/or <code>M5</code> for Extrude off.</p>

<p>You must look at the code and figure out where:</p>

<ul>
<li>The code is telling the extruder to extrude; </li>
<li>Then it makes a bunch of XY moves; t</li>
<li>Then, where it tells the extruder to stop, you have to insert an <code>M5</code> command.</li>
</ul>

<p>I did this a year ago and got mine to work perfectly but it takes time to edit the code. Be patient and keep at it .</p>

CC BY-SA 4.0
2018-05-26T20:03:37.817Z
Yea i got it working a long time ago.. It is much easier to just manually edit with a text editor.
Keith Bybee
CC BY-SA 4.0
2018-05-26T19:37:31.570Z
2018-05-26T19:49:43.520Z
2018-05-26T19:49:43.520Z
Walter Hynson
<p>I have a 3D printer that I built using CD-ROM drives. It's all set and ready to go but when I generate <code>.stl</code> or <code>.obj</code> files my G-code sender program cannot load it. I have found that Slic3r will export the <code>.stl</code> into G-code but it has the option of changing the <em>G-code flavour</em>, or <em>firmware</em>. </p>

<p>My machine is running from an Arduino Uno with Grbl v0.8. </p>

<p>So the question is, which firmware setting would be appropriate for my machine that would require the least amount of editing before I can print?</p>

<diy-3d-printer><slic3r>
Which firmware to use on printer settings for DIY printer
Keith Bybee
# Which firmware to use on printer settings for DIY printer

(Asked by: username_0 on 2017-10-28)

I have a 3D printer that I built using CD-ROM drives. It's all set and ready to go but when I generate `.stl` or `.obj` files my G-code sender program cannot load it. I have found that Slic3r will export the `.stl` into G-code but it has the option of changing the *G-code flavour*, or *firmware*.

My machine is running from an Arduino Uno with Grbl v0.8.

So the question is, which firmware setting would be appropriate for my machine that would require the least amount of editing before I can print?

**Tags:** diy-3d-printer, slic3r

---

## 2 answers

### Answer by username_1 on 2017-10-28. Score: 2 | Accepted answer

Unless you can find a slicer that explicitly supports grbl, you will need to check the G-code specification and see which common flavour is closest to what grbl supports. The RepRap Wiki includes grbl in it's compatibility chart, but it has question marks against a lot of entries for grbl.

The other alternative is to slice a very simple model and see what commands are issued by the slicer, and whether they are supported by grbl.

Note that there is a question as to whether grbl supports FDM printing technology, i.e. 3D printers that use filament. Most slicers are designed to work with FDM printers, and will expect to be controlling at least one extruder. If your printer does not have an extruder that is controlled via G-code, you may encounter real difficulties generating G-code for it using commonly-available slicers.

[RepRap Wiki: G-code](http://reprap.org/wiki/G-code)

> **Comments:**
> **username_0**: I know that m3 starts the extruder and m5 stops it. Last night i spent alot of time calibrating things and it seems to be making the correct movements i just need to add extruder start/stops. The flavour i was trying to use was machinekit. I'll read that wiki and see what i can find.  
> **username_1**: Those commands are for subtractive manufacturing (i.e. CNC machines). Does your machine extrude filament, or is it a CNC machine?  
> **username_0**: It extudes filament. But following the tutorial i used to make it turning the spindle on activates pin 12 on the arduino. I have the extrude switch soldered to a transistor and restistor so that it activates extruder when spindle is turned on. I plan on making a script that will modify whole files for me after i figure out what need to be done. Right now its calibrated and appears to be drawing the pyramid i was going to test print but i am getting some errors like expected command letter and line overflow. Also unsupported statement.  
> **username_0**: I voted for this answer because it pointed me in the right direction however rep is too low  

---

### Answer by username_2 on 2018-05-26. Score: 2

Slice your model... then edit the code in **Notepad**... where you will see that you will need to replace all `E` (extrude commands) with `M3` for Extrude on and/or `M5` for Extrude off.

You must look at the code and figure out where:

* The code is telling the extruder to extrude;
* Then it makes a bunch of XY moves; t
* Then, where it tells the extruder to stop, you have to insert an `M5` command.

I did this a year ago and got mine to work perfectly but it takes time to edit the code. Be patient and keep at it .

> **Comments:**
> **username_0**: Yea i got it working a long time ago.. It is much easier to just manually edit with a text editor.  

---

