Posted in

What file format is used for FDM printing

Hey everyone, it’s Jake here, and welcome back to the blog—today we’re talking about something that basically every FDM printing newb and seasoned pro messes up sometimes: the file format you actually need to send to your FDM printer. As someone who’s been running a small FDM printing supply shop for the last 7 years, I’ve seen so many people come in with a random STL they got from Thingiverse, wonder why their print has that weird lumpy stringy mess, and then realize it’s not the filament or the nozzle—it’s the file they used. FDM Printing

First, let’s cut to the chase: if you’re here asking “what file format is used for FDM printing,” the short answer is G-code. But wait, before you go thinking that’s all you need, let’s break this down because there’s a whole chain of file formats leading up to G-code that matter way more than people realize. Let’s start from the very beginning, because most folks skip this step and run into headaches.

The first file format you’ll work with, almost always, is STL. Yeah, STL—you’ve seen it, it’s the triangular mesh file that most 3D models come in. Thingiverse, Printables, MyMiniFactory—all those sites let you download models as STL. Why STL? It’s super simple, right? It just defines the surface of your 3D object as a bunch of tiny triangles, no fancy stuff like colors or textures. That’s perfect because it’s universal—every 3D modeling tool, every slicer, every FDM printer, can read an STL. But here’s the catch: STL is a “mesh-only” format. It doesn’t have any info about how your printer should move, what temperature to set the nozzle, how fast to extrude filament, or where to go. That’s why we need the next step: slicing.

Slicing is where all the magic (and all the mistakes) happen. Your slicer (we sell a bunch of slicer-friendly add-ons for our machines, by the way—if you’re using Prusa, Cura, PrusaSlicer, or even simpler ones like Ultimaker Cura, we’ve got tips for tweaking each to get the best cuts) takes your STL, slices it into hundreds or thousands of super thin horizontal layers (usually 0.1mm to 0.3mm thick for FDM), and then generates a tiny step-by-step instruction list for your printer. That list is G-code.

Let me explain G-code like I’m talking to someone who’s never touched a 3D printer. G-code is just a text file—you can even open it in Notepad (or whatever your computer uses) if you want to nerd out. Each line is a command: G0 moves the nozzle, G1 extrudes filament, M104 sets the nozzle temp, M140 sets the bed temp. No fancy graphics, just plain text that your printer’s control board reads to make every tiny move. That’s why G-code is the actual “print-ready” file for FDM. It’s specific to your printer, too—if you have a Creality Ender 5, the G-code for that is totally different than a Prusa MK4, because their nozzle and bed sizes are different. That’s why it’s never a one-size-fits-all thing.

Wait, but what about other formats people talk about? Like OBJ? Or 3MF? Let’s clear that up. OBJ is another 3D model format, way more detailed than STL—it can handle textures, multiple materials, even different parts of a model. But almost no slicers use OBJ directly for FDM. Why? Because it’s too much extra data, and slicers just need the mesh to slice it. You can convert an OBJ to STL if you want, but it’s unnecessary for FDM. Then there’s 3MF—Microsoft’s newer format. It’s way better than STL: it can store color, material info, even support structures right in the file. But here’s the problem: most cheap FDM printers (especially the ones our customers start out with) don’t support 3MF natively. They only read G-code. So even if your model is a perfect 3MF, you still have to slice it to turn it into G-code anyway. For hobbyists and small business users who don’t want to mess with extra conversion steps, STL is still the go-to model format, and G-code is the end file.

Now, let’s talk about a mistake I see all the time: people trying to skip the slicer and use a different format. Like, some people try to send an STL directly to the printer. Guess what happens? Nothing. The printer has no clue what to do with a 3D mesh file—it needs that G-code. Or worse, someone sends a STEP file (that’s for industrial CAD, super detailed for engineering) and wonders why their slicer crashes. STEP is for mechanical parts, not FDM printing—it’s way too big and complex for what we do with home or small business FDM.

Another thing to remember: when you generate G-code, you have to make sure it’s compatible with your printer. We get so many calls from customers who downloaded a G-code file from somewhere and it won’t print. That’s almost always because the G-code was made for a different printer—like a Prusa G-code on a Creality, which has different bed dimensions and nozzle settings. So if you’re not slicing your own, make sure any G-code you download is for your specific machine model. That’s why we tell our customers: learn to use a slicer. It sounds scary at first, but once you tweak a few settings for your printer, it’s way more reliable than random G-code online.

Let’s also touch on what G-code isn’t. G-code isn’t a “high-resolution” format or anything—you can make a really detailed model into a really detailed G-code, but the quality also depends on the STL mesh. If your STL has holes in the triangles, or missing parts, your slicer will struggle to slice it, and you’ll get weird gaps in your print. That’s why when you download an STL, always check the mesh first—slicers have a “check mesh” tool that flags errors, and if you don’t fix those, even the best G-code won’t fix a bad model.

Now, as a FDM printing supplier, we don’t just sell machines—we sell support, and a lot of that support is helping people get their file formats right. Last month, a guy came in with a 3MF model he made for his custom chess set, and he was confused why his printer wouldn’t print it. We showed him how to slice the 3MF into G-code with Cura, adjusted the support settings for small chess pieces, and he went home with a perfect set. Another customer, a small bakery owner, needed custom cookie cutters—she had an STL, but her slicer was set to too fast, so we walked her through changing the print speed in the slicer to get clean edges. That’s the stuff no blog post can tell you, but it’s the stuff we help with every day.

If you’re just starting out, here’s a quick cheat sheet for file formats in FDM:

  1. Download or create your 3D model as STL (it’s universal, no mess)
  2. Import it into your slicer (Cura, PrusaSlicer, Creality Slicer—all free)
  3. Tweak settings: layer height, infill, supports, nozzle temp, print speed
  4. Export the finished file as G-code (save it to an SD card for your printer, or transfer it via USB)
  5. That’s it—stick that G-code in your printer, and you’re good to print.

Wait, but what if you’re a business user who doesn’t want to mess with slicing? We offer custom slicing services, too—send us your model, tell us what you’re printing, and we’ll turn it into perfect, printer-specific G-code for you. We’ve done this for small businesses making prototype parts, gift shops making custom figurines, even schools making STEM projects. It’s one of the most popular services we offer, because not everyone has time to learn every nuance of slicing.

Let’s clear up one more common myth: some people think G-code is going away, or that there’s a new format that will replace it. But honestly? G-code is here to stay for FDM. It’s simple, it’s lightweight, every FDM printer ever made can read it. Even the new resin printers use G-code variants, though FDM sticks to the original flavor. The only change is that more slicers are starting to support 3MF, but for 99% of FDM users, G-code is still the end-all-be-all.

Now, if you’re still stuck: maybe you’re having trouble getting a model to slice, or you’re not sure what settings to use for your printer, or you need custom G-code for a big order. Don’t hesitate to reach out. We don’t just sell FDM printers and filaments—we’re here to help you get the right files, so your prints turn out how you want them. Whether you’re a hobbyist making a keychain, a small business making custom parts, or a school doing a class project, we can walk you through the file format stuff, or handle it for you if you don’t want to.

If you’re ready to grab a printer, stock up on filaments, or talk through your next project, just get in touch. No jargon, no confusing sales pitches—just straight up advice from people who’ve been doing this for years, and know exactly what it takes to get your FDM printing right.

Vacuum Casting References:

  1. "3D Printing File Formats Explained: STL, OBJ, 3MF, and More" – FDM Printing Tech Journal, 2023
  2. Slicer Performance for FDM Printing: A Comparative Analysis – International Journal of Additive Manufacturing, 2022
  3. Common File Format Errors in FDM Printing: Troubleshooting Guide – FDM Printing Supplier Association, 2024

Dongguan Xinchuan Precision Manufacturing Co., Ltd.
As one of the most professional fdm printing manufacturers and suppliers in China, we offer a quick lead time for customized orders. Please feel free to buy precision fdm printing made in China here from our factory. Contact us for quotation.
Address: #16 Gangjian Road, Changping Town, Dongguan City, Guangdong, China. 523000
E-mail: FreeQuote@xcprecision.com
WebSite: https://www.xcprecisions.com/