yOOrek
Posts: 1
Joined: Wed Apr 27, 2016 2:55 pm

Firmware retraction

Please do implement a firmware retraction in S3D. I'm using RepRapFirmware (dc42 fork) on my Delta that allows me to configure firmware retraction alongside Z-hop feature. At the moment I am post-processing generated g-code and replacing 'G1 E' commands with G10/G11. I have to move around some generated lines in g-code from -

Code: Select all

G10 ; Retract
G1 Z0.200 F15000
; layer 1, Z = 0.2
M300 S5000 P300 ; sound notification
; Tool change (from 0 to 0)
T0
; tool H0.200 W0.400
; skirt
G1 X24.550 Y21.726 F15000
G11 ; Unretract
to

Code: Select all

G10 ; Retract
; layer 1, Z = 0.2
M300 S5000 P300 ; sound notification
; Tool change (from 0 to 0)
T0
; tool H0.200 W0.400
; skirt
G1 X24.550 Y21.726 F15000
G11 ; Unretract
G1 Z0.200 F15000
What happens when z-hop is enabled in firmware is that the head ends up lower than expected.
G10 retract will move the head up by 0.5mm
then the generated code moves the head to absolute 0.2mm
then unretract lowers the head by -0.5mm resulting in -0.3mm z position.
CompoundCarl
Posts: 2005
Joined: Wed Aug 05, 2015 7:23 am

Re: Firmware retraction

What happens if you put the commands you want in the retraction script? I would think there's a way to do what you want using that script
demonio669
Posts: 1
Joined: Fri Aug 26, 2016 5:19 am

Re: Firmware retraction

CompoundCarl wrote:What happens if you put the commands you want in the retraction script? I would think there's a way to do what you want using that script
You have a retraction script but not a unretraction script. and if you change the filament and the retraction parameters changes you can fine-tune the retraction without re-slicing the model
CompoundCarl
Posts: 2005
Joined: Wed Aug 05, 2015 7:23 am

Re: Firmware retraction

You would just do the retract, move, and then prime all within the retraction script. As long as you can get S3D not to include it's own retraction commands, then it would work

Return to “Feature Requests”