Jump to content

Gcode Impresion misma capa 2 colores


Matferrari

Recommended Posts

Posted · Gcode Impresion misma capa 2 colores

Estimados

Mi impresora es una Ender 3 NEO con bl touch (sensor de altura de cama) y un solo extrusor.

 

Hace unos meses imprimí en una misma capa con 2 colores modificando el Gcode. Funciono bien.

Ahora volví a intentar y el extrusor al ir a comenzar a imprimir raspa con el pico la cama.

Debo mencionar que desde la primera vez que imprimí ya actualicé varias veces Cura, pero el Gcode no se modifica (creo).

 

Aquí la parte inicial del Gcode para imprimir el primer archivo (primer color)

Esta parte no tiene ningún parámetro modificado.

 

; Ender 3 Custom Start G-code

G92 E0 ; Reset Extruder

G28 ; Home all axes

G1 Z5.0 F3000 ; Move Z Axis up a bit during heating to not damage bed

M104 S{material_standby_temperature} ; Start heating up the nozzle most of the way

M190 S{material_bed_temperature_layer_0} ; Start heating the bed, wait until target temperature reached

M109 S{material_print_temperature_layer_0} ; Finish heating the nozzle

G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed

G1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position

G1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; Draw the first line

G1 X0.4 Y200.0 Z0.3 F5000.0 ; Move to side a little

G1 X0.4 Y20 Z0.3 F1500.0 E30 ; Draw the second line

G92 E0 ; Reset Extruder

G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed

G1 X5 Y20 Z0.3 F5000.0 ; Move over to prevent blob squish

 

 

Finalizar Gcode del primer archivo

 

;G91 ;Relative positioning

;G1 E-2 F2700 ;Retract a bit

;G1 E-2 Z0.2 F2400 ;Retract and raise Z

;G1 X5 Y5 F3000 ;Wipe out

;G1 Z10 ;Raise Z more

;G90 ;Absolute positioning

 

;G1 X0 Y{machine_depth} ;Present print

;M106 S0 ;Turn-off fan

;M104 S0 ;Turn-off hotend

;M140 S0 ;Turn-off bed

 

;M84 X Y E ;Disable all steppers but Z

 

;dos capas

M140 S60 ; mantiene la capa caliente a 60°

M104 S200 ; mantiene el extrusor a 200° para que no se enfrie

G1 X10 Y10 Z10 ; mueve el extrusor a una esquina para cambiar de filamento

G1 E-60 ; retrae el filamento 60mm para cambiarlo

M300 S440 P200 ; pitido de aviso

 

Se utiliza la parte en rojo

 

 

Ahora el Gcode del 2do archivo (2do color)

 

Inicio

 

; Ender 3 Custom Start G-code

G92 E0 ; Reset Extruder

;G28 ; Home all axes

G1 Z5.0 F3000 ; Move Z Axis up a bit during heating to not damage bed

M104 S{material_standby_temperature} ; Start heating up the nozzle most of the way

M190 S{material_bed_temperature_layer_0} ; Start heating the bed, wait until target temperature reached

M109 S{material_print_temperature_layer_0} ; Finish heating the nozzle

G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed

G1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position

G1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; Draw the first line

G1 X0.4 Y200.0 Z0.3 F5000.0 ; Move to side a little

G1 X0.4 Y20 Z0.3 F1500.0 E30 ; Draw the second line

G92 E0 ; Reset Extruder

G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed

G1 X5 Y20 Z0.3 F5000.0 ; Move over to prevent blob squish

 

Se desactiva la linea en celeste, esto impide que el sensor de la cama actue.

 

 

Parte final del Gcode

 

G91 ;Relative positioning

G1 E-2 F2700 ;Retract a bit

G1 E-2 Z0.2 F2400 ;Retract and raise Z

G1 X5 Y5 F3000 ;Wipe out

G1 Z10 ;Raise Z more

G90 ;Absolute positioning

 

G1 X0 Y{machine_depth} ;Present print

M106 S0 ;Turn-off fan

M104 S0 ;Turn-off hotend

M140 S0 ;Turn-off bed

 

M84 X Y E ;Disable all steppers but Z

 

;dos capas

;M140 S60 ; mantiene la capa caliente a 60°

;M104 S200 ; mantiene el extrusor a 200° para que no se enfrie

;G1 X10 Y10 Z10 ; mueve el extrusor a una esquina para cambiar de filamento

;G1 E-60 ; retrae el filamento 60mm para cambiarlo

;M300 S440 P200 ; pitido de aviso

 

Se utiliza solo la parte roja.

Alguien puede indicarme en donde radica mi error?

Muchas gracias.

  • Link to post
    Share on other sites

    Posted (edited) · Gcode Impresion misma capa 2 colores

    To see if I understand...

    • There are two gcode files.
    • The first file finishes with a partial top layer.
    • The second file is printed.
    • It completes the partial layer left by the first file and continues for 2 more layers.
    • The print finishes with the standard ending gcode.

    Is that what you are trying to do?

     

    When the first print ends - some firmware will automatically disable the stepper motors even without an M84.  At that point they lose their location.  When the second print starts with no "G28" the steppers don't know where they are.  That will cause layer shifts and might be the cause of the nozzle hitting the bed.

     

    Have you tried "splicing" the files by copying the second file into the first file?

     

    If you use "Pause at Height" at the layer after that partial layer you could cut the pause gcode out and paste it in where you wanted it.  You would absolutely need to change the XYZE lines so the print would continue from the correct location of all axes.  That is not as difficult as trying to print a second gcode file on top of a print.

     

    This would be the pause portion of the gcode.  The lines that would/might require changes are in bold.

    ;TYPE:CUSTOM
    ;added code by post processing
    ;script: PauseAtHeight.py
    ;current layer: 15
    M83 ; switch to relative E values for any needed retraction
    G1 F300 Z5 ; move up a millimeter to get out of the way
    G1 F9000 X0 Y0  ; park the head
    G1 F300 Z15 ; too close to bed--move to at least 15mm
    M104 S205 ; standby temperature
    M0 ; Do the actual pause
    M104 S205 ; resume temperature
    G1 F300 Z4
    G1 F9000 X64.325 Y107.595
    G1 F300 Z4 ; move back down to resume height
    G1 F2100 ; restore extrusion feedrate
    M82 ; switch back to absolute E values
    G92 E1633.44314
    ;LAYER:15

    Edited by GregValiant
  • 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...