• Ducsipanorama_fish_eye
    3 posts
    4 years ago

    Hello,

    I have an old ink plotter, Sekonic SPL-450, its an A3 size plotter. I wanted to bring it back to life...

    On Windows, the serial port connection didn't want to work at all.
    It took a long and deep investigation to find out that the twisted.internet.serialport and its reactor were causing the problem.
    Instead of using twisted.internet.serialport I think it is better to use QSerialPort because that is made to live with the Qt event-loop.
    So I made a new connection type (in inkcut\device\transports) that uses only QSerialPort!

    Inkcut-QSerialPort.png
    I'm on:
    Inkcut Version: 2.1.2dev
    Python: 3.7.9
    system='Windows', release='10'
    Qt: 5.15.1
    (I think the latest of everything.)

    I can control the plotter nicely with the joystick buttons, I can also transfer files now!!

    However, I don't know how to upload all this to git, so I welcome the advice of an experienced developer.

    Inkcut-QSerialPort.png

    PNG, 18.8 KB, uploaded by Ducsi 4 years ago.

  • frmdstryrpanorama_fish_eye
    4 years ago

    Great work! Many windows users will be glad to hear this!

    If you want to try and create a pull request on github that would be ideal so the changes can be attributed to you. Or you can zip up the files you added/changed and attach them somewhere I can add it into the repo.

  • Ducsipanorama_fish_eye
    3 posts
    4 years ago

    Thanks. I sent the pull request!
    I hope it will work well for everyone who tries it.

  • Ducsipanorama_fish_eye
    3 posts
    4 years ago

    The QtSerialPort connection works on linux as well.

    Inkcut-ubuntu-QtSerialPort.png

    (I had to install python3-pyqt5.qtserialport first, and chmod 666 /dev/ttyusb0 then logoff logon)

    Inkcut-ubuntu-QtSerialPort.png

    PNG, 146.7 KB, uploaded by Ducsi 4 years ago.

Search
  • Enter search query (at least 3 characters).

Your options