Dual extruder+operator IF

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

Dual extruder+operator IF

Post 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!
User avatar
pjr
Posts: 692
Joined: 05 May 2015, 10:27
Location: Kamnik, Slovenia

Re: Dual extruder+operator IF

Post 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
StrannikZet
Posts: 17
Joined: 12 Jul 2017, 06:11

Re: Dual extruder+operator IF

Post 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.
kyrilm
Posts: 4
Joined: 21 Nov 2018, 04:43

Re: Dual extruder+operator IF

Post by kyrilm »

Just example how to do it.
Screenshot_20190322_075946.png
Screenshot_20190322_075946.png (27.41 KiB) Viewed 1461 times
Screenshot_20190322_080318.png
Screenshot_20190322_080318.png (18.83 KiB) Viewed 1461 times
Post Reply