Zip-o-mat / Slic3r

Slic3r with integrated electronics and Nonplanar slicer (see branches)
GNU Affero General Public License v3.0
594 stars 96 forks source link

Builds for Windows #6

Open mbartlett21 opened 4 years ago

mbartlett21 commented 4 years ago

Is there anywhere were I can download a build of this for Windows?

Zip-o-mat commented 4 years ago

sorry at the moment this is not possible. There will be a precompiled version available soon, but I need some time.

jjpython commented 4 years ago

How would one go about compiling this for Windows, I'm quite new to programming and compiling my own stuff, thanks in advance

platsch commented 4 years ago

To build this on windows you could probably start here: https://github.com/slic3r/Slic3r/wiki/Running-Slic3r-from-git-on-Windows

But: this repository is based on a branch which uses cmake instead of the default perl build script. That branch never made it upstream due to unfixable problems with perl under windows, see this PR for details: https://github.com/slic3r/Slic3r/pull/4168 So It's probably not straightforward...

Lorgie1984 commented 4 years ago

It is possible to get this working on Windows, especially on Windows 10 with enabled Linux Subsystem.

When you've enabled the Linux subsystem.

https://docs.microsoft.com/en-us/windows/wsl/install-win10

Than just follow the installation guide from here and install additionally Xming to get the GUI working:

https://www.howtogeek.com/261575/how-to-run-graphical-linux-desktop-applications-from-windows-10s-bash-shell/

Just add --gui to the perl start script: perl slic3r.pl --gui

And as you see, it works, a bit slow but it is okay.

Anmerkung 2019-09-05 140850

Zip-o-mat commented 4 years ago

Cool great!

OKUTAT commented 4 years ago

I am very interested in the processing. My PC is Windows10. So I enabled "Windows Subsystem For Linux", installed Ubuntu and VcXsrv GUI tool, and built the Slic3r.

I managed to run the processing with a simple model like picture below. It was very fun. But it runs slowly. When I tried a little complicated processing, It stopped and finally went down.

So, if using it in earnest, it would be better to use it on a normal Linux system.

hankyu

Sazoji commented 4 years ago

For people building on WSL now that 20 is out, follow this link to get a 18 or 19 LSB version in order to have all the libraries available for a smooth installation: https://wiki.ubuntu.com/WSL I'd recommend the store version of Bionic(18)LTS since it's probably the most common release for slic3r nonplanar on wsl.

efa commented 3 years ago

can you please say if you are using WSL1 or WSL2 ?

infered5 commented 2 years ago

can you please say if you are using WSL1 or WSL2 ?

I can confirm this works on WSL2 with Ubuntu 20 (from the Windows store) on Windows 10 20H2. I followed @Lorgie1984 and their instructions, installing Xming on the Windows host and vim-gtk on WSL2. Framerate is pretty low and sometimes I have to adjust the nonplanar angle to another value and then back for it to properly slice something.

MikeySpring commented 2 years ago

I've followed all the steps and it works up until the point where I try and start the gui. When I try the start command, I get the error, "Unable to init server: Could not connect: Connection refused 11:49:43: Error: Unable to initialize GTK+, is DISPLAY set properly?" I'm pretty new to coding, so maybe I'm misunderstanding and doing something wrong. Please let me know if you have any tips.

efa commented 2 years ago

for DISPLAY related problems under WSL, you have to follow: https://github.com/microsoft/WSL/issues/4106#issuecomment-1000999401

MikeySpring commented 2 years ago

for DISPLAY related problems under WSL, you have to follow: microsoft/WSL#4106 (comment) Do I have to do this step before or after I follow the Github instructions for the program?

MikeySpring commented 2 years ago

Good news! I got the gui to work! @efa thank you so much for your link! Now I'm running into the problem of opening a file from my computer. None of the files I have from my computer show up. Does anybody know how to get passed this?

infered5 commented 2 years ago

Good news! I got the gui to work! @efa thank you so much for your link! Now I'm running into the problem of opening a file from my computer. None of the files I have from my computer show up. Does anybody know how to get passed this?

Your Windows drives are mounted in /mnt/

MikeySpring commented 2 years ago

I'm trying to do some prints and keep running into collision problems. Does anyone have any rules of thumb for setting the Nonplaner Layer settings? I'm working on modifying my setup as well, but I want to get a better understanding of the Nonplanar Layer settings as well.

platsch commented 2 years ago

I'm trying to do some prints and keep running into collision problems. Does anyone have any rules of thumb for setting the Nonplaner Layer settings? I'm working on modifying my setup as well, but I want to get a better understanding of the Nonplanar Layer settings as well.

This is not related to windows build, please open a new issue. Also provide more details, what exactly are you facing? Any screenshots?

mirakct commented 1 year ago

Should anyone use mobaXterm as X11 server, I had to disable OpenGL acceleration to get it to work with the gui, otherwise it would throw a segmentation fault error. Cheers

penewold commented 1 year ago

i get multiple errors trying to do the first step. It dosen't seem to be able to find the packages.

errors

i have to using ubuntu 22, 20 and 18 (and used the right commands), but it still dosen't work.

i might be doing something wrong so sorry please help. Thank you in advance

efa commented 1 year ago

some time ago Debian switched the name of the package to 'libwxgtk3.0-gtk3-dev', and then Ubuntu follow as it is a derivative. Try that name

penewold commented 1 year ago

i tried again on ubuntu 20 and it dosent give the error for that exact package but does still do many others.

billede

(yes this is another pc than before)

efa commented 1 year ago

maybe Ubuntu switched to the new Debian packages naming convention in the transition from Ubuntu 20.x to 22.x Anyway this github repo seems abandoned, the author last commit is 2 year ago, you cannot expect instruction work on current distro, and probably required other trick on outdate Distro like Ubuntu 20.x

penewold commented 1 year ago

well thank you for your help which unfortunately was not succesful. I wish you the greatest kind sir. Goodbye

efa commented 1 year ago

I think we need the help of this repo's author to update the code. Hope a rebase to the current Slic3r code, and finally a merge in the upstream repo

penewold commented 1 year ago

I researched a bit and realised i forgot to use sudo apt-get update Which fixed all the problems i had. For anyone that had the same problem as me; try this.

Zip-o-mat commented 1 year ago

Sorry that I did not reply, I had a few days off. Great that you fixed your Issue and documented the fix here.

There will be no merge in the upstream repo (which is also not in development anymore). If anyone is willing to re-implement nonplanar slicing into Prusaslicer / Superslicer feel free. I can assist with my experience, but I have no time to implement this myself.

efa commented 1 year ago

it's a pity that PrusaSlicer: https://github.com/prusa3d/PrusaSlicer is not marked as Slic3r: https://github.com/slic3r/Slic3r fork, while SuperSlicer: https://github.com/supermerill/SuperSlicer is a fork of PrusaSlicer