Page 1 of 1

available Tokens

Posted: 04 Nov 2018, 11:50
by Tinchus2009
Hi. Im trying to use kisslicer for dual print. Im tunnin g the scripts, but I cant find a list of available token to use there.
I have seen in the form some references of people using things like "material_print_temperature_layer_0"
But not much more info.
Is there a list of all available token s and what they mean?

Thanks in advance

PD: of course if someone wants to share his dual print gcode scripts would also be super weolcome!!! :)

Re: available Tokens

Posted: 04 Nov 2018, 14:40
by pjr
Tinchus2009 wrote:I have seen in the form some references of people using things like "material_print_temperature_layer_0"
That's more like S3D or Slic3r. Tokens in KISS are simple <TEMP> style.

The list of tokens in on the Settings/Printer G-code tab, down the left hand side.

If you use (for example)

Code: Select all

M104 S<TEMP>
in the "Select New Ext & Warm" G-code section then the temp will be set according to the material selected for the current extruder and with layer relevance.

Peter

Re: available Tokens

Posted: 08 Nov 2018, 09:48
by Tinchus2009
Great. Can you explain the exact use of these tokens?:
NextY / nextx
warm1/2/3/4
main 1/2/3/4
primex
primey

Thanks inn advance

Re: available Tokens

Posted: 08 Nov 2018, 10:22
by pjr
:)

Don't know, but I will have a go...

NextX and NextY are the co-ordinates when the nozzle will move to next
PrimeX and PrimeY are similar, but can be used on the purge tower for additional movements

Warm and main are the temps fromt eh filament tab for (up to) 4 extruders.

As for the "exact use", that's difficult as I only use NEXT and PRIME on the purge tower, when loading and unloading with SNMM. These values are 10mm apart from each other.

Example (from "Select New Extruder" G-code):

Code: Select all

G1 X<NEXTX> Y<NEXTY> Z<MAXZ> E10 F370	; Load filament
G1 X<PRIMEX> Y<PRIMEY> E24 F<LOAD_FEED_1>
G1 X<NEXTX> Y<NEXTY> E10 F<LOAD_FEED_2>
G1 X<PRIMEX> Y<PRIMEY> E4 F<LOAD_FEED_3>
G1 X<NEXTX> Y<NEXTY> E1 F<LOAD_FEED_4>
Peter

Re: available Tokens

Posted: 08 Nov 2018, 13:17
by Tinchus2009
Where do you get LOAD_FEED_1? that token is not in the token list...

In order to better understand: can you describe the behaiviour os:

G1 X<PRIMEX> Y<PRIMEY> E24 F<LOAD_FEED_1>
G1 X<NEXTX> Y<NEXTY> E10 F<LOAD_FEED_2>


I mean: primex sends the extruder to the first x coordinate of the prime tower? nextx sends the extruder to the next X coordinate of the model itself?

Re: available Tokens

Posted: 08 Nov 2018, 15:11
by pjr
Tinchus2009 wrote:Where do you get LOAD_FEED_1? that token is not in the token list...

In order to better understand: can you describe the behaiviour os:

G1 X<PRIMEX> Y<PRIMEY> E24 F<LOAD_FEED_1>
G1 X<NEXTX> Y<NEXTY> E10 F<LOAD_FEED_2>


I mean: primex sends the extruder to the first x coordinate of the prime tower? nextx sends the extruder to the next X coordinate of the model itself?

OK, so there are user-defined tokens from the Material G-code section. Different materials require different feed rates, so:

<MATL> token definition:

Code: Select all

M900 K30	; Set LA K Factor
Custom Syntax:

Code: Select all

<LOAD_FEED_1>=[500]
<LOAD_FEED_2>=[600]
<LOAD_FEED_3>=[600]
<LOAD_FEED_4>=[250]
<UNLOAD_FEED_1>=[4800]
<UNLOAD_FEED_2>=[1200]
<UNLOAD_FEED_3>=[360]
<UNLOAD_FEED_4>=[180]
<UNLOAD_FEED_5>=[60]
These are for PLA.

When on the purge tower, alternate layers:

PRIMEX = NEXTX; PrimeY = NEXTY + 10
PRIMEX = NEXTX + 10; PrimeY = NEXTY

This ensures that the nozzle moves perpendicular to the printing direction by 10 mm for each loading/unloading move

Peter

Re: available Tokens

Posted: 09 Nov 2018, 04:46
by Cthutq
For a simple user, this is too complicated. This all needs to be made easier in the GUI.

Re: available Tokens

Posted: 09 Nov 2018, 06:45
by pjr
Cthutq wrote:For a simple user, this is too complicated. This all needs to be made easier in the GUI.
Which is why I publish my profiles for the Prusa "original" Mk2 and Mk3 plus MMU1/2.

Actually, it's not that complicated; if it were, I would never understand it ;) It just takes time to learn what these things do.

The majority of users will never need to know about this stuff, but the question was asked....

Peter