Questions tagged [g-code]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
25 views

How to make Cura generate G-code with desired feed rate?

I am trying to calibrate maximum print speeds I can achieve on my printer. To do this I have created a large test-cube where I am only going to print the outer wall. I will use this to determine what ...
0
votes
1answer
60 views

Extruder spins for a few seconds after layer changes

Sometimes my Extruder will start spinning pointlessly fast and long. Youtube Video showing the problem This Issue only happens: When printer has finished a Layer and moved up to the next (right ...
4
votes
1answer
170 views

How to resume an unfinished project

I was printing a lid for a box in my Ender 3 pro printer. But I don't know why it stopped printing and moved aside when it does in finished printings. This happened at midnight and I didn't see it ...
0
votes
0answers
40 views

OctoPrint won't stop my print with a pause

Using the PrusaSlicer I discovered that we are able to insert a pause in mid print. I wanted to use such feature to insert a lens in my print so I don't have to glue 2 parts to make my magnifying ...
0
votes
1answer
28 views

Prevent raising Z-axis after homing

I've recently configured my Bigtreetech mini e3 v1.2, and I have every aspect of the printer running well except for the initialized homing sequence (the problem is sometimes small enough to where I ...
0
votes
1answer
20 views

How can I determine the current value of a #defined variable?

I previously set up my Ender 3 with a precompiled binary of Marlin that already had the correct X and Y offsets for the attached BLTouch. Now I'm compiling my own, and rather than measure for myself I'...
0
votes
3answers
51 views

How to make a printer bed vibrate using g-code (heated chemical stirrer)?

I was just about to start using my 3D printers heated bed to warm a chemical reaction in a container and was thinking it would be great to be able to get the bed stepping back and forth to stir the ...
2
votes
1answer
41 views

Temp Tower Setup Troubles — Slic3r (How do you format G-Code {if} statements?)

I watched with great interest this video: Temp Tower - Slic3r Gcode Placeholders - How To - Chris's Basement -- Jan 23, 2019 Chris Riley I found a model I'm happy with: Smart compact temperature ...
0
votes
0answers
32 views

Custom print end G-code not working

I'm the owner of a CR-10S Pro printer. I wanted to add some extra steps to the end of the printing process, like turning of the fans (noisy still, waiting for a new set of fans). I'm using ...
1
vote
1answer
45 views

How can I add an offset to the first layer to increase clearance?

My printer is calibrated for a certain clearance from the heated bed, which is chosen based on PLA. I would like to try to increase it for the first layer for PETG, so that adhesion is reduced. The ...
1
vote
1answer
34 views

Relative move affected by home offset

I set a home offset on my Ender 3 running Marlin firmware so that it starts printing from the corner of a custom build surface which doesn't cover the entire bed: ...
1
vote
1answer
71 views

Gobs of filament during initial movement of extruder

I have successfully printed a few models on my Maker Select V2 (Wanhao Duplicator i3) including 3D Benchy, but I'm seeing a consistent problem with a model that I've sliced with Cura. The extruder ...
4
votes
2answers
446 views

Simultaneous heating of extruder and bed at start of print

I notice that if I print from Cura without preheating the printer, it will first raise the bed temperature and then raise the extruder temperature. The G-code it generates is: ...
1
vote
0answers
40 views

Command to have printer head move constantly

I am currently writing (software) and building (printing) a little control panel for my printer. I have some 2D joysticks that I want to use for X/Y and Z/E movement. The idea is that when I move the ...
1
vote
1answer
31 views

Changing final build plate position [duplicate]

I have a Monoprice Maker Select V2 (Wanhao Duplicator i3) on which I've installed a recent version of Marlin. The home position is at the front-left of the build plate. At the end of the print, the ...
0
votes
0answers
22 views

Trying to remove autolevel from G-code - offset from bed not correct

I’ve been having all kinds of trouble with really every part of the print procedure on my Lulzbot Mini 2 that comes before the actual extrusion starts. I think I can get around 90 % of my issues ...
1
vote
0answers
65 views

Error: 20, non stop, while connected to Pronterface: no G-code uploaded yet

I am trying to make a pen plotter from scratch. I hooked up two scanners to form X and Y axis, and using a CD drive to lift the pen. I connected everything to Arduino Mega 2560 and RAMPS 1.4 shield ...
4
votes
2answers
71 views

Converting an undirected graph to optimal G-code paths

I am developing an image to gcode program, that would recognize edges and generate corresponding G-code to be sent to a plotter. I was able to detect edges using the Sobel operator; then the edges are ...
0
votes
0answers
88 views

TFT35 and G-code preview

Is there a way to have the Bigtreetech TFT35 v3.0 show a G-code preview while printing - similar to the MKS TFT35?
2
votes
1answer
810 views

Cura's solution to replace corners->arcs to increase corner speed?

I realized that with current Marlin I cannot use Junction Deviation with Linear Advance, see ...
3
votes
1answer
2k views

What is the difference between M420 S and M420 S1?

I have been reading through the Marlin website about ABL (Auto Bed Leveling) and I see what appears to be conflicting information. At https://marlinfw.org/docs/features/auto_bed_leveling.html it ...
3
votes
1answer
874 views

Saving BL Touch settings

I have an Ender 3 Pro with a BL Touch. In my G-code should I add an M500 after the G29, to save the results to the EEPROM? I ...
1
vote
2answers
534 views

M502 will reset all configurable settings to their “factory defaults”, which settings are those?

From the M502 documentation page can be read that M502: Reset all configurable settings to their factory defaults. Please ...
2
votes
2answers
1k views

What is M73 Q17 S43 G-code command?

I know that M73 P19 means "Set completion progress to 19%", and I suspect that M73 R42 means "Set remaining time to 42 minutes", ...
4
votes
1answer
236 views

Cura 4.3.0 does not pause on Renkforce RF100 V2.2

Cura (version 4.3.0) has the ability to insert a post processing script to your print. I tried this for printing a key cover around my door key (similar to this question). I designed the STL file with ...
2
votes
1answer
83 views

G-code commands gets multiplied by random number [duplicate]

The G-code sent from Octopi to my printer gets multiplied at the end of every row. The corresponding code out of Simplify3D do not have that multiplication. This results in a always Max speed print. ...
5
votes
2answers
206 views

Writing G-code: Audible Alert at end of print

Often, the pre-generated G-code is enough for start and end. However, sometimes we want to have something different. In this case: how to generate an audible alert of something like 4 bleeps at the ...
5
votes
1answer
315 views

Help with my G-Code to change filament change mid-print

I'm using Ultimaker Cura, and I want to change the filament for a print that I'm attempting at layer 15. The problem I'm having is that I also need to use G-code to load and unload the filament with ...
0
votes
0answers
24 views

Changing printspeed at any point

I'm using Cura in Repetier Host and i'm looking for a Plugin like Tweak at Z but it has to work at any point in the model, so that i can "paint" the modell with colors and when i'm slicing it, the ...
1
vote
2answers
111 views

Raised shell edges on ocarina print. RF1000 sliced with Cura Engine

I am trying to print a 12 hole Ocarina I found on thingiverse. When printing I have to stop it around 25-30 layers because the edge of the shell is higher then the infill. G-Code of first 30 layers ...
0
votes
0answers
1k views

Sending G-code through USB serial doesn't work (Ender 3) [duplicate]

Recently I was gifted an Ender 3 3D printer. I'm trying to use a Raspberry Pi Zero W to send commands to the printer remotely, if I get this to work the idea is to instruct the RPi to pull G-code ...
7
votes
2answers
439 views

How to pause a print to insert something in a cavity using Ultimaker Cura?

I have a model that contains a cavity, into which I want to insert a piece of metal, so I can use a magnet to stick to the print. How can I introduce a pause into the G-code without manipulating it ...
6
votes
2answers
3k views

What is a printer console/terminal?

I read that G-code commands can be sent through a console/terminal over USB. What is a console/terminal and how do you use that?
5
votes
2answers
570 views

How to post-process G-code to make prints faster using splines and arcs?

Recently (in 2017) there was a paper that got some publicity by researchers who are using a B spline algorithm to reduce vibrations in 3D printers. But before them, a B Spline implementation seems to ...
3
votes
1answer
99 views

Standby hotend and bed heating with inactivity timer after print?

Is there any G-code command to turn off hotend/bed heating after a specified timeout? I'd like to edit my end G-code to leave them heated to a standby temperature, rather than immediately letting them ...
2
votes
2answers
380 views

How to write arcs directly in G-code?

How can I write G-code for a triangle without sharp tips? I want to generate the corners manually, rather than using a slicer to generate them, just to know how it is done.
7
votes
2answers
268 views

laser is engraving the negative space

I am using LightBurn to laser engrave on wood. I am just trying to print some letters. In the softwares preview the output looks correct. The black part is where the laser should burn and the red ...
6
votes
1answer
512 views

Add a laser module to Reprap Guru Prusa i3

I have a Reprap Guru Prusa i3 v2 3D printer. Here is a link to the 192 MB manual. And here is the link to the resources page for the Reprap Guru. Page 58 of the manual discusses electronics. I ...
3
votes
1answer
643 views

Simplify3D with error in preview?

I am trying to print a belt but when I preview it, the model doesn't fully render It isn't rendering the full model correctly. The model is rendering halfway but isn't fully which is why you can ...
5
votes
1answer
620 views

G-Code for resetting to 100% speed

I had problems printing parts and I figured out that my children have turned the knob of my Prusa i3 MK3 and set the printing speed to 112%. Since I'm not experimenting much yet, I'm not printing at ...
5
votes
2answers
166 views

What does a stand alone “T” index value do?

I'm using IdeaMaker for slicing my print objects. IdeaMaker start strings have a >T0< standing alone on one line and then >T1< on the next line. What does this accomplish?
1
vote
0answers
33 views

Slic3r - how to combine specific perl code with Slic3r SupportMaterial.pm? [closed]

I've got a specific perl support tree script that I would like to integrate into Slic3r. Does anyone know how to do that?
4
votes
1answer
149 views

Extruder retracts filament while moving from default start line to actual object location

I am new to 3D printing and recently got a second hand RF1000 and am busy calibrating it. For this I want to print a basic calibration cube. I noticed the print doesn't always start with enough ...
3
votes
4answers
595 views

Anet A8 ignores extruder temperature?

I don't understand what's wrong with my G-code. I have set the printing temperature to 195 °C but when I try to print, the target temperature is always 0 °C and printing never starts. I ...
4
votes
5answers
950 views

Can a single line of Gcode have variable extrusion rate?

Fairly long winded, but hopefully makes sense; I understand that G-code is executed line-by-line, and in the main printing phase each instruction is effectively go to location XY (assuming staying ...
2
votes
1answer
99 views

Boolean operation on two objects in Blender

I'm trying to draw a strange cup, with a kind of empty handle (actually, it's not a cup, but it looks like one). I need to print this object with a 3D printer, so I exported the model to 3D printing ...
1
vote
1answer
57 views

How to make sure we reach the total feedrate despite jerk

When printing a G-code at a high speed/feedrate of 12,000 mm/min versus a slower speed we don't always notice a difference since the geometry does not always allow for the full speed to be ...
5
votes
2answers
3k views

Move print bed to front at the end of a print rather than the back

I have a Monoprice Maker Select Plus, currently using Ultimaker Cura 3.6.0 with the default settings for a Wanhao Duplicator i3 Plus. Right now when a print finishes, the bed retreats towards the back ...
6
votes
3answers
499 views

Why did my printer's nozzle dig itself into my print?

I just completed my first print on my Ender-3 and when the print finalized itself the nozzle didn't elevate itself to clear away from the piece. I watched as the nozzle slowly lowered itself into my ...
1
vote
0answers
2k views

Temperature Tower came out too good

I've switched to a PLA of a different color and wanted to figure out what temperature my nozzle should be so I printed a temperature tower. However, the towers came out perfect and the only stringing ...