<p>I would typically shy away from downloading gcode and printing it directly.  Always slice it yourself since, inevitably, every printer is different.  What happens if the gcode is setup for ABS (higher temps) and you are printing with PLA?  If it's setup for a build platform larger than yours and you just hit endstops?</p>

<p>Definitely go with Aaron's idea, download a model (Thingiverse is great, but there are SO many sites where you can get files), configure a slicer for your print settings (I prefer slic3r to Cura, but both are great), slice it and print away.</p>

CC BY-SA 3.0
2017-11-06T20:00:06.897Z
This is pretty much what Aaron said. But after slicing there is no way to just print because my printer is based from grbl which is a milling software and i dont have a proper extruder. So the best way i have found is to open the sliced file in notepad and make adjustments to feedrates and layer heights manually.
Keith Bybee
CC BY-SA 3.0
2017-11-06T21:20:30.913Z
If you're adjusting feedrates, then you have an extruder.  If you have an extruder, any slicer can use whatever rates you give it.  If you can change it manually, you can have it set properly in slic3r or Cura or Simplify3D - unless we're not understanding one another.  Same with layer heights.  You can set your layer heights based on whatever Z-axis values you have on your steppers.  grbl just reads gcode, same as Marlin or any others.  I'm confused as to what the issue is here.
Jesse Williams
CC BY-SA 3.0
2017-11-06T22:07:00.293Z
I can adjust on slic3r but i was more wanting to learn how to control my machine with gcode. G1 X5 Y5 E.5 F300 doesnt regster with grbl bc its a milling software. M3 and M5 turn the spindle on and off and thats what I'm using to activate the extruder on my 3d pen So basically i have to delete the E values and manually enter start and stop commands The variable resistor on the side of the 3d pen cant be easily adjusted while its moving. But I've got it all figured out now. I can open a txt editor and write a file that prints successfully and it has been a great learning exp. Buying anet A8 next
Keith Bybee
CC BY-SA 3.0
2017-11-07T16:37:04.730Z
Hmmm, good stuff!
Jesse Williams
CC BY-SA 3.0
2017-11-06T18:04:21.507Z
2017-11-06T18:04:21.507Z
Jesse Williams
<p>Download an stl file from Thingiverse.com </p>

<p>Put your .stl file in a slicer program like cura</p>

<p>It will output gcode for 3d objects rather than 2d.</p>

CC BY-SA 3.0
2017-11-01T13:17:50.453Z
2017-11-01T13:17:50.453Z
Airfield20
<p>I have built a 3D printer from salvaged/purchased parts. I am using an Arduino Uno and three easy driver stepper drivers with 3 CD-ROMs drives and a PC power unit. I ordered a 3D pen and have it mounted with a transistor to switch it on/off. Everything works but when I try to run code that I got from makercam.com it seems like it wants to fill in the shape rather than build up. </p>

<p>I followed this tutorial <a href="https://youtu.be/anIy6eb1fW0" rel="nofollow noreferrer">YouTube - How To Make A Cheap 3D Printer</a> and after modifying the G-code I am unable to get any successful prints.</p>

<p><a href="https://i.sstatic.net/LgHI1.jpg" rel="nofollow noreferrer" title="Bad prints"><img src="https://i.sstatic.net/LgHI1.jpg" alt="Bad prints" title="Bad prints"></a></p>

CC BY-SA 4.0
2018-07-30T15:48:25.963Z
The makercam.com domain appears not to exist any longer
Greenonline
<g-code>
How to modify G-code or a better place to get it
Keith Bybee
# How to modify G-code or a better place to get it

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

I have built a 3D printer from salvaged/purchased parts. I am using an Arduino Uno and three easy driver stepper drivers with 3 CD-ROMs drives and a PC power unit. I ordered a 3D pen and have it mounted with a transistor to switch it on/off. Everything works but when I try to run code that I got from makercam.com it seems like it wants to fill in the shape rather than build up.

I followed this tutorial [YouTube - How To Make A Cheap 3D Printer](https://youtu.be/anIy6eb1fW0) and after modifying the G-code I am unable to get any successful prints.

[![Bad prints](https://i.sstatic.net/LgHI1.jpg "Bad prints")](https://i.sstatic.net/LgHI1.jpg "Bad prints")

**Tags:** g-code

> **Comments:**
> **username_1**: The makercam.com domain appears not to exist any longer  

---

## 2 answers

### Answer by username_3 on 2017-11-01. Score: 4 | Accepted answer

Download an stl file from Thingiverse.com

Put your .stl file in a slicer program like cura

It will output gcode for 3d objects rather than 2d.


---

### Answer by username_2 on 2017-11-06. Score: 2

I would typically shy away from downloading gcode and printing it directly. Always slice it yourself since, inevitably, every printer is different. What happens if the gcode is setup for ABS (higher temps) and you are printing with PLA? If it's setup for a build platform larger than yours and you just hit endstops?

Definitely go with Aaron's idea, download a model (Thingiverse is great, but there are SO many sites where you can get files), configure a slicer for your print settings (I prefer slic3r to Cura, but both are great), slice it and print away.

> **Comments:**
> **username_0**: This is pretty much what Aaron said. But after slicing there is no way to just print because my printer is based from grbl which is a milling software and i dont have a proper extruder. So the best way i have found is to open the sliced file in notepad and make adjustments to feedrates and layer heights manually.  
> **username_2**: If you're adjusting feedrates, then you have an extruder.  If you have an extruder, any slicer can use whatever rates you give it.  If you can change it manually, you can have it set properly in slic3r or Cura or Simplify3D - unless we're not understanding one another.  Same with layer heights.  You can set your layer heights based on whatever Z-axis values you have on your steppers.  grbl just reads gcode, same as Marlin or any others.  I'm confused as to what the issue is here.  
> **username_0**: I can adjust on slic3r but i was more wanting to learn how to control my machine with gcode. G1 X5 Y5 E.5 F300 doesnt regster with grbl bc its a milling software. M3 and M5 turn the spindle on and off and thats what I'm using to activate the extruder on my 3d pen So basically i have to delete the E values and manually enter start and stop commands The variable resistor on the side of the 3d pen cant be easily adjusted while its moving. But I've got it all figured out now. I can open a txt editor and write a file that prints successfully and it has been a great learning exp. Buying anet A8 next  
> **username_2**: Hmmm, good stuff!  

---

