Jump to content
Ultimaker Community of 3D Printing Experts
neotko

Simplify3D hidden / undocumented Placeholders for post-processing scripts

Recommended Posts

Hi,

I posted this on S3D forum, but seems that the moderators don't want this posted (It's been 2 weeks) so, well.

Just in case someone it's interesting on doing something more advanced on the scripts tool change or just any area in general that allows scripts in Advanced, there are quite a bunch of placeholders that work and that ain't documented anywhere.

[toolchange_retract_distance]

[toolchange_prime_distance]

[retract_distance]

[prime_distance]

[retract_speed]

[travel_speed]

[current_position_x]

[current_position_y]

[current_position_z]

[next_position_x]

[next_position_y]

[next_position_z]

[previous_direction_x]

[previous_direction_y]

[previous_direction_z]

[next_direction_x]

[next_direction_y]

[next_direction_z]

[average_direction_x]

[average_direction_y]

[average_direction_z]

{MATH } <-- This one I have not been able to make it work, probably it's not active atm and might work on latter versions.

I got all the placeholders editing in hex the app file.

Example of stuff that you can do with this:

G0 Z100 ; Move Z to another position

G0 [currect_position_z] ; Restore correct position

(this adding more stuff in the middle it's how I'm doing my hotend wiper.

You could also send info to the ulticontroller on Layer change script area:

M117 [current_position_z] etc etc etc

The most interesting for me it's the MATH, but I had zero success in making it work.

I posted this on S3D forum https://forum.simplify3d.com/viewtopic.php?f=8&t=3550 it's hidden, because S3D forum it's worse than... Crap? :)

Edited by Guest
  • Like 4

Share this post


Link to post
Share on other sites

I found this in 4.0 app

 

[toolchange_retract_distance]

[toolchange_prime_distance]

[retract_speed]

[travel_speed]

[current_position_x]

[current_position_y]

[next_position_x]

[next_position_y]

[next_position_z]

[previous_direction_x]

[previous_direction_y]

[previous_direction_z]

[next_direction_x]

[next_direction_y]

[next_direction_z]

[average_direction_x]

[old_tool]

[new_tool]

[toolchange_retract_speed]

[extruder0_temperature]

[extruder1_temperature]

[extruder2_temperature]

[extruder3_temperature]

[extruder4_temperature]

[extruder5_temperature]

[bed0_temperature]

[bed1_temperature]

[bed2_temperature]

[bed3_temperature]

[bed4_temperature]

[bed5_temperature]

[total_filament_used]

[extruder0_filament_used]

[extruder1_filament_used]

[extruder2_filament_used]

[extruder3_filament_used]

[extruder4_filament_used]

[extruder5_filament_used]

[total_filament_weight]

[extruder0_filament_weight]

[extruder3_filament_weight]

[extruder4_filament_weight]

[extruder5_filament_weight]

[total_filament_cost]

[extruder0_filament_cost]

[extruder1_filament_cost]

[extruder2_filament_cost]

[extruder3_filament_cost]

[extruder4_filament_cost]

[extruder5_filament_cost]

[total_print_time_sec]

[build_size_x]

[build_size_y]

[build_size_z]

[total_layer_count]

[fan_speed_percentage]

[progress]

[current_Z_position]

[current_layer]

  • Like 1

Share this post


Link to post
Share on other sites
12 hours ago, pieri70 said:

I found this in 4.0 app

 

Bel lavoro Pieri70! These extruder[K]_filament_used are interesting, but in my opinion the most interesting are those with the = => =< and other simbols after the placeholders.

@neotko posted some screenshots some time ago, I tried to use some of those but without results, without a serious documentation it is quite hard to improve the profiles and the prints.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Our picks

    • Taking Advantage of DfAM
      This is a statement that’s often made about AM/3DP. I'll focus on the way DfAM can take advantage of some of the unique capabilities that AM and 3DP have to offer. I personally think that the use of AM/3DP for light-weighting is one of it’s most exciting possibilities and one that could play a key part in the sustainability of design and manufacturing in the future.
        • Like
      • 3 replies
×

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!