Dual extruder+operator IF

Post Reply
Posts: 1
Joined: 16 Nov 2018, 01:26

Dual extruder+operator IF

Post by Dmitry1001 » 16 Nov 2018, 01:34

Good day!
Sorry for the bad English.
Made on your 3d printer second hotend. Switching heads made programmatically from kisslicer.
Use the custom token.
Is it possible to use the "IF" (ELSE) operator in kisslicer? How can this be done?
Now I have to use postprocessor to change gcode. It's embarrassing.
You need an analogue in Simplify3D (IF OLDTOOL = 0) or (IF NEWTOOL = 0).
Thank you!

User avatar
Posts: 612
Joined: 05 May 2015, 10:27
Location: Kamnik, Slovenia

Re: Dual extruder+operator IF

Post by pjr » 16 Nov 2018, 04:01

Generally conditional G-code is not needed as there are other ways to achieve the same result.

What is it you are trying to do?

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.

Posts: 17
Joined: 12 Jul 2017, 06:11

Re: Dual extruder+operator IF

Post by StrannikZet » 24 Dec 2018, 06:27

Я так понял ты русский. В общем если тебе нужно выполнять другой g-code для разного хота, то там есть для этого вкладка Matl g-code. В этой вкладке пишешь свой g-code для нужного материала и просто в смену экструдера вставляешь токен <MATL>, и для каждого экструдера выбираешь свой материал. То есть, еще раз по другому, на вкладке Matl g-code можно писать индивидуальный g-code, а дальше полет фантазии и условия не нужны.

In general, if you need to perform another g-code for a different extruder, then there is a Matl g-code tab for this. In this tab, you write your g-code for the desired material and simply insert the <MATL> token into the extruder change, and for each extruder you choose your own material. That is, once again differently, on the Matl g-code tab, you can write an individual g-code, and then the flight of fancy and conditions are not needed.

Posts: 4
Joined: 21 Nov 2018, 04:43

Re: Dual extruder+operator IF

Post by kyrilm » 22 Mar 2019, 00:05

Just example how to do it.
You do not have the required permissions to view the files attached to this post.

Post Reply