Bonjour,
J'utilise depuis plusieurs années ma SV01 avec BlTouch par l'intermédiaire de Cura.
Je voulais essayer Prusa, j'ai copié mon g-code de Cura pour conserver l'usage du BlTouch mais Prusa m'indique les erreurs suivantes :
17208_0.gcode failed due to invalid custom G-code sections:
end_gcode
Parsing error at line 8: Not a variable name
G1 X0 Y{machine_depth} ;Present print
^
start_gcode
Parsing error at line 9: Not a variable name
M140 S{material_bed_temp_wait} ;Start heating bed
^
Please inspect the file 17208_0.gcode.tmp for error messages enclosed between
!!!!! Failed to process the custom G-code template ...
and
!!!!! End of an error report for the custom G-code template ...
for all macro processing errors.
Si quelqu'un peut m'aider à corriger le g-code pour l'adapter à Prusa, car mes connaissances sont assez limitées.
Le g-code :
Début :
M501 ;Load settings from EEPROM
M201 X500.00 Y500.00 Z100.00 E5000.00 ;Setup machine max acceleration
M203 X500.00 Y500.00 Z10.00 E50.00 ;Setup machine max feedrate
M204 P500.00 R1000.00 T500.00 ;Setup Print/Retract/Travel acceleration
M205 X8.00 Y8.00 Z0.40 E5.00 ;Setup Jerk
M220 S100 ;Reset Feedrate
M221 S100 ;Reset Flowrate
M140 S{material_bed_temp_wait} ;Start heating bed
M104 S{material_print_temperature} ;Start heating extruder
G28 ; Home all axis
M420 S ;Turn leveling back after G28
G29 L0 ;Load mesh
G29 J, Tree point level
M109 S(material_print_temperature) ;Wait for extruder to reach temp
M190 S(material_bed_temp_wait) ; Wait for bed to reach temp
G92 E0 ; Reset extruder length to zero
G1 Z2.0 F3000 ;Move Z Axis up
G1 X0.1 Y20 Z0.28 F5000.0 ;Move to start position
G1 X0.1 Y200.0 Z0.28 F1500.0 E15 ;Draw the first line
G1 X0.4 Y200.0 Z0.28 F5000.0 ;Move to side a little
G1 X0.4 Y20 Z0.28 F1500.0 E30 ;Draw the second line
G92 E0.0 ; reset extruder distance position
M117 Impression en cours ;
Fin :
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