Questions tagged [g-code]
Questions about the human-readable machine language, G-Code.
235
questions
0
votes
0
answers
20
views
Do OctoPrint or Marlin support "ironing" and additional printing states?
Currently, OctoPrint shows a printer state such as "Printing" as shown below:
I was wondering if there is a way or a Cura script or OctoPrint Plugin to insert a special g-code and let ...
0
votes
0
answers
49
views
Is there a way to set the installed nozzle size (and installed filament color) in the Marlin firmware (or OctoPrint software)?
In addition to this question: Is there a (common) way to embed used Slicer settings inside the G-code file?.
I'm considering writing a Cura script and OctoPrint plugin because what I want is not ...
1
vote
1
answer
87
views
Why are my Cura generated thumbnails showing in one flat color without any depth?
I recently started using this Slicer Thumbnails plugin in OctoPrint and added the steps to my Cura 5.5 slicer. However, my thumbnails are in one color, like this:
And are not showing any depth as ...
1
vote
0
answers
34
views
Adding a custom G-code to parse strings from `configuration.h` in Marlin 2.0.x
I'm working with Marlin 2.0.x firmware for a special device, I have added an extra axis to the firmware and it's working well, However, I'd like to implement a custom G-code command that can parse a ...
0
votes
1
answer
79
views
Is there a (common) way to embed used Slicer settings inside the G-code file?
Non-G-code data can be embedded in G-code files, like embedded base64 encoded thumbnails. I was wondering, is there is a common way to include (at least the most important) slicer settings that were ...
0
votes
0
answers
27
views
How to approximately change the density at a specific point in G-code
So let’s say I have the G-code file for 3D printing a cube, and I have a density function F(x,y,z). How would I change, in G-code, the density at each specific point in the cube, so it has the general ...
2
votes
2
answers
71
views
How do I move the head?
I have an Elegoo Neptune 4 Pro (love it), and I'm trying to set up a Raspberry Pi with a camera to take a photo every time a layer is complete (to build a time-lapse).
This means I'll have to edit the ...
0
votes
0
answers
37
views
Communicating with a Marlin board via Javascript and Node SerialPort
I am trying to send G-codes to my Anycubic Kobra 3D printer running on a Marlin board.
I have tried several serial communication software (terminal-based) and managed to send ...
0
votes
0
answers
62
views
G-code dialog sequence over serial interface
I'm writing a Python module that allows new tricks with printing - it already can produce G-code I can put into a file, send to the printer and print out. No problem with generating the correct codes ...
1
vote
0
answers
13
views
No extrusion from G-code for cold extrusion application in soldering robot
My 3D printer is a Monoprice Maker Select v2 and the G-code is being written with VS Code locally and sent with OctoPrint (I have tried directly from the SD as well to no avail).
I have macgyvered the ...
1
vote
0
answers
42
views
Let the nozzle wait on the parking position
The Sovol SV04 has a "parking" position for the nozzles (i.e. X = -60), outside the bed area. The parking position has a small basket below to catch little pieces of the filament, and a ...
1
vote
0
answers
59
views
Monoprice MP Mini Delta adding glass bed
The bed adhesion is going from already mediocre to unusable. So I got my glass plate. With my previous printer I really liked printing PLA on a 60 °C alcohol-cleaned bed.
The problem that I am having, ...
1
vote
1
answer
171
views
CURA prints some primer lines, but they don't seem to respect bed automatic bed leveling
So, the G-code preppended to my slicer output (by Cura itself) looks like this:
...
1
vote
1
answer
134
views
Splicing G-code issue
I'm trying to combine two different G-code files into one. The reason I'm doing this is that I'd like to print my part with different layer heights. I've managed to combine the two G-codes together, ...
3
votes
3
answers
281
views
Math in Cura start G-code expressions?
My printer's hot end heats up way faster than the bed. Still, it takes its sweet time, and Cura's default startup sequence: heat the bed, wait for bed to reach target temperature, heat hot-end, wait ...
3
votes
2
answers
274
views
Drying filament with heated bed on Prusa - how to "bypass" safety timer?
On my Prusa MK3, I'm trying to make a G-code that only heats up the print bed and moves the Z-axis up and down a little bit every 20 mins to prevent the safety timer going off. This is what I have ...
1
vote
1
answer
411
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 ...
0
votes
0
answers
50
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
49
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
60
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
109
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
142
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
49
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
60
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
269
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
vote
2
answers
44
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
85
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 ...
1
vote
0
answers
2k
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?
6
votes
1
answer
223
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 ...
3
votes
2
answers
124
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 ...
1
vote
1
answer
174
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
545
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 ...
2
votes
3
answers
902
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'...
2
votes
2
answers
8k
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 ...
0
votes
1
answer
54
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 ...
0
votes
1
answer
155
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 ...
1
vote
1
answer
1k
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
1k
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
734
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
1k
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 ...
0
votes
1
answer
3k
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 ...
2
votes
3
answers
486
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
268
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 ...
1
vote
1
answer
966
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 ...
2
votes
1
answer
102
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
2k
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?
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 ...
1
vote
0
answers
323
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
307
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 ...
4
votes
1
answer
408
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 ...