Jump to content

Can I print just gcode?


kjochai
Go to solution Solved by kjochai,

Recommended Posts

Posted · Can I print just gcode?

Hi,

 

I'm attempting to send a simple gcode file to my printer to heat the bed for several hours. I have a code snippet that I can open in Cura and attempt to send to the printer, but the printer freezes (screen is stuck displaying: "Receiving print from Digital Factory"). The same happens if I save the file as a .3mf first. Is this something I should be able to do? Is there another way to do this that'll work?

 

Thanks for any help you can give me!

  • Link to post
    Share on other sites

    Posted · Can I print just gcode?

    What 3D Printer and firmware are you using?
    I honestly would not expect this to actually work at all via anything but print from USB.. that would be a very expected print file for Digital Factory.

  • Link to post
    Share on other sites

    Posted · Can I print just gcode?

    I'm on a UM2+ Connect running 1.5.2 firmware, Cura 5.3.1. I'm attempting to send the print job over wifi with Digital Factory. Sounds like maybe I should try loading a USB stick with the file to see if that'll work instead?

  • Link to post
    Share on other sites

    Posted (edited) · Can I print just gcode?

    Ok, made a little progress. I was able to export a gcode file from Cura that had the right settings for my printer, then I modified it to get it to 1. remove unneeded code from the source file and 2. add code to heat the bed. I loaded a USB drive with the gcode file and the printer was able to start printing it. But it isn't quite right yet... the bed heats up, but the print head moves from resting position to start position then back every three minutes or so. The air manager fan also rapidly starts and stops, and the LCD shows the "preparing print" message throughout. If I could get those couple things to stop then I think it'll work.

     

    Here's the code I used:

    ;START_OF_HEADER
    ;HEADER_VERSION:0.1
    ;FLAVOR:Griffin
    ;GENERATOR.NAME:Cura_SteamEngine
    ;GENERATOR.VERSION:5.3.1
    ;GENERATOR.BUILD_DATE:2023-04-19
    ;TARGET_MACHINE.NAME:Ultimaker 2+ Connect
    ;EXTRUDER_TRAIN.0.INITIAL_TEMPERATURE:0
    ;EXTRUDER_TRAIN.0.MATERIAL.VOLUME_USED:0
    ;EXTRUDER_TRAIN.0.MATERIAL.GUID:506c9f0d-e3aa-4bd4-b2d2-23e2425b1aa9
    ;EXTRUDER_TRAIN.0.NOZZLE.DIAMETER:0.4
    ;EXTRUDER_TRAIN.0.NOZZLE.NAME:unknown
    ;BUILD_PLATE.INITIAL_TEMPERATURE:50
    ;PRINT.TIME:360000
    ;PRINT.GROUPS:1
    ;PRINT.SIZE.MIN.X:0
    ;PRINT.SIZE.MIN.Y:0
    ;PRINT.SIZE.MIN.Z:0
    ;PRINT.SIZE.MAX.X:0
    ;PRINT.SIZE.MAX.Y:0
    ;PRINT.SIZE.MAX.Z:0
    ;SLICE_UUID:XXXXXXXXXXXXXXXXXXXX
    ;END_OF_HEADER
    ;Generated with Cura_SteamEngine 5.3.1
    T0
    M82 ;absolute extrusion mode
    
    G92 E0
    M109 S0
    G0 F9000 X0.00 Y0.00 Z0.00
    G280
    
    G21 ; set units to millimeters
    G90 ; set absolute positioning
    G1 F1000 ; move the head to the origin
    M140 S50 ; heat the bed to 50 degrees Celsius
    G4 P360000 ; wait for 10 hours
    M140 S0
    
    ;TIME_ELAPSED:7910.484827
    M107
    
    M82 ;absolute extrusion mode
    M104 S0
    ;End of Gcode
    ;SETTING_3 {"global_quality": "[general]\\nversion = 4\\nname = Draft Quality #2
    ;SETTING_3 \\ndefinition = ultimaker2_plus_connect\\n\\n[metadata]\\ntype = qual
    ;SETTING_3 ity_changes\\nquality_type = draft\\nsetting_version = 21\\n\\n[value
    ;SETTING_3 s]\\nadhesion_type = skirt\\nsupport_enable = True\\n\\n", "extruder_
    ;SETTING_3 quality": ["[general]\\nversion = 4\\nname = Draft Quality #2\\ndefin
    ;SETTING_3 ition = ultimaker2_plus_connect\\n\\n[metadata]\\ntype = quality_chan
    ;SETTING_3 ges\\nquality_type = draft\\nsetting_version = 21\\nposition = 0\\n\\
    ;SETTING_3 n[values]\\nmaterial_print_temperature = 215\\nspeed_print = 55\\nwal
    ;SETTING_3 l_line_count = 5\\n\\n"]}

     

    This is the first gcode file I've modified so it could easily be bad code that I added or that I need to remove more of the code from the original file. Any ideas what I should change to get it to work?

     

    TIA

    Edited by kjochai
    added info
  • Link to post
    Share on other sites

    Posted (edited) · Can I print just gcode?

    I cleaned up the code a bit more, only to find that the G4 pause command isn't supported - source is in this thread: 

    I will try something similar to @kupfeli with a slow nozzle move as a workaround, but I'm not sure it'll be a good idea or will work for the amount of time I need the gcode to run.

    Edited by kjochai
  • Link to post
    Share on other sites

    Posted · Can I print just gcode?

    What firmware does your machine run ?

     

  • Link to post
    Share on other sites

    • Solution
    Posted · Can I print just gcode?

    I have since found that no pause or dwell commands are supported by UM2+C firmware. There is also no way to heat the bed from the control LCD. Ultimaker please add this to the next firmware release!

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 26 replies
    ×
    ×
    • Create New...