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

    Source for GCode documentation

    Scheduled Pinned Locked Moved Solved
    General Discussion
    2
    3
    186
    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.
    • Otsoundefined
      Otso
      last edited by

      Is the GCode documentation at https://docs.duet3d.com/en/User_manual/Reference/Gcodes generated from some other file, for example a "cleaner" XML file?

      The reason I'm asking is that I would like to embed the documentation in a Duet control application I'm making. For example, the app has a command line and I want to show the relevant GCode command documentation when the users starts typing that GCode. I also want to filter out all GCodes that are not relevant for my use case (a CNC machine, so I don't for example need any documentation for GCodes that are strictly for 3D printing).

      Of course I can scrape the web page, but it would be easier if there was a less cluttered source file that I could use.

      Finally, some very subjective feedback on the web page: I find it annoying that the page scrolls to the location when clicking a GCode in the index on the left navigation bar instead of directly jumping to the location. This makes browsing the GCodes slower since you have to wait for the scrolling, and I also find it distracting. I don't see any benefit of the scrolling.

      droftartsundefined 1 Reply Last reply Reply Quote 2
      • droftartsundefined
        droftarts administrators @Otso
        last edited by droftarts

        @Otso It's one loooooooong page in markup. That's all we can do in wiki.js at the moment. Here's a text document of that, if it helps!

        Duet3D Gcode dictionary.txt

        Edit: regarding the page scrolling, yes, it's annoying, and again what we're limited to with wiki.js. Hopefully an major update is around the corner and we can modify things like that.

        Ian

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

        Otsoundefined 1 Reply Last reply Reply Quote 1
        • Otsoundefined
          Otso @droftarts
          last edited by

          @droftarts Thank you, this is very helpful! It will be easy to extract what I want to from that.

          1 Reply Last reply Reply Quote 0
          • Otsoundefined Otso marked this topic as a question
          • Otsoundefined Otso has marked this topic as solved
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA