For example, in one script I have this:
Code: Select all
M104 S170 T0 ; Turn down extruder to prevent oozing.I would like to use this instead in my script:
Code: Select all
M104 S[my_extruder_idle_temp] T0 ; Turn down extruder to prevent oozing.Code: Select all
my_extruder_idle_temp=170
my_travel_acceleration=500
my_max_jerk_x = 8
my_max_jerk_y = 8
UI-wise, this is a minor change.
Script wise, it's basically a text replace. Quite simple. Anywhere where [my_variable_extruder_idle_temp] is found in a script, get's replaced with it's value when the G-Code is created.
Something like this is simple to implement, and will extend script functionality quite a bit. Especially if we get IF THEN ELSE statements added to scripts.
This allows you to setup Auto-Configure for features that your 3D printer supports, which Simplify3D doesn't support. For example, my QIDI I-Fast supports setting jerk values such as "M205 X8 Y8". This is not supported by Simplify3D, and is something I like to modify sometimes to get different quality prints. Currently I have to manually edit my Starting script if I want to change these values. It would be much nicer to have an Auto-Configure I can create that modifies the values I use in my Starting script.