Hot answers tagged

6

Slicers don't talk to the printer. Slicers analyze an STL file and generate a GCODE file, based on your parameters. A print manager sends the commands from the GCODE file to the printer board, which executes them sequentially. They are not. Commands are sent to the printer from a print manager of some sort. This varies among printers; some printers can be ...


6

G-Code Is RS-274/NGC There is no need to attempt to standardize G-Code, the G-code itself already is standardized: it is the NIST RS274/NGC, or often short AIN RS-274 and was not designed for just FDM printers but any moving tool. Power lathes, CNC and laser cutters all can run on RS-274! G0 and G1 always move, G28 is always the homing procedure and so on. ...


5

To supplement the accepted answer, and answer a question in the answer's comments (which should not be there), consider the E value as another axis - the axis of the filament. If you executed: G92 E0 ; Reset the extruder's origin G1 F200 E3 ; Extrude 3 millimetres of filament at a rate of 200 units per second and then went on to printing, the first ...


4

Provided that the print hasn't come loose from the bed and you know the layer height or layer number, you can edit the original G-code file. The following hints should be taken into account: Don't use G28 or G29 instead use G28 X Y (please ) Manually position the printhead at the correct Z height and instruct the printer to use that height for reference: e....


4

This is just a stub answer. I will try to expand on it later. The 8-bit microcontrollers used on many 3D printers do not have a USB interface, and so a USB to serial interface chip is used to allow a computer to communicate with the serial port (UART) on the microcontroller. In order for the computer to communicate with the printer, a device driver is needed ...


4

No, it is not necessary to call G29 before every print to "auto level the bed" 1) provided that: the bed surface has not changed (e.g. large load or force has been exerted on the build platform, leveling screws are accidentally adjusted, etc.), the carriage of the hotend is stable (some printers, e.g. the cantilever type, or single side Z lead ...


4

Are you sure the move didn't finish? That would be very unusual, not the way 3D printer firmware normally operates. A new G0/G1 move command does not execute until the previous one finishes, whether it's extrude-only, travel-only, or a print move (mix of extrusion and travel). What's probably happening for you is that the amount of material you're trying to ...


3

The M145 G-code command sets the values for the materials for use by the LCD menu solely to preheat the bed and/or hotend and part fan cooling percentage. There is no code to lookup the values and execute to heat up material 1 (S0).


3

Doing some googling, it looks like the BEFORE_LAYER_CHANGE comment in the G-code and stuff that follow come from the before_layer_gcode setting in your PrusaSlicer profile. Somehow, G92 E0.0 got in there. Remove it and the problem should go away.


3

There are three things to fix and one suggestion: Change follwing lines of M109, using parameter R instead of S, because the latter is not waiting to cool down: M109 R160 ; Wait for 160C ... M109 R110 ; Heat hotend to 110C The behavior of M420 will depend on type of bed leveling, saved mesh, etc. It is off topic to troubleshoot this. The printer operates ...


2

I got the same problem today and after a lot of troubleshooting (following the answers here) I found out that the issue was the connection to the hotbed. After I clean out the connection to the hotbed the printer started working as usual. The debugging logic was that the printer heats up the hotbed before setting the extruder temperature. Looking to your LCD ...


2

I can get down to 13 lines using 6 commands: G1 movements, G28 homing, M140 setting the bed temperature without pause, M109 to set the hotend temperature, G4 dwell to pause, and M300 to beep. G1 Z20 F1000 G1 X20 G1 Y20 G28 G1 Z20 M140 S50 M109 R180 G4 S60 M140 S0 M109 R20 M300 S440 P200 G4 P200 M300 S660 P200


2

The .stl files most commonly used for printing do not have any circles in them at all! .stl files describe the surface of the things they represent with lots and lots of triangles: That also means that your slicer doesn't really know which parts of the model are supposed to be round (where G2 and G3 might be applicable). And, another consideration, though ...


2

I haven't used every flavor of gcode or firmware, but I've never seen the parameter order be important, provided that: The G or M code was the initial entry; and Each parameter was clearly listed with one or more spaces between parameters; and No spaces were in between the parameter letter and the value. We use a custom version of Repetier firmware to ...


2

So the new silicone buffers raised the bed by 5 mm? When this happens, you should raise the endstop also with 5 mm. Else the printer will go down to the Z endstop that is effectively 5 mm below the level of the bed. I guess the buffers cannot be compressed by 5 mm, so you need to move the endstop up to the level your buffer compression is in reach of. No ...


2

This should be possible in GRBL 1.1, see examples below. Disclaimer: I have never used neither GRBL nor arcs (G2, G3) in practice. Support for arcs in G-code In general, in IJK variant where the arc is described by three points (starting, end, center) anything seems possible, including the rainbow-like moves. I imagine (I,J,K) coordinates as imaginary arrow'...


2

Stepper motors "want" to keep their position as they are told to by the firmware, therefore they do whatever it's needed (accelerate and brake) to follow the orders they received. The question is: is the firmware telling them to move/accelerate/brake faster/harder than they can? if yes, they won't keep up (because of inertia and much more) so you'...


2

If your printer has only one extruder, leave the Extruder G-Code empty. This setting is useful for multi-extruder printing (e.g. multicolor). The extruder G-Code runs each time you switch to and away from that extruder, and can be used for stuff such as retracting a filament when switching.


2

G4 is the "Dwell" command in Marlin, so you could specify a wait duration using it. Note that the time parameter is designated using S for seconds and/or P for milliseconds: G4 S1 ; Wait for 1 second I think you could use the M43 T code to set a pin high/low and act as a trigger signal. This would be coded for and not something that is done as ...


2

The standard G code of "wait one second" is G04 X1 on many CNC machines. Does this code exists on 3D printers as well? Yes. The exact set of commands supported by a given printer will depend on the firmware, so you should check the documentation for the particular printer you're looking at. But the G04 "Dwell" command is a common one. A ...


2

I don't understand the reasoning behind a first layer having a different offset from the following layers, but, You can manually add a re-definition of the current height after the first layer, suppose your first layer is 0.2 mm, you just need to tell the printer to move to a slightly higher next layer to redefine this as a different Z-offset. From a G-code ...


2

Trying to change the Z level (NOT the offset) during a print isn't a good idea UNLESS you know that all future moves will be "relative". The M206 (if you use Marlin) is the right way to set it! Depending on the slicer, just create TWO "different" printer definitions and add them to the startup G-codes. If you don't save it, a reset will ...


2

This was likely due to reaching the limitations (maybe minimum step rate) of the stepper drivers which were 4988 drivers. I updated them to 8825 drivers which were able to support a speed of F20 correctly. I have not yet tried them at lower speeds.


1

Yes, it is possible to influence values of the E-parameter, even to make them integers. I see three possibilities: force firmware to support units smaller than mm - suggested approach force slicer to produce integer-like values - most of below explanation change meaning of E - custom approach, including RPM interpretation Each of above needs post-...


1

For Marlin firmware, you should check the setting PROBING_HEATERS_OFF in Configuration.h file: //#define PROBING_HEATERS_OFF // Turn heaters off when probing #if ENABLED(PROBING_HEATERS_OFF) //#define WAIT_FOR_BED_HEATER // Wait for bed to heat back up between probes (to improve accuracy) #endif //#define PROBING_FANS_OFF // Turn fans ...


1

This sounds like a firmware issue to me. I copied and pasted G28 ;Home G92 E0 ;Reset Extruder G29 ;BLTouch Into my start code, and it worked fine. I have an Ender 3 V2 and a BLTouch (BL, not 3D.) If you haven't updated your firmware, that's definitely why. This is the start code I am using (in Ultimaker Cura) ; Ender 3 Custom Start G-code G92 E0 ; Reset ...


1

Carving decorative patterns? If your templates needs to be used like one does a stencil, that's doable... but paper-thin is not as you can't make that with an FDM printer. But if you allow 0.2 or even better, 0.5 mm thickness, it is as simple as making a vector graphic, importing it into a suitable CAD package, then extruding it to the relevant thickness, ...


1

G-Code is processed as a queue. The FIFO behavior would disallow to execute any commands in parallel. However I am aware of - yet I didn't have opportunity to try - the emergency commands M112 or M108 offered by Marlin. Marlin documentation says that EMERGENCY_PARSER and HOST_KEEPALIVE_FEATURE need to be enabled to handle these. So apparently there is a ...


1

3D Printers are pretty basic when it comes to g-code. There is no cycle start or cycle pause function on them. There is also no g-code command to interrupt the previous command. To get it to a halt you could turn it off. Or if the printer's firmware is configured to do so, you can touch one of the limit switches to get it to stop its movements.


1

This is most likely a hardware problem, namely the heat bed thermistor cable. To confirm this as the root cause, here's what you can try Reboot the printer Move the y axis around to make sure there is freedom of movement at both ends Jigger the thermistor cable around in multiple directions at multiple points on the cable If you hit BED MINTEMP or ...


Only top voted, non community-wiki answers of a minimum length are eligible