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

    documentation fix re developing plugins

    Scheduled Pinned Locked Moved
    Plugins for DWC and DSF
    1
    1
    153
    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.
    • achrnundefined
      achrn
      last edited by

      https://github.com/Duet3D/DuetWebControl/wiki/Third-Party-Plugins#creating-a-plugin says "There are two files which are mandatory for a DWC plugin: plugin.json index.js"

      https://github.com/Duet3D/DuetWebControl/wiki/Third-Party-Plugins#indexjs says "The file index.js is the main entry point of your plugin and it is executed as soon as your plugin is loaded. ... The EndstopsPlugin is another good starting point."

      However, as far as I can see, the endstops plugin at https://github.com/Duet3D/DSF-Plugins/releases/tag/v3.4.0 does not contain an index.js, which suggests the general statement about teh file being mandatory is incorrect, and the specific statement about consulting that plugin should probably refer to a different one?

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