Jump to content

Start G-code


seb_odin

Recommended Posts

Posted · Start G-code

Bonjour a tous,

J'ai une petite question concernant les start Gcode, J'ai une partie qui est modifiable facilement dans les parametres, mais j'ai une partie qui est rajoutée automatiquement lors du slicing:

(en gras la partie modifiable dans Cura)

Quote

;FLAVOR:Marlin
;TIME:1318
;Filament used: 0.925972m
;Layer height: 0.15
;MINX:125.408
;MINY:125.411
;MINZ:0.3
;MAXX:176.583
;MAXY:176.587
;MAXZ:10.05
;Generated with Cura_SteamEngine 5.4.0-alpha+testing_54
M82 ;absolute extrusion mode

;SV04 start

M140 S{material_bed_temperature};

M104 S{material_print_temperature};

M280 P0 S160;

G4 P100;

G28;

M420 S1;

M190 S{material_bed_temperature};

M109 S{material_print_temperature};

G92 E0;

G1 X10.1 Y20 Z0.28 F5000.0;

G1 X10.1 Y200.0 Z0.28 F1500.0 E15;

G1 X10.4 Y200.0 Z0.28 F5000.0;

G1 X10.4 Y20 Z0.28 F1500.0 E30;
G92 E0
G91
G1 Z{retraction_hop_height_after_extruder_switch} F12000
G90
G92 E-16
G1 E0 F1000 ;Restore E position
G1 E{purge_distance} F100;defaultpurge
G92 E0
G4 S3
G1 E-16 F1000
G92 E0
G92 E0
G1 F2100 E-1
;LAYER_COUNT:66

 

Le problème c'est que j'ai des rétractations également (partie soulignée) dont je voudrais me debarasser, mais je n'ai pas trouvé comment. Car lorsque l'impression commence, rien ne s'imprime forcement....

 

Merci pour votre aide 😄

 

  • Link to post
    Share on other sites

    Posted · Start G-code

    There are a couple of errors in there.

    This Keyword is invalid: {retraction_hop_height_after_extruder_switch}

    It should be:  {retraction_hop_after_extruder_switch_height}

    And the speed should be F1200 rather than F12000.

     

    Next is G1 E{purge_distance} F100;defaultpurge

    There is no keyword "purge_distance" so that line is invalid as well.

    Between the two of them they are causing Cura to not replace the Keywords with the numeric values.

     

    The line you have underlined looks like the normal "Nozzle Switch Retraction Distance" default of 16mm that you will find in the Dual Extruder settings.

     

    That StartUp gcode is not from any Sovol printer definition that I have.  Have you customized it or do you have any post-processors running or Sovol specific Plugins installed?

  • Link to post
    Share on other sites

    • 2 weeks later...
    Posted · Start G-code

    There was no alpha release of 5.4.  There was a beta release.

    All the Sovol SV04 definitions use the same StartUp Gcode.  It is the bold text in your post + the next two lines "G92 E0" and "G91".

    The lines below are being inserted in different way.  It looks like you may have a post processor or a plugin installed.

    Cura would not insert this by itself.

    G1 Z{retraction_hop_height_after_extruder_switch} F12000
    G90
    G92 E-16
    G1 E0 F1000 ;Restore E position
    G1 E{purge_distance} F100;defaultpurge
    G92 E0
    G4 S3
    G1 E-16 F1000

     

    A post-processor that is loaded is indicated by a red rectangle next to the slice button.  It will have a number in it which tells how many post processors are installed.

    A plugin is generally loaded from the MarketPlace.

  • 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

      • UltiMaker Cura 5.8 Stable released 🎉
        In the Cura 5.8 stable release, everyone can now tune their Z seams to look better than ever. Method series users get access to new material profiles, and the base Method model now has a printer profile, meaning the whole Method series is now supported in Cura!
        • 5 replies
      • 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
    ×
    ×
    • Create New...