Page 3 of 4

Re: Variable acceleration and Jerk

Posted: Thu Dec 20, 2018 3:11 pm
by LoocPac
Thank you for giving a way to control Jerk and Acceleration, unfortunately i do not understand coding, never have and wont learn any time soon.

"I made one with Jerk-settings, too:

{REPLACE "; inner perimeter" "; inner perimeter\nM204 S1500\nM205 X20 Y20"}
{REPLACE "; outer perimeter" "; outer perimeter\nM204 S500\nM205 X7 Y7"}
{REPLACE "; solid layer" "; solid layer\nM204 S700\nM205 X10 Y10"}
{REPLACE "; infill" "; infill\nM204 S1500\nM205 X15 Y15"}
{REPLACE "; support" "; support\nM204 S1500\nM205 X20 Y20"}

M204 = Acceleration
M205 = Jerk

You have to set the values for your needing."

I am sure that i am not alone when it comes to the issue and not understanding all the code that people keep throwing at us in the forums. I love the support from the forums, but a nice little addition somewhere that allows a decrease or increase of the acceleration and deceleration by a percentage would be amazing.

Re: Variable acceleration and Jerk

Posted: Tue Dec 25, 2018 4:05 pm
by Kernfusion
I have an idea to reduce the shadowing (ringing), to use a slightly different acceleration (Jerk) for layers with an even number, than for layers with an odd number. this is how the waves don't come to coincide with each other.

Re: Variable acceleration and Jerk

Posted: Mon Jan 07, 2019 12:19 am
by xXsaberstrikeXx
A GUI implementation of this also gets my vote! Would be awesome.

Re: Variable acceleration and Jerk

Posted: Mon Jan 21, 2019 5:57 pm
by shocker828
This script functionality(which I just found out about now) should really be part of the GUI. I'm aware that s3d is trying to keep the software "simple" but I don't think simple should mean lacking. Find another way to include this in the GUI and keep thing simple. Like have a little check box to activate a super advanced section of the process settings.

Re: Variable acceleration and Jerk

Posted: Wed Jan 23, 2019 7:27 am
by fael097
this definitely should be in the gui. I'm using free software right now because s3d doesn't have this option (or I didn't know about the script)

btw, where do I put this script?

Code: Select all

{REPLACE "; inner perimeter" "; inner perimeter\nM204 S1500\nM205 X20 Y20"}
{REPLACE "; outer perimeter" "; outer perimeter\nM204 S500\nM205 X7 Y7"}
{REPLACE "; solid layer" "; solid layer\nM204 S700\nM205 X10 Y10"}
{REPLACE "; infill" "; infill\nM204 S1500\nM205 X15 Y15"}
{REPLACE "; support" "; support\nM204 S1500\nM205 X20 Y20"}
should I paste it in the starting script field? I already have a custom gcode script for wiping/priming my extruder at the beggining, not sure where this would go.

Re: Variable acceleration and Jerk

Posted: Wed Jan 23, 2019 12:15 pm
by blackbird2016
This code goes into the post processing script at the bottom of the window.
If you are already with 4.1.1 or 4.1.0 you need to to alter it slightly to
{REPLACE "; feature infill\n" "; infill\..........}
same goes for inner and outer perimeter as for the solid infill as well.

Re: Variable acceleration and Jerk

Posted: Thu Jan 24, 2019 5:39 am
by fael097
blackbird2016 wrote: Wed Jan 23, 2019 12:15 pm This code goes into the post processing script at the bottom of the window.
If you are already with 4.1.1 or 4.1.0 you need to to alter it slightly to
{REPLACE "; feature infill\n" "; infill\..........}
same goes for inner and outer perimeter as for the solid infill as well.
hey, thanks.

just to be clear, then you don't need the 'feature' code for the support line? also is solid layer same as solid infill?

like this?

Code: Select all

{REPLACE "; feature inner perimeter" "; inner perimeter\nM204 S1500\nM205 X20 Y20"}
{REPLACE "; feature outer perimeter" "; outer perimeter\nM204 S500\nM205 X7 Y7"}
{REPLACE "; feature solid layer" "; solid layer\nM204 S700\nM205 X10 Y10"}
{REPLACE "; feature infill" "; infill\nM204 S1500\nM205 X15 Y15"}
{REPLACE "; support" "; support\nM204 S1500\nM205 X20 Y20"}

Re: Variable acceleration and Jerk

Posted: Thu Jan 24, 2019 6:36 am
by fael097
is there a way to change acceleration and jerk settings for travel moves and the inner layer as well?

Re: Variable acceleration and Jerk

Posted: Thu Jan 24, 2019 10:18 am
by blackbird2016
The addition "feature" came with 4.1.0 and is before every feature in the original gcode.
Changing the acceleration for all those moves, you could put that values once in the start script which then is global for all moves.
Just have a look in the gcode with a text editor and check what "features" there are. Those you can change with the replace post processing.
I seem to remember there are infill and solid layer...

Re: Variable acceleration and Jerk

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

however is there a code to set specific acceleration and jerk for travel movements?