Questions tagged [g-code]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
18 views

Can carving templates be produced from G-code?

I am looking for a way to generate 2D horizontal templates for manually carving an object. My thought was to produce an STL of the model, generate the G-code, and then transform that into slices. ...
1
vote
2answers
37 views

How to interrupt long command with G-code?

I was able to connect my terminal program (Putty) to my 3D Printer (Creality Ender 3 Pro) and was able to send G-code commands to my printer and it obeys. Now suppose I sent long command like ...
-1
votes
1answer
38 views

Writing G-Code: length-optimized Test code

I want to write a couple of very simple G-code test cases in Marlin-Style to make sure my printer works properly. The idea is to test the movement system, then the end-stops, then the heating and ...
0
votes
1answer
19 views

slicers and printers compatibility

I am a complete beginner so I apologise ahead for probably an obvious question. From what I understand up to now, slicer software basically takes a 3d model and turns it into instructions that say ...
1
vote
0answers
29 views

New Ender 3D printer will not print other G-code files [closed]

I can print the G-codes that came on the SD card, but when I download a G-code file on to the SD card and go to print, it prints out scribble? The filament does not follow a pattern. What am I doing ...
1
vote
0answers
54 views

Ender 3 Pro - “Pause at Height” automatically resumes after a few seconds

I recently bought an Ender 3 Pro, and while I'm super happy with it, there's one issue I'm having with it. When I set "Pause at height" to a specific layer in Cura, the print will pause at ...
1
vote
1answer
60 views

Ender 3 Pro not interpreting G-code correctly?

I have an Ender 3 Pro and I have been able to get it to work quite well, I installed a 0.8 mm nozzle to try the Vase mode in Cura. I re-leveled the bed and when I tried to print, I got some very ...
0
votes
1answer
34 views

Why use G29 during a print?

Why do printers, like the Ender 5 Plus, execute the G29 routine prior to every print? I understand the purpose of this step when MANUALLY leveling the bed since you are presented with the 16 ...
1
vote
2answers
46 views

How to log each G-code line read from the SD card to serial on marlin firmware

I would like to log each line of G-code to the serial port as it is processed. Steps to achieve: the printer reads a file from the SD card each line it reads will be serial logged (this I can't ...
1
vote
1answer
69 views

Cleaning the nozzle every Xth layer G-code

I want to make a G-code script for Cura to clean the nozzle every Xth layer or every one minute? With Cura there is only start and end G-code, so there is no "layer change" G-code like ...
0
votes
0answers
28 views

Ender 3 PRO how to eject filament before start of print [duplicate]

Before I bought an Ender 3 PRO, I was using a Wanhao i3 plus, Wanhao was ejecting filament before the start of the print, I mean it is going to the left corner edge and was pushing like 5-10 mm ...
0
votes
0answers
40 views

How to get strain gauge status

I've searched anywhere but couldn't find any single post on how to get strain gauge status from my Creality CR-6 SE. What I'd like to do is, if after first layer the strain gauge doesn't get any input ...
1
vote
1answer
54 views

How do you send G-code from a USB port with Python?

I'm working on a project for my masters where I'm trying to detect print errors using object detection and I want to be able to pause the printer when a potential fault is detected. However I can't ...
1
vote
1answer
48 views

Details of Marlin's feedrate calculation

I want to programatically generate G-code for a (Marlin-based) Ultimaker 2+ printer, and I have been looking at the Marlin documentation and working G-code examples generated by Cura. This has left me ...
3
votes
0answers
38 views

Using BLTouch on Y Axis instead of Z

Long story short, Y and Z axis on my printer are swapped because it is a belt printer. Currently, the BLTouch sensor only works on Z axis, so I need to figure out how to do it for the Y axis otherwise ...
2
votes
1answer
137 views

G2 / G3 command in Cura

I'm using Cura for my 3D printing (an ultimaker S5 printer) and in order to understand 3D printing I'm trying to learn G-code. I've noticed that even when the model is full of circles, the G-code is ...
1
vote
0answers
22 views

Maximum number of lines of G-code per second (Ender 3/Octoprint)

I'm writing a slicer to generate print paths based on two input fields: one describing the shape I need to be printed and the other describing the direction which I would like the nozzle to follow. ...
1
vote
0answers
26 views

Extruder motor not running when using G-code from PrusaSlicer with non Prusa printer

I just assembled an FLSUN QQ-S pro printer and successfully printed two models from the supplied SD card. Everything works fine. However, I tried slicing my own model using PrusaSlicer and although ...
0
votes
1answer
60 views

Order in a line command in G-code

I've started learning G-code for 3D printing and I'm quite confused. I'm using an Ultimaker S5 printer and the firmware is : 5.5.12 - 20200226-UltiBot Is there a difference between ...
1
vote
2answers
88 views

MINTEMP BED Fixed error when running consecutive print

I am using "Pretty PETG" along with PrusaSlicer's consecutive print mode. What I am noticing is that upon finishing the first print, the printer hits ...
0
votes
0answers
93 views

Is there a convenient GUI tool for configuring Marlin settings?

I am looking for a tool to configure various runtime settings of Marlin firmware (e.g. bed leveling) that would be accessible from a computer rather than from the LCD menu on the printer. In a ...
1
vote
1answer
98 views

How does G-code for belt bed printers work?

Are there any good resources on understanding how G-code/slicing for belt bed printers works? I'm told the upcoming Creality 3DPrintMill is being used with Blackbelt Cura, which seems to be a fork of ...
4
votes
1answer
41 views

G-code for activating material preset in Marlin

Is there a G-code command for calling up the material preset? I know PLA is set with M145 S0 H190 B40 F255: how do I activate S0,...
0
votes
0answers
352 views

Artillery Genius called: Error:Printer halted. kill() called and won't restart

I just tried a new slicer, because my old one won't slice an object. Everything worked fine, but when the print started, the printer tried to go outside of its range, and then the error occurred. <...
0
votes
0answers
85 views

Can't manage to force my print to standby while I insert a nut - Prusa Slicer and Tronxy XY2 pro

I use the Prusa Slicer on a Tronxy XY-2 pro which I believe uses RepRap firmware. I believe it uses RepRap firmware because I had to input it into the Prusa Slicer initialization questions, but I'm ...
1
vote
1answer
171 views

How does 3D printing over USB work?

In Cura, if you plug your favourite 3D Printer you will most likely get an option to Print via USB. If you have never heard of what I'm talking about, please see this video: ...
1
vote
1answer
73 views

How does wireless 3D printing work?

I was wondering how WiFi based 3D Printing works since I want to start an open source project and need some information on this. I have done some research, I have now an understanding on how the ...
0
votes
1answer
45 views

How to start a print in the center position after a change in parameters using M92 and M500 G-code

I have a Core XY Custom DIY Printer, but actually I have a problem with the measure in Axis X and Y. When a print a test cube with the measure 20 mm x 20 mm 20 mm, the object printed result with these ...
3
votes
1answer
73 views

Are there attempts to standardize G-code for FFF/FDM printers?

Rep-Rap project wiki contains information about different G-Code dialects for FFF/FDM 3D printers. I googled but couldn't find if there were any attempts in DIY community to standardize existing ...
0
votes
0answers
200 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
67 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
233 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
263 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
153 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
56 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
107 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
238 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
73 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 ...
2
votes
2answers
179 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
48 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
96 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 ...
5
votes
2answers
2k 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
43 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
94 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
25 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
233 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
86 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
298 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
2k 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 ...
5
votes
1answer
7k 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 ...