Adding G10 Temperature Support to PrusaSlicer

Discussion in 'Getting Started' started by Paul Arden, Jul 20, 2020.

  1. Michael Pearson

    Joined:
    Apr 1, 2020
    Messages:
    15
    Likes Received:
    8
    I have SuperSlicer working great now for single and multi-extruder prints. For activating tools I have a macro that calls T0 P0 - T3 P0. To avoid the arbitrary tool change I added a T-1 P0 at the end of that macro. Now all tools are activated and if they are being used in the print the slicer sets the temps for each using G10

    Start G-Code
    Code:
    ;Park tool if equipped
    T-1   
    
    ; home all axes - G28 runs homeall.g
    G28 
    
    ; lift nozzle
    G1 Z5 F5000
     
    M98 P/macros/PREHEAT ALL    ;activate all tools
    
    ;Call initial extruder - bug that doesnt call T0
    T{initial_extruder}
    
    ; Mesh Bed Leveling - DISABLED RUN AT STARTUP
    ;G29
    
    ;Enable Bed Leveling
    G29 S1
    

    Macro - PREHEAT ALL
    Code:
    ;PREHEAT ALL
    ;Activate all tools and preheat if set
    T0 P0
    T1 P0
    T2 P0
    T3 P0
    T-1 P0          ;deactivate tool without tfree.g being called
    
     

Share This Page