Mks wifi ps upload

artificalsun / mks-wifi_ps_uploader Goto Github PK

As of now (2021-01-17) the tool works fine. However, I curently have no printers with MKS-WIFI module. I’ll do my best to maintain this tool in a working condition, but my debugging and development capabilities for this project are extremely limited.

  • Fixed uploading issue related to a g-code file encoding (thx @Goodsmileduck)
  • Added feature (supposedly working) to convert PrusaSlicer thumbnails (model preview embedded into the gcode file) into TFT thumbnails that can be displayed by the printer with a stock firmware, similar to what the Cura plugin does (thx @SH1NZ33)
  • Fixed issues with uploading and filenames for PrusaSlicer 2.4 and newer (thx @WashingtonJunior)

To run this version as a python script one requires to have Image and regex modules installed (in addition to the previously required requests mudule). DISCLAIMER: This version was never tested by me, it is provided as is with no warranties or responsibility from my side. Old version 0.2.2 is still available in releases.

It is written in Python and available in 2 versions:

  • Python script (requires Python 3 with requests package)
  • Windows x64 executable (frozen with pyinstaller, more convinient, no requirements to run)

I might think about releasing additional executables (like Win32 or linux) if there will be real demand for it. Until then you might always use Python script version (or pack the executable yourself using i.e. pyinstaller)

PS postprocessing script

It is originally intended to work as a post-processing script in Prusa Slicer (or it’s forks like Slic3r++/SuperSlicer) Download the script or executable to the location of your preference (not necessarely the istallation directory of your slicer). However, avoid using system directories like Program Files on Windows, otherwise your slicer might require elevated rights to run the script. To use Uploader select your Print profile and go to the Output options. Here insert following command into the Post-processing script

To use executable (see screenshot)

"\path\to\the\executable\MKS_WIFI_PS_upload.exe" ip_address mode; 
"\path\to\the\python\installation\pythonw.exe" "\path\to\the\script\MKS_WIFI_PS_upload.pyw" ip_address mode; 

It is possible to use the script with Simplify3D slicer (however, it does not work if path to the g-code file contains spaces). Add following command to the «Additional Terminal Commands for Post Processing» section in the «Scripts» tab (quotes and brackets are necessary!)

"\path\to\the\executable\MKS_WIFI_PS_upload.exe" ip_address mode [output_filepath] 

ip_address — IP adress of the printer in your local network

mode — one of the following options:

  • ask — when a file is uploaded the script will ask if you want to immediately start printing it
  • always — when a file is uploaded the script will immediately start printing it without asking
  • never — when a file is uploaded the script will not start any print job and will not ask anything

You actually have to do this modification to every Print profile you want to use Uploader for. After that each time you save a g-code file (to any location, not necessarely the same directory with the script) this file will be uploaded to your printer.

Читайте также:  Телефон ищет вай фай

Despite being intended as a post-processing script, Uploader can be used completely standalone. If run without any options (i.e. double click on the executable) it will first prompt you to select a file you want to upload and ask for IP adress of your printer. It will then proceed with uploading file and ask if you want to print it (similar to running in ask mode)

Alternatively you can run it from a command line providing path to you gcode file as the third option:

MKS_WIFI_PS_upload.exe ip_addr mode "\path\to\the\file\for\upload.gcode" 

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Simple G-code file uploader for 3D-printers equipped with MKS-WIFI module

ArtificalSUN/MKS-WIFI_PS_uploader

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

MKS-WIFI Uploader for Prusa Slicer (and forks)

This simple tool allows uploading files and starting print jobs for printers equipped with Makerbase MKS-WIFI module (i.e. Flyingbear Ghost 4S/5)

As of now (2021-01-17) the tool works fine. However, I curently have no printers with MKS-WIFI module. I’ll do my best to maintain this tool in a working condition, but my debugging and development capabilities for this project are extremely limited.

  • Fixed uploading issue related to a g-code file encoding (thx @Goodsmileduck)
  • Added feature (supposedly working) to convert PrusaSlicer thumbnails (model preview embedded into the gcode file) into TFT thumbnails that can be displayed by the printer with a stock firmware, similar to what the Cura plugin does (thx @SH1NZ33)
  • Fixed issues with uploading and filenames for PrusaSlicer 2.4 and newer (thx @WashingtonJunior)

To run this version as a python script one requires to have Image and regex modules installed (in addition to the previously required requests mudule). DISCLAIMER: This version was never tested by me, it is provided as is with no warranties or responsibility from my side. Old version 0.2.2 is still available in releases.

Читайте также:  How to get wifi hotspot

It is written in Python and available in 2 versions:

  • Python script (requires Python 3 with requests package)
  • Windows x64 executable (frozen with pyinstaller, more convinient, no requirements to run)

I might think about releasing additional executables (like Win32 or linux) if there will be real demand for it. Until then you might always use Python script version (or pack the executable yourself using i.e. pyinstaller)

PS postprocessing script

It is originally intended to work as a post-processing script in Prusa Slicer (or it’s forks like Slic3r++/SuperSlicer) Download the script or executable to the location of your preference (not necessarely the istallation directory of your slicer). However, avoid using system directories like Program Files on Windows, otherwise your slicer might require elevated rights to run the script. To use Uploader select your Print profile and go to the Output options. Here insert following command into the Post-processing script

To use executable (see screenshot)

"\path\to\the\executable\MKS_WIFI_PS_upload.exe" ip_address mode; 
"\path\to\the\python\installation\pythonw.exe" "\path\to\the\script\MKS_WIFI_PS_upload.pyw" ip_address mode; 

It is possible to use the script with Simplify3D slicer (however, it does not work if path to the g-code file contains spaces). Add following command to the «Additional Terminal Commands for Post Processing» section in the «Scripts» tab (quotes and brackets are necessary!)

"\path\to\the\executable\MKS_WIFI_PS_upload.exe" ip_address mode [output_filepath] 

ip_address — IP adress of the printer in your local network

mode — one of the following options:

  • ask — when a file is uploaded the script will ask if you want to immediately start printing it
  • always — when a file is uploaded the script will immediately start printing it without asking
  • never — when a file is uploaded the script will not start any print job and will not ask anything

You actually have to do this modification to every Print profile you want to use Uploader for. After that each time you save a g-code file (to any location, not necessarely the same directory with the script) this file will be uploaded to your printer.

Despite being intended as a post-processing script, Uploader can be used completely standalone. If run without any options (i.e. double click on the executable) it will first prompt you to select a file you want to upload and ask for IP adress of your printer. It will then proceed with uploading file and ask if you want to print it (similar to running in ask mode)

Alternatively you can run it from a command line providing path to you gcode file as the third option:

MKS_WIFI_PS_upload.exe ip_addr mode "\path\to\the\file\for\upload.gcode" 

About

Simple G-code file uploader for 3D-printers equipped with MKS-WIFI module

Источник

artificalsun / mks-wifi_ps_uploader Goto Github PK

As of now (2021-01-17) the tool works fine. However, I curently have no printers with MKS-WIFI module. I’ll do my best to maintain this tool in a working condition, but my debugging and development capabilities for this project are extremely limited.

  • Fixed uploading issue related to a g-code file encoding (thx @Goodsmileduck)
  • Added feature (supposedly working) to convert PrusaSlicer thumbnails (model preview embedded into the gcode file) into TFT thumbnails that can be displayed by the printer with a stock firmware, similar to what the Cura plugin does (thx @SH1NZ33)
  • Fixed issues with uploading and filenames for PrusaSlicer 2.4 and newer (thx @WashingtonJunior)
Читайте также:  Wifi zyxel keenetic giga iii

To run this version as a python script one requires to have Image and regex modules installed (in addition to the previously required requests mudule). DISCLAIMER: This version was never tested by me, it is provided as is with no warranties or responsibility from my side. Old version 0.2.2 is still available in releases.

It is written in Python and available in 2 versions:

  • Python script (requires Python 3 with requests package)
  • Windows x64 executable (frozen with pyinstaller, more convinient, no requirements to run)

I might think about releasing additional executables (like Win32 or linux) if there will be real demand for it. Until then you might always use Python script version (or pack the executable yourself using i.e. pyinstaller)

PS postprocessing script

It is originally intended to work as a post-processing script in Prusa Slicer (or it’s forks like Slic3r++/SuperSlicer) Download the script or executable to the location of your preference (not necessarely the istallation directory of your slicer). However, avoid using system directories like Program Files on Windows, otherwise your slicer might require elevated rights to run the script. To use Uploader select your Print profile and go to the Output options. Here insert following command into the Post-processing script

To use executable (see screenshot)

"\path\to\the\executable\MKS_WIFI_PS_upload.exe" ip_address mode; 
"\path\to\the\python\installation\pythonw.exe" "\path\to\the\script\MKS_WIFI_PS_upload.pyw" ip_address mode; 

It is possible to use the script with Simplify3D slicer (however, it does not work if path to the g-code file contains spaces). Add following command to the «Additional Terminal Commands for Post Processing» section in the «Scripts» tab (quotes and brackets are necessary!)

"\path\to\the\executable\MKS_WIFI_PS_upload.exe" ip_address mode [output_filepath] 

ip_address — IP adress of the printer in your local network

mode — one of the following options:

  • ask — when a file is uploaded the script will ask if you want to immediately start printing it
  • always — when a file is uploaded the script will immediately start printing it without asking
  • never — when a file is uploaded the script will not start any print job and will not ask anything

You actually have to do this modification to every Print profile you want to use Uploader for. After that each time you save a g-code file (to any location, not necessarely the same directory with the script) this file will be uploaded to your printer.

Despite being intended as a post-processing script, Uploader can be used completely standalone. If run without any options (i.e. double click on the executable) it will first prompt you to select a file you want to upload and ask for IP adress of your printer. It will then proceed with uploading file and ask if you want to print it (similar to running in ask mode)

Alternatively you can run it from a command line providing path to you gcode file as the third option:

MKS_WIFI_PS_upload.exe ip_addr mode "\path\to\the\file\for\upload.gcode" 

Источник

Оцените статью
Adblock
detector