Dual extruder+operator IF

Dual extruder+operator IF

Postby 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!
Posts: 1
Joined: 16 Nov 2018, 01:26

Re: Dual extruder+operator IF

Postby 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.
User avatar
Posts: 558
Joined: 05 May 2015, 10:27
Location: Kamnik, Slovenia

Re: Dual extruder+operator IF

Postby 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: 10
Joined: 12 Jul 2017, 06:11

Re: Dual extruder+operator IF

Postby kyrilm » 22 Mar 2019, 00:05

Just example how to do it.

Screenshot_20190322_075946.png (27.41 KiB) Viewed 406 times

Screenshot_20190322_080318.png (18.83 KiB) Viewed 406 times
Posts: 4
Joined: 21 Nov 2018, 04:43

Return to Tips and tricks

Who is online

Users browsing this forum: No registered users and 0 guests