S3D-Jake
Posts: 620
Joined: Wed Jun 20, 2018 12:45 pm

Re: Variable acceleration and Jerk

Wed Jan 30, 2019 3:27 pm

fael097 wrote:
Tue Jan 29, 2019 1:29 pm
this works apparently.

however is there a code to set specific acceleration and jerk for travel movements?
There isn't a comment in front of travel moves. You could try using a replace command on your retractions to have them be followed up with a new acceleration value.
"A bird does not sing because it has an answer. It sings because it has a song."

shguevara
Posts: 1
Joined: Thu Apr 04, 2019 2:20 pm

Re: Variable acceleration and Jerk

Thu Apr 04, 2019 2:23 pm

Hi, just found this useful thread. I have added the code in the post processing section, my question is: shouldn't I be able to see the g-codes for M204 being executed on my terminal? because I don't see them which makes me think that S3D is not processing the script. By the way I have added the acceleration/jerk script before the send to octoprint script.

Thanks in advance for any help

I have the following:

{REPLACE "; feature outer perimeter\n" "; outer perimeter\nM204 S600\n"}
{REPLACE "; feature inner perimeter\n" "; inner perimeter\nM204 S1200\n"}
{REPLACE "; feature solid layer\n" "; solid layer\nM204 S1000\n"}
{REPLACE "; feature infill\n" "; infill\nM204 S2000\n"}

curl -k -H "X-Api-Key:543AD2E1B2AA48E4868FA6546988E245" -F "select=true" -F "print=true" -F "file=@[output_filepath]" "http://192.168.0.54/api/files/local"
Last edited by S3D-Jake on Thu Apr 04, 2019 2:59 pm, edited 1 time in total.
Reason: included dual post in bottom of prior post.

S3D-Jake
Posts: 620
Joined: Wed Jun 20, 2018 12:45 pm

Re: Variable acceleration and Jerk

Thu Apr 04, 2019 3:01 pm

Check your G-code both locally and on your octoprint's storage. If the replace has been executed successfully the M204 commands should be there.
"A bird does not sing because it has an answer. It sings because it has a song."

Return to “Feature Requests”