Replies: 13 comments 8 replies
-
SSH to the pi and run the command |
Beta Was this translation helpful? Give feedback.
-
I see that you can change the babystep command in the config file but it
appends the z offset after the code. The syntax is wrong. I would need to
change the config and the step value that is added to the end of the
command.
…On Tue, Oct 5, 2021, 8:56 PM jneilliii ***@***.***> wrote:
SSH to the pi and run the command nano ~/.config/octodash/config.json and
find the section for printer and modify the babystepping command.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2321 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJLODVYBPUCPCNFRWEHR62LUFPCFRANCNFSM5FNJ42FQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
I would think you could do that on the klipper side, potentially with a gcode macro script or something to define the M290 command. I thought that was the one of klipper's super-powers. |
Beta Was this translation helpful? Give feedback.
-
Oh I will have to look into that. I just moved over from RRF. Still a bunch
to learn.
…On Wed, Oct 6, 2021, 6:56 AM jneilliii ***@***.***> wrote:
I would think you could do that on the klipper side, potentially with a
gcode macro script or something to define the M290 command. I thought that
was the one of klipper's super-powers.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2321 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJLODV53TFZFMZDA7BFBDC3UFRIQ3ANCNFSM5FNJ42FQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
You are on the right track. I can create a macro that would read the m290
command and execute the command that klipper understands. The hurdle is
that octodash outputs for example "m290 z0.01". When I use that Klipper
doesn't like it. I believe the decimal is not allowed to be in the command.
It doesn't like the space either but that is easy to change in the octodash
config.json.
I did this macro
[gcode_macro BABYZ0.01]
# Babystep Up .1
gcode:
SET_GCODE_OFFSET Z_ADJUST=0.01 MOVE=1
[gcode_macro BABYZ-0.01]
# Babystep Down .1
gcode:
SET_GCODE_OFFSET Z_ADJUST=-0.01 MOVE=1
Klipper freaks out when reading BABYZ0.01. I think if I could get octodash
to output 1 instead of 0.01 everything would work
…On Wed, Oct 6, 2021 at 6:56 AM jneilliii ***@***.***> wrote:
I would think you could do that on the klipper side, potentially with a
gcode macro script or something to define the M290 command. I thought that
was the one of klipper's super-powers.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2321 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJLODV53TFZFMZDA7BFBDC3UFRIQ3ANCNFSM5FNJ42FQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
Did you try parameters? https://klipper.discourse.group/t/macro-creation-tutorial/30/4
then set the config.json value to |
Beta Was this translation helpful? Give feedback.
-
This is super helpful. I will have to give it a try after this print is
done.
…On Wed, Oct 6, 2021 at 8:13 PM jneilliii ***@***.***> wrote:
Did you try parameters?
https://klipper.discourse.group/t/macro-creation-tutorial/30/4
[gcode_macro BABYZ]
SET_GCODE_OFFSET Z_ADJUST=S{ params.babystep } MOVE=1
then set the config.json value to BABYZ babystep=.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2321 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJLODV435BYJAPX4QTYV4FDUFUF3XANCNFSM5FNJ42FQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
with that code in play I get a different error Error on 'SET_GCODE_OFFSET Z_ADJUST= MOVE=1': unable to parse So it macro is understanding what to pickup but fails to inject the "0.01" or whatever octodash is suppose to append to the end of the gcode command |
Beta Was this translation helpful? Give feedback.
-
I will give it a try when I get home.
…On Fri, Dec 3, 2021, 8:50 PM jneilliii ***@***.***> wrote:
so this came up again in the discord and we figured out if you use this
command in config.json it will work.
SET_GCODE_OFFSET_ADJUST MOVE=1 Z=
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2321 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJLODVYTNODTRNPMCXEREEDUPGM2LANCNFSM5FNJ42FQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
no dice. it doesn't respond and terminal spits out unknown command. my
setup must have something wrong with it. i added "set_gcode_offset_adjust
move=1 z= to the json with no macros in klipper.
Unknown command:"SET_GCODE_OFFSET_ADJUST"
this is what terminal spits out when a zstep is requested from octodash
…On Sat, Dec 4, 2021 at 9:04 AM anthony lester ***@***.***> wrote:
I will give it a try when I get home.
On Fri, Dec 3, 2021, 8:50 PM jneilliii ***@***.***> wrote:
> so this came up again in the discord and we figured out if you use this
> command in config.json it will work.
>
> SET_GCODE_OFFSET_ADJUST MOVE=1 Z=
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#2321 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AJLODVYTNODTRNPMCXEREEDUPGM2LANCNFSM5FNJ42FQ>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
>
|
Beta Was this translation helpful? Give feedback.
-
sorry i was out of the country. Is there anything else that needs to be
added to the klipper config or octoprint other than adjusting that line in
the octodash json?
…On Mon, Jan 17, 2022 at 8:58 AM Timon G. ***@***.***> wrote:
SET_GCODE_OFFSET MOVE=1 Z_ADJUST= works for me as zBabystepGCode just in
case this is still a problem
—
Reply to this email directly, view it on GitHub
<#2321 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJLODV44PS4NEDR5ELTYBRLUWRDCTANCNFSM5FNJ42FQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
It's working for me with the following macro: [gcode_macro m290] Be careful to indent the "SET_GCODE..." line properly by two spaces With this a positive Babystep change on Octodash will raise the nozzle vice versa |
Beta Was this translation helpful? Give feedback.
-
It was the spaces!
…On Wed, Feb 16, 2022 at 8:33 PM Greysqrl ***@***.***> wrote:
It's working for me with the following macro:
[gcode_macro m290]
gcode:
SET_GCODE_OFFSET Z_ADJUST={params.Z|default(0.0)} MOVE=1
Be careful to indent the "SET_GCODE..." line properly by two spaces
With this a positive Babystep change on Octodash will raise the nozzle
vice versa
—
Reply to this email directly, view it on GitHub
<#2321 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJLODV5EPDNJA2RD3L6ZS23U3R3CLANCNFSM5FNJ42FQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
is it possible to change the code for babystepping? I am using klipper and it doesn't understand M290 commands. It uses "SET_CODE_OFFSET Z_ADJUST" to offset the nozzle. Example "SET_GCODE_OFFSET Z_ADJUST=0.1 MOVE=1" would offset the nozzle 0.1mm for all gcode after it was submitted.
Beta Was this translation helpful? Give feedback.
All reactions