Can I change the "E" in path word head in G-code?
 
Avisos
Vaciar todo

Can I change the "E" in path word head in G-code?  

  RSS
TAS
 TAS
(@tas)
Miembro
Can I change the "E" in path word head in G-code?

My printer's dual extruder change works use the A/B or "M6050 S~ P~ Z~".

I have given up trying to understand the M6050.

I want to change the E to A or B according to the T.

Is there any way to do this?

for example

T0

G1 X0 Y0 E1

G1 X0 Y0 E2

T1

G1 X0 Y0 E1

G1 X0 Y0 E2

 > to ---------------------------

 

T0

G1 X0 Y0 A1

G1 X0 Y0 A2

T1

G1 X0 Y0 B1

G1 X0 Y0 B2

Respondido : 12/01/2024 3:50 am
Neophyl
(@neophyl)
Illustrious Member
RE: Can I change the "E" in path word head in G-code?

Yes there is if you understand either regex or scripting.

Prusa Slicer has 2 ways to modify generated gcode.  Under Print Settings>output Options there is a post processing filed.  With that you can call a python script that you can then post process the gcode file with.

The other way is they added a built in G-Code substitution feature (located in the same place) that allows you to use Regular Expressions to search and replace stuff.  

Respondido : 12/01/2024 7:52 am
_KaszpiR_
(@_kaszpir_)
Prominent Member
RE: Can I change the "E" in path word head in G-code?

@TAS can you please provide example gcode files based on single simple 5 layer box with small dimensions where first one is the original guide produced by PrusaSlicer and copy of that guide file with modified entries manually in such way that you woul like it to be?

See my GitHub and printables.com for some 3d stuff that you may like.

Respondido : 13/01/2024 8:37 am
Compartir: