Welcome! Log In Create A New Profile

Advanced

placeholder variables

Posted by philmar 
placeholder variables
January 03, 2016 03:57PM
Hi,
I would like to write some custom G-code in Printer Settings, using placeholder variables.
I found in the documentation some examples of variables that can be used, as [first_layer_bed_temperature] or [next_extruder],
but where can I get a list of all available placeholder variables ?
Phil.
Re: placeholder variables
January 04, 2016 02:29AM
philmar,

I can't give you a 100% answer, but this might help:

The following link (found in the Slic3r manual):
[github.com]
I don't know if that lists all of them that can be used (it's a bit unclear).

The tooltip in the program indicates you can use placeholders for "any Slic3r setting"... So I looked further.
There is a placholderparser in the gcode that includes printconfig.hpp, which has a long list of settings.

But I think the easiest place to look would be at the bottom of a gcode file, all the settings are listed there. Not sure which can be used.

Hope that helps a bit.

If you want to inquire further you can post on the Github site at [github.com]


My printer: Raptosaur - Large Format Delta - [www.paulwanamaker.wordpress.com]
Can you answer questions about Calibration, Printing issues, Mechanics? Write it up and improve the Wiki!
Re: placeholder variables
November 09, 2016 02:55AM
I made a list here:
[mauk.cc]
Re: placeholder variables
November 11, 2016 01:29AM
All the values defined at the bottom of the gcode file can be used. For a few fields (notably the tool-change custom gcode field, for one) there are also additional placeholders specified that can be used.
Re: placeholder variables
November 11, 2016 04:20PM
Thanks everybody for this valuable information, and the list provided by josmaukcc.
Best regards.
Sorry, only registered users may post in this forum.

Click here to login