Page 1 of 1

Dual extruder+operator IF

Posted: 16 Nov 2018, 01:34
by Dmitry1001
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!

Re: Dual extruder+operator IF

Posted: 16 Nov 2018, 04:01
by pjr
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?

Peter

Re: Dual extruder+operator IF

Posted: 24 Dec 2018, 06:27
by StrannikZet
Я так понял ты русский. В общем если тебе нужно выполнять другой 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.

Re: Dual extruder+operator IF

Posted: 22 Mar 2019, 00:05
by kyrilm
Just example how to do it.
Screenshot_20190322_075946.png
Screenshot_20190322_075946.png (27.41 KiB) Viewed 1459 times
Screenshot_20190322_080318.png
Screenshot_20190322_080318.png (18.83 KiB) Viewed 1459 times