Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    if clause with choice box

    Scheduled Pinned Locked Moved
    Duet Web Control
    4
    4
    193
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • medicusdkfzundefined
      medicusdkfz
      last edited by

      Hello,

      is it possible, to have a textbox in DWC with 2 choices for filament a and b. If you choose filament a, then it shall load the mesh for metal sheet a. When you choose filament b -> mesh formetal sheet b.

      Thank you in advance,
      Pierre

      1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User
        last edited by

        afaik closest you get is ok/cancel and some trickery with conditional gcode .. or writing a plugin for dwc

        if you have free inputs you could perhaps key the sheets and use switches or inductive/capacitve sensors to detect the type of sheet?

        1 Reply Last reply Reply Quote 0
        • jay_s_ukundefined
          jay_s_uk
          last edited by

          why not use the filaments part of DWC to load different mesh files?

          Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

          1 Reply Last reply Reply Quote 1
          • fcwiltundefined
            fcwilt
            last edited by

            I would use the filament selection feature of DWC for that.

            I have also used dummy fans as text variables (the name) which display in the fan section of DWC. I use macros to set the fan name.

            Frederick

            Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA