Questions tagged [g-code]

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

Filter by
Sorted by
Tagged with
2 votes
2 answers
133 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 ...
user avatar
  • 41
0 votes
1 answer
32 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 ...
user avatar
  • 3
0 votes
1 answer
39 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 ...
user avatar
  • 55
0 votes
0 answers
25 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 ...
user avatar
  • 2,282
0 votes
0 answers
168 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 ...
user avatar
3 votes
2 answers
256 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: ...
user avatar
2 votes
1 answer
158 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 ...
user avatar
2 votes
1 answer
165 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 ...
user avatar
  • 669
0 votes
1 answer
400 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 ...
user avatar
  • 1
2 votes
3 answers
194 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: ...
user avatar
3 votes
1 answer
133 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 ...
user avatar
  • 31
1 vote
1 answer
218 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 ...
user avatar
  • 121
2 votes
1 answer
95 views

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

I encountered the following question in a manufacturing course. ...
user avatar
1 vote
2 answers
220 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?
user avatar
  • 111
2 votes
0 answers
37 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 ...
user avatar
  • 21
1 vote
0 answers
114 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 ...
user avatar
2 votes
0 answers
103 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 ...
user avatar
  • 61
4 votes
1 answer
240 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 ...
user avatar
  • 61
3 votes
2 answers
534 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 ...
user avatar
1 vote
1 answer
112 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 ...
user avatar
2 votes
2 answers
196 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 ...
user avatar
2 votes
0 answers
67 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 ...
user avatar
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 ...
user avatar
  • 11
1 vote
1 answer
164 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 ...
user avatar
1 vote
0 answers
76 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 ...
user avatar
  • 11
3 votes
1 answer
396 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 ...
user avatar
  • 43
1 vote
1 answer
2k 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 ...
user avatar
  • 11
1 vote
0 answers
23 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 ...
user avatar
  • 11
1 vote
1 answer
107 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 ...
user avatar
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 ...
user avatar
2 votes
2 answers
584 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 ...
user avatar
2 votes
1 answer
804 views

G-code wait for extrude command to finish

I have following G-code to prime the nozzle before start of the print. ...
user avatar
  • 175
2 votes
2 answers
252 views

Use external sensor

I'd like to buy a 3D printer and use it as a "platform" for an external optical sensor. The idea is to mount an optical sensor on the Z-axis and to put a workpiece on the X-Y table. Now, I'...
user avatar
  • 121
8 votes
1 answer
12k views

Using auto-bed leveling, do I need to initiate G29 before every print?

Various methods to scan the top surface exist to improve the bed adhesion to prevent prints to come loose from the bed during printing: e.g. BLTouch and clones or inductive and capacitive sensors/...
user avatar
  • 30.6k
2 votes
0 answers
220 views

3DTouch: G-code to temporarily change probe points and Z home?

I am using a BLTouch clone (3DTouch), and with G28 and G29 in Simplify3D it auto-detects Z home right in the center of the bed ...
user avatar
  • 21
0 votes
0 answers
66 views

Automatic leveling of the bed does not work

I am trying to run the G29 G-code for my 3D printer to automatically level the bed of the printer. Every time I try run the G-code my printer just beeps and nothing ...
user avatar
3 votes
1 answer
724 views

Cura G-code Printer G-code settings vs. Extruder G-code settings

I am configuring my Cura G-code settings, and I'm not sure if the Printer G-code settings (printer tab of Machine Settings) should be the same as the Extruder G-code settings (extruder tab of Machine ...
user avatar
1 vote
2 answers
98 views

Do printer controllers take inertia into account when interpreting G-code into movement instructions?

I've never built a 3D printer before, but I understand dynamical systems and control theory, and I imagine a lot of the distortion/inaccuracy that happens during the FDM process (especially at high ...
user avatar
  • 111
1 vote
1 answer
431 views

Marlin firmware: move without auto bed leveling

I am working on a filament unload script. My current problem is that the script always does an auto bed leveling. I have two scripts to test this issue: ...
user avatar
  • 133
2 votes
1 answer
1k views

Marlin firmware: unload filament with G-code

I have upgraded my ER-20 with a Bondtech dual gear feeder. It is not or hardly possible to load/unload filament manually with this feeder, so some .gcode is needed to do it. I wanted to implement ...
user avatar
  • 133
2 votes
1 answer
309 views

G-code for 3-axis arc? GRBL

I see that arcs are done on a two-axis plane. However, I am curious if it is possible to move from an <x,y,z> position to <x',y',z'> ...
user avatar
1 vote
1 answer
100 views

How to set the fully dynamic plotting area?

I am trying to combine CNC plotter with image processing. The goal is to detect the object and print on that object. My question is can we set the fully dynamic plotting area. For example: I want to ...
user avatar
  • 11
1 vote
1 answer
1k views

How to change the extrusion value (E parameter) in G-code?

Before I ask you my question I want to summarize my problem. I am trying to build my personal 3D Printer and I can send the controller of my Extruder (Motor) only integer values. Slicer (Cura) ...
user avatar
2 votes
1 answer
307 views

Which slicer (Voxelizer or Cura) for Zmorph printer?

Can I use Cura generated G-codes in Zmorph 3D printer? Zmorph comes with its own slicing software (Voxelizer) but it only takes a 2D drawing as input and layer height is the only parameter that can be ...
user avatar
3 votes
2 answers
637 views

Ender 5 hotend and bed cooling down while auto bed leveling

I have an Ender 5 with an auto bed leveling sensor (TRU-LEV 600). It is working fine, however, as the sensor probes the bed, the nozzle and the bed cool down and are not staying heated as it is ...
user avatar
1 vote
1 answer
3k views

I can't get G29 to run BLTouch on my Ender 3 V2

I installed a BLTouch probe on my Ender 3 V2 and am able to manually generate the probe matrix and store it in the printer memory, but I can't figure out how to get Cura to run the probe for every ...
user avatar
  • 11
1 vote
2 answers
1k views

How do I set my Z offset?

After watching every possible YouTube video on the subject and reading any source available, and although I'm a PhD and quite computer savvy, I still can't make my Anet A6 (no probe) behave in terms ...
user avatar
  • 13
1 vote
2 answers
52 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. ...
user avatar
2 votes
2 answers
2k 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 ...
user avatar
  • 141
-1 votes
1 answer
104 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 ...
user avatar
  • 19.4k

1
2 3 4 5