Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    if clause with choice box

    Duet Web Control
    4
    4
    69
    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.
    • medicusdkfz
      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_uk
          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
          • fcwilt
            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 FT-5 with the 713 upgrade bits. A custom MarkForged style. A small Utilmaker style and a CoreXY from kits. Various hotends. Using Duets (2 and 3) running 3.4.1

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