<MATL> token: howto?

Post Reply
MLWorx
Posts: 6
Joined: 02 Jan 2015, 10:15

<MATL> token: howto?

Post by MLWorx »

Hi folks,

Is there ANY guideline how to use the <MATL> token or any templates? :roll:

MATL mentioned but without description:
http://3ntr.eu/wp-content/uploads/2014/ ... 260814.pdf
User avatar
Davide Ardizzoia
Posts: 122
Joined: 07 Nov 2014, 13:05
Location: Oleggio, Italy
Contact:

Re: <MATL> token: howto?

Post by Davide Ardizzoia »

Frankly, I don't know what else say about it.

As you see on the cited document (an updated version is available now, see my signature below) <MATL> can be used to perform material-specific duties (such as extra retraction when swapping nozzle during print) and those duties will be performed anytime you like... just place <MATL> in the desired section (printer gcode) : in the above case, you may want to put <MATL> into "extruder deselected" gcode.
During gcode generation, the MATL keyword in printer gcode will be replaced witht the material gcode (aka MATL).


Anyway, I will be more than happy to put more information on this command... as long as you tell me what you precisely want to know.

Best Regards
Davide Ardizzoia
MLWorx
Posts: 6
Joined: 02 Jan 2015, 10:15

Re: <MATL> token: howto?

Post by MLWorx »

Davide Ardizzoia wrote:Anyway, I will be more than happy to put more information on this command... as long as you tell me what you precisely want to know.
Well, what I really want to do is to give my PVA material a lower speed.
In Kiss (as far as I know) you only can add speeds for solid infills (PLA material) AND supports (PVA material).
Attachments
Bildschirmfoto 2015-01-11 um 11.06.51.png
Bildschirmfoto 2015-01-11 um 11.06.51.png (69.67 KiB) Viewed 3526 times
User avatar
Davide Ardizzoia
Posts: 122
Joined: 07 Nov 2014, 13:05
Location: Oleggio, Italy
Contact:

Re: <MATL> token: howto?

Post by Davide Ardizzoia »

That's easy.
Put the following line into your PVA MATL section

M220 S50

...and this in your PLA section

M220 S100

Then put the following line in your "Select Extruder" printer gcode section

<MATL>


Now, all your PVA will printat 50% of KS speed.

Best Regards
Davide Ardizzoia
MLWorx
Posts: 6
Joined: 02 Jan 2015, 10:15

Re: <MATL> token: howto?

Post by MLWorx »

Davide Ardizzoia wrote:That's easy.
Put the following line into your PVA MATL section
M220 S50 ...and this in your PLA section M220 S100
Then put the following line in your "Select Extruder" printer gcode section <MATL>
Now, all your PVA will printat 50% of KS speed.
ohh - I haven't noticed that the <MATL> belongs to a specific material which I have to check at the "material" section and enter the gCode at "G-code" :roll:
I thought about entering something like:

if (MATL == "PVA){
lower speed;}
else if (MATL == "whatever"){
speed * 0.9;}

BUT: as you mentioned it's material related (material tab belongs to gCode tab)

-> alright, works perfect now - thank you!
inventabuild
Posts: 271
Joined: 09 Nov 2014, 23:03

Re: <MATL> token: howto?

Post by inventabuild »

Davide Ardizzoia wrote:That's easy.
Put the following line into your PVA MATL section

M220 S50

...and this in your PLA section

M220 S100

Then put the following line in your "Select Extruder" printer gcode section

<MATL>


Now, all your PVA will printat 50% of KS speed.

Best Regards
Davide Ardizzoia
Davide, this is very cool. I just used it to run my bed 20C hotter for the first couple layers and then reduced the bed temp for the rest of the print.

It's not ideal for the task at least from a logical process point of view because I had to set my actual Material Bed temp 20C hotter (Bed = 70 in the Material tab), set the Material G-Code to reduce the bed by 20C (M140 S50)and then run <MATL> every 2 Layers in the Printer G-code which reduces the bed temp to 50C for the rest of the print once it hits layer 3.

Logically one would want to set the Material Bed temp to what it should run at after the initial layers (50C) and then set the Material G-Code to run the bed 20C hotter (M140 S70) for the first few layers, so doing things in reverse of the way they currently need to be done sounds more logical...but hey at least it works. I appreciate you post.
User avatar
Davide Ardizzoia
Posts: 122
Joined: 07 Nov 2014, 13:05
Location: Oleggio, Italy
Contact:

Re: <MATL> token: howto?

Post by Davide Ardizzoia »

Usually I don't fiddle with plate temp...ANY temperature change can be recipe for disaster.
Even if I print everything with raft.

Best Regards
Davide Ardizzoia
Post Reply