Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. GCode Sender in Qt

GCode Sender in Qt

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 2.1k Views 1 Watching
  • 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.
  • A Offline
    A Offline
    aysenur
    wrote on last edited by
    #1

    I have a file in stl format which is scanned. After I called Slic3r from qt to generate gcode for 3d printing. I want to send gcode to Arduino Mega from my application. How can I do this process? Thank you in advance.

    jsulmJ 1 Reply Last reply
    0
    • A aysenur

      I have a file in stl format which is scanned. After I called Slic3r from qt to generate gcode for 3d printing. I want to send gcode to Arduino Mega from my application. How can I do this process? Thank you in advance.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @aysenur said in GCode Sender in Qt:

      Slic3r

      Is this a library or an executable?
      To start external executables see http://doc.qt.io/qt-5/qprocess.html
      To communicate over serial port see http://doc.qt.io/qt-5/qserialport.html

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • A Offline
        A Offline
        aysenur
        wrote on last edited by
        #3

        @jsulm I have called Slic3r as qprocess. I got the gcode of the stl file. There is a program RepetierHost and I can call this program as a qprocess, but I dont want user to see another program. Is this enough to read the file line by line and send to serial port for 3d printing.

        jsulmJ 1 Reply Last reply
        0
        • A aysenur

          @jsulm I have called Slic3r as qprocess. I got the gcode of the stl file. There is a program RepetierHost and I can call this program as a qprocess, but I dont want user to see another program. Is this enough to read the file line by line and send to serial port for 3d printing.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @aysenur I don't know whether it is enough as I don't know the protocol used by the printer. Maybe there is a library you can use to send the data to the printer?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          2
          • mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @aysenur said in GCode Sender in Qt:

            RepetierHost

            They seem to have a web API
            https://www.repetier-server.com/manuals/programming/API/index.html

            1 Reply Last reply
            2

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved