Questions tagged [g-code]

Questions about the human-readable machine language, G-Code.

Filter by
Sorted by
Tagged with
0 votes
1 answer
20 views

Illegal G-code when trying to print

I recently upgraded to Simplify3D version 5. With this version, I can now print over WiFi to my Qidi X-Pro. I run an Eero mesh network and the printer is about 6 feet from the router. I tried ...
  • 101
0 votes
0 answers
14 views

Add dwell time for reaching a certain low temperature to the added layer, G-Code for using ANSYS DED process

I want to add dwell time like the newly added layer has to cool down to a certain temperature and then the new layer has to be added and so on. Is there any command in G-code for adding dwell time ...
0 votes
1 answer
17 views

How center the nozzle before start printing

I have a BLV Core XY, I'm trying to print different models, but the machine moves the center once it goes to start the process. This is my G-code of the beginning: ...
0 votes
0 answers
14 views

GEEETECH A20T, Tuning each (x3) extruder stepper motors

I'm having problems with my A20T since I bought it over a year ago.*note I don't seem to be able to get the stepper motors to grip at all. I've moved the pressure adjustment screw only NOT to find it ...
0 votes
0 answers
56 views

Cura "Print Thin Walls" patchy result

I have a model of a building that has a fence around the roof. The fencing must have Print Thin Walls enabled to print at all, but the result is patchy: You can see the blue outline of the fencing ...
0 votes
0 answers
39 views

No filament extrusion using G-code from Ultimaker Cura

I am trying to print some objects using an Ultimaker 2+ Connect that is available at my work. It has a slicer with a web interface and that works fine, but it has some limitations that I am trying to ...
1 vote
0 answers
22 views

Flsun Q5 returns 'ok 0' as response to every command

I have a Flsun Q5 which I am trying to get to communicate with my python script. The script is this: ...
2 votes
0 answers
53 views

CNC Kitchens flow calibration script - too little extrusion

I created some G-code for my printer according to Extrusion System Benchmark Tool for Fast Prints. Everything seems normal and the G-code preview also looks normal. However, the blobs that are ...
0 votes
1 answer
53 views

Ender 3 Pro reads SD G-code file names but won't print them

I have updated my Ender 3 Pro to 4.2.7. The printer boots up, I can move X, Y, and Z-axis from the Prepare > Axis screens. The printer also correctly reads the G-code file names from an inserted SD ...
  • 1
1 vote
2 answers
21 views

Fail to upload G-code with UGS Plotter Software

Referring to a circle shape G-code online generator for my 2D printer at here, in which I created a 100 mm circle. I downloaded the G-code from the website and try to open it with UGS plotter but it ...
1 vote
0 answers
49 views

Ultimaker CURA moves XYZ at once during travel, how to avoid this?

I found out that my ancient printer from 2015 (Sharebot NG) stutters when Z is moved with X and Y simultaneously. The printer is one of those where the print head is fixed at the top of the build ...
  • 111
0 votes
0 answers
563 views

How can I send G-code to a Bambu Labs X1/X1C?

What are the ways that G-code can be sent to a Bambu Labs X1/X1C?
  • 203
6 votes
1 answer
153 views

Editing a G-code file for different material

I had a model I had originally printed in PLA, and then lost the STL... but I still have the G-code. Now I want to print it in PET-G. Do I need to do anything other than update the numbers on the M104 ...
0 votes
0 answers
20 views

Preheat bed and extruder for X mins to heat enclosure

A few times now I have gone to print something and I'm using ABS. I'd like to manually preheat the bed and extruder of my CR-10 Smart Pro in order to get my enclosure temperature up especially now ...
  • 1
3 votes
2 answers
75 views

How can a speaker or active buzzer be connected to the Arduino 2560/RAMPS 1.4 boards to provide alerts in response to M300 commands in the g-code

My Prusa i3 does not appear to have any sound device incorporated. I've read "Writing G-Code: Audible Alert at end of print" and it seems everything needed to implement audible alerts is ...
  • 310
1 vote
1 answer
96 views

Can I cancel a G26 that’s already underway?

I’m spending hours trying to get a bed mesh that gives me a reliable first layer. I’ve got CHEP’s concentric square pattern printing reliably, but real objects still fail, and the G26 test pattern in ...
2 votes
4 answers
347 views

Can I print multiple parts in a single G-code file?

I have 12 parts for a model I want to print but I would like to know if I can put all of them in a single G-code file and print that on its own. Would this affect the model in any way? I’m using PLA ...
  • 235
2 votes
3 answers
397 views

Does anyone know a site where you can download straight up G-code files?

Is there any known site where you can input your 3D printer's information and it will show you all G-code files uploaded to that site and would have a download button? If not, it's not a huge deal. It'...
0 votes
0 answers
23 views

Different direction for two extruders

I am building a 3D printer using 2 extruders which will mix and print fluid-like inks. Is it possible to let both extruders turn in opposite directions at the same time, that is in 1 line of G-Code? ...
2 votes
2 answers
5k views

Cura variables and initial G-code commands

Ender 3 Pro, PLA, temps 200 °C and 60 °C. I want to not heat the nozzle until after Auto Bed Leveling (CR Touch) is complete. I can do that in the start G-code, but by then, Cura has already heated ...
  • 51
0 votes
1 answer
43 views

Setting Heat Bed Height Manually Mid-Print?

So, I've gotten the G-code to work regarding the waiting 10 seconds as I wanted it to. However, does anyone know if there is any G-code that exists that will allow me to manually set the height of the ...
  • 3
0 votes
1 answer
100 views

G-code to get the 3D printer to shake resin bubbles off from a casting

While this is not directly 3D printing related, I intend to use my 3D printer (Labist's ET40) to shake air bubbles off of a resin casting. I printed parts, made a mould of them in silicon, then cast a ...
  • 55
0 votes
0 answers
29 views

Is there a way to generate recipes from gcode?

I'm confident that I've read that Slic3r can recreate recipes (sets of slicing parameters - like "print, printer, and filament/extruder") from the header and footer comments in a verbose ...
  • 2,392
0 votes
1 answer
728 views

How do you fix an "invalid mesh" on a CR-10 Smart 3D printer?

My Creality CR-10 Smart 3D printer has built-in auto bed levelling (ABL). It appears that it is cannot do anything if ABL is not set up properly. Setting up ABL entails creating a valid mesh. I am ...
3 votes
2 answers
955 views

Klipper: power on before homing

I'd like to force Klipper to perform power on (using M80) before homing. For this purpose I'm trying to override G28: ...
2 votes
1 answer
579 views

Only Z offset for BLTouch?

I'm having a hard time getting my Ender 5 Plus (I'm using stock firmware 1.70.2 BL) trammed and in the pursue of that I decided to check my probe offset values. As it seems there is only a Z offset ...
2 votes
1 answer
690 views

What Setting In Cura Determines The Value Of "G1 E-{switch_extruder_retraction_amount}" At The Beginning Of A Print?

I am trying to print the Chep calibration cube sliced in Cura on my new Sovol SV04 Dual Extrusion printer. When I print the model the extruder prints the wipe line on the left of the bed, moves to the ...
  • 669
0 votes
1 answer
2k views

G29 UBL G-code - every request levels bed? [duplicate]

Every time I issue a G29 command the printer runs through all its multi-point/probing bed leveling routine. Is this normal? or can I issue one ...
  • 1
2 votes
3 answers
366 views

Issue milling a circular contour with CNC – 3018 Pro

I have a 3018 Pro CNC and being trying cutting a contour of a simple circular part: G-code: ...
3 votes
1 answer
220 views

Marlin firmware issues

So I'm working on building a Prusa i3 MK3 clone and all's gone well so far but when I make edits to the firmware and reupload it, the printer doesn't seem to be getting it. Like I changed the software ...
  • 31
1 vote
1 answer
605 views

Wait for click to continue

To help me with bed leveling my Ender 3 v2 (using stock Creality firmware, V1.0.2), I'm trying to write a G-code that will position the nozzle above each spring in sequence twice, after heating the ...
  • 121
2 votes
1 answer
97 views

Interpreting G-code to answer question about geometry of shape produced

I encountered the following question in a manufacturing course. ...
1 vote
2 answers
824 views

Drawing simple circle in G-code [duplicate]

I thought I am not bad at Google, but simply I am unable to find a G-code for doing circular motion for nozzle cleaning. It is possible to write a simple circular motion in G-code?
  • 111
2 votes
0 answers
38 views

Custom slicing solution needed

So I have a printer that I'm prototyping right now, and it's a little different; the Y-axis is a rotary drum. To compare to a bed-slinger, instead of the surface traveling forward and backward, it ...
  • 21
1 vote
0 answers
242 views

M503 command is reporting "Maximum feedrates" with duplicate and empty values: M203 X200.00 Y200.00 Z5.00 E Y1000.00 Z100.00 E5000.00

I'm pretty stumped on this one. Investigating an issue I was having with an OctoPrint plugin, I've come to realize my M503 command is reporting duplicate and empty ...
2 votes
0 answers
213 views

My printer does not execute any command over USB

I have a Tevo Tornado, it seemingly connects fine, it is recognised by the software and it turns on. Any command I send over USB is not executed, as if it's not registering them. I tried on Cura and ...
  • 61
4 votes
1 answer
305 views

My 3D printer checks axes home during print, often wrecking the print

My Tevo Tornado has picked up this habit along the way of checking axes during a print. (I say picked up because it didn't exhibit any problems when I got it. As far as I can tell the problem ...
  • 61
3 votes
2 answers
876 views

Building a program to convert LiDAR data directly to an STL or directly to G-code

Some people have figured out how to take raw LiDAR data and after going through multiple steps (using LAS tools, converting to digital elevation model (DEM), converting to an STL) getting an STL file ...
1 vote
1 answer
322 views

G-code to make printer move around without actually printing

I have a Prusa i3 MK3S with the MMU on it. At my work, I'm creating a display case to advertise/show off the 3D printing we can do. I was thinking about putting the Prusa in the display case and ...
3 votes
3 answers
588 views

Reverse the X-axis of a G-code file

I've got some sliced models that represent the right-side arms and legs of a robot. I'm really happy with how they printed, so now I'd like to print the left-side arms and legs. I was thinking it ...
2 votes
0 answers
80 views

Bioprinter does not extrude Anet A8 Marlin

I have a modified Anet A8 that is supposed to print hydrogels (paper : Ultra-Low-Cost 3D Bioprinting, Kahl M et al. 2019). For this to work, we do not need any temperature-related settings, however, I ...
1 vote
0 answers
25 views

Odd behaviour of steady feedrate increase

For some weeks I noticed really odd behaviour on my OctoPi controlled Anet A8. I'm using an MKS Gen L board with TMC2208 on this and constellation worked for a year now. When starting a print, I ...
  • 11
1 vote
1 answer
388 views

Gantry crashing into bed after print

I've upgraded my Ender 3 Pro to the point where I'm causing myself problems, one of them specifically is this: My z axis drops down to the bed because of all the stuff hanging off it (added a bltouch ...
1 vote
0 answers
133 views

Receive M114 command while printing using Printrun

I'm working on a project for which I use the Printrun package to serial communicate my G-code to my 3D printer (Creality Ender 3, Marlin firmware). The idea is that I have an external button connected ...
  • 11
3 votes
1 answer
714 views

Edit G-code to change print order of multiple one-at-a-time print jobs

SUMMARY: I use a Creality Ender 3 and Cura 4.8 slicer. I need to print multiple objects 'one-at-a-time' (Cura allows this, that is fine) and I must specify the order in which each model is printed but ...
  • 43
1 vote
1 answer
3k views

How do I change Z safe homing coordinates in the G-code , not in Marlin

I bought a Vivedino T-Rex 3 not realizing it doesn't have continue after power failure. I am over it. What I usually do is keep the part away from the home position so if it crashes I can continue ...
  • 11
1 vote
0 answers
26 views

G-code pin state turns off

I am currently working on a short G-code to turn a LED light while moving through a specified path and then turning it off while moving to the next path. So I used ...
  • 11
1 vote
1 answer
164 views

GRBL with low feed rate not working

I have a cheap 3000 mW laser cutter that I'm trying to cut 3 mm black acrylic. I'm lowering the feed rate to try to get it to cut in one pass. I have the G-code for a small circle (16 mm) but it seems ...
0 votes
0 answers
26 views

Sending multiple commands to printer without overloading its command buffer [duplicate]

I am writing a python code for a 3D printer (Marlin). I'm trying to execute a movement that might be composed of multiple commands (G0). Unfortunately, sending all ...
2 votes
2 answers
1k views

First layer Z-offset in G-code

In slicer G-code is it possible to set the probe Z offset for the first layer only? For my stock E3 plate I find -4.125 mm best however for glass I need to go to -4.175 mm for the first layer to get ...

1
2 3 4 5