Slicer4RTN icon indicating copy to clipboard operation
Slicer4RTN copied to clipboard

Windows port

Open udif opened this issue 4 years ago • 3 comments

Here is a Windows port of the script. The original version had a few issues:

  • STL binary files were not opened in raw mode, breaking them due CR/LF issues.
  • slicer type checks took into account filename extension (.exe) so I relaxed that.
  • I chose a sane location for all the user and global dirs/files on a Windows platform.
  • Fixed forward/backward slash directory compatibility by using basename() and catfile().
  • Updated README.md with a Windows section, including the specific filenames to be used for the various slicer options.

I was careful, and I hope I didn't break the Linux version, but I haven't ran all checks on the Linux side because I don't have all the slicers installed on my machine.

I also added an --install flag which helps Windows users by not needing to install make just for installation. It should also work on Linux using the existing paths (~/.config and /usr/share).

udif avatar Jul 12 '21 09:07 udif

Looking forward to this merge since I don't have/use Linux :-)

ETE-Design avatar Sep 05 '21 16:09 ETE-Design

@ETE-Design have you tried this branch, is it working for you?

udif avatar Sep 05 '21 16:09 udif

@udif Not yet, still working on an Prototype of an Non-Planar hotend, so hope this will be merged before I'm ready...

ETE-Design avatar Sep 05 '21 17:09 ETE-Design