available Tokens

available Tokens

Postby Tinchus2009 » 04 Nov 2018, 11:50

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!!! :)
Tinchus2009
 
Posts: 17
Joined: 11 Jul 2018, 21:38

Re: available Tokens

Postby pjr » 04 Nov 2018, 14:40

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
Please note: I do not have any affiliation with KISSlicer. Any advices given are offered in good faith. It is your responsibility to ensure that by following my advice you do not suffer or cause injury, damage or loss.
User avatar
pjr
 
Posts: 474
Joined: 05 May 2015, 10:27
Location: Kamnik, Slovenia

Re: available Tokens

Postby Tinchus2009 » 08 Nov 2018, 09:48

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
Tinchus2009
 
Posts: 17
Joined: 11 Jul 2018, 21:38

Re: available Tokens

Postby pjr » 08 Nov 2018, 10:22

:)

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
Please note: I do not have any affiliation with KISSlicer. Any advices given are offered in good faith. It is your responsibility to ensure that by following my advice you do not suffer or cause injury, damage or loss.
User avatar
pjr
 
Posts: 474
Joined: 05 May 2015, 10:27
Location: Kamnik, Slovenia

Re: available Tokens

Postby Tinchus2009 » 08 Nov 2018, 13:17

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?
Tinchus2009
 
Posts: 17
Joined: 11 Jul 2018, 21:38

Re: available Tokens

Postby pjr » 08 Nov 2018, 15:11

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
Please note: I do not have any affiliation with KISSlicer. Any advices given are offered in good faith. It is your responsibility to ensure that by following my advice you do not suffer or cause injury, damage or loss.
User avatar
pjr
 
Posts: 474
Joined: 05 May 2015, 10:27
Location: Kamnik, Slovenia

Re: available Tokens

Postby Cthutq » 09 Nov 2018, 04:46

For a simple user, this is too complicated. This all needs to be made easier in the GUI.
Cthutq
 
Posts: 9
Joined: 12 Jul 2018, 13:45

Re: available Tokens

Postby pjr » 09 Nov 2018, 06:45

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
Please note: I do not have any affiliation with KISSlicer. Any advices given are offered in good faith. It is your responsibility to ensure that by following my advice you do not suffer or cause injury, damage or loss.
User avatar
pjr
 
Posts: 474
Joined: 05 May 2015, 10:27
Location: Kamnik, Slovenia


Return to Tips and tricks

Who is online

Users browsing this forum: No registered users and 2 guests