Portable install?  

  RSS
prus-38
(@prus-38)
Trusted Member

Is it possible to have PS on a portable install like USB or network drive?

I havea PC in the printroom where i do most slicing so far, but i do my designing on several places (PC, laptop) and would like to have access to PS and their printprofiles available for slicerpreview of components etc.

 

Is it possible at all?

Posted : 12/08/2020 12:57 pm
Yveske
(@yveske)
Trusted Member

Have you thought about using remote desktop ?

Having problems with bed adhesion every morning......
Posted : 12/08/2020 1:08 pm
prus-38
(@prus-38)
Trusted Member

I have not, but that would only work if the workstation in printerroom is always on.

Posted : 12/08/2020 1:17 pm
Neophyl
(@neophyl)
Noble Member

Not really.   The software doesn't allow you to specify a location for the configuration/settings files so you cant run it completely from a USB stick.  At least not on Windows.  Might be different on MAC/Linux though.

I have a similar work situation to you, in that I run it on several PC's depending where I am.  I have folder(s) on my USB stick with the actual executable files (basically the contents of the latest release from github) and a few earlier ones.  I can then run the exe from the USB thumbdrive.
The config folders though are still on each machine.  However using the export config bundle facility in slicer you can save all your custom profiles into an xml file.  This file can then be imported into slicer on the various machines which will make the configurations the same.  I keep the all my config bundle snapshots also on the usb drive so I can just install them if any machine needs a newer copy.

There is a request on redmine for the install/config folder to be defined in the software which if implemented would theoretically allow a usb stick stand alone install.  If or when that gets made reality though is a big unknown.

One suggestion on github was to use symlinks on mac/linux to copy the config locations to something like dropbox  and keep them in sync.  I don't know if that would work on those operating systems or if something similar is possible on Windows.

Posted : 12/08/2020 2:21 pm
prus-38
(@prus-38)
Trusted Member

I will look thru github and maybe post a request for custom config/settings-folder location.

I use Windows Commander for file browsing, which have that feature. It's really handy.

Posted : 12/08/2020 3:12 pm
bobstro
(@bobstro)
Illustrious Member

Will --datadir parameter do what you want? Discussion here.

My notes and disclaimers on 3D printing and miscellaneous other tech projects
He is intelligent, but not experienced. His pattern indicates two dimensional thinking. -- Spock in Star Trek: The Wrath of Khan...
Posted : 12/08/2020 8:18 pm
Neophyl
(@neophyl)
Noble Member

Bob are there any placeholders that would reference the drive you are launching from instead of an explicit drive letter ?  I'm thinking if the thumb dive gets different drive letters on each machine.

Posted : 12/08/2020 8:45 pm
bobstro
(@bobstro)
Illustrious Member
Posted by: @neophyl

Bob are there any placeholders that would reference the drive you are launching from instead of an explicit drive letter ?  I'm thinking if the thumb dive gets different drive letters on each machine.

Interesting idea. I don't have access to PrusaSlicer on Windows, so can't test. Not sure if you can use environment variables or anything similar. 

My notes and disclaimers on 3D printing and miscellaneous other tech projects
He is intelligent, but not experienced. His pattern indicates two dimensional thinking. -- Spock in Star Trek: The Wrath of Khan...
Posted : 12/08/2020 8:51 pm
towlerg
(@towlerg)
Honorable Member

Seems like one of those things that could eventually be got to sort of work. IMO better to examine ways of sharing design and sliced files using some shared device on the network.

Posted : 13/08/2020 2:12 am
prus-38
(@prus-38)
Trusted Member

Interesting.

I wonder if a --datadir=./config would work...

It's more or less a local network solution tho, as mentioned previously driveletter can change.

I use the google drivesync for one of my backupsources that can be driveletterized.

I'll investigate further.

Posted : 13/08/2020 9:41 am
prus-38
(@prus-38)
Trusted Member

Ok, so i have somewhat progress.

 

My googledrivesync is mapped to a driveletter (same on all pc/laptops etc).

This should work with a usb-stick as well.

 

I installed a fresh copy of PS on the drive (for example q:\stuff\Prusa3D)

BUT DO NOT START IT YET!!!

In the prusa dir (\Prusa3D\PrusaSlicer\) create a .bat file, i names mine ps-start.bat

Make a new dir inside Prusa3D\PrusaSlicer\, i named mine "profiles"

.\prusa-slicer.exe --datadir .\profiles

You must start using the "ps-start.bat" or it will not load the profiles/configs.

It will call on prusa-slicer.exe relative to where the .bat file is executed.

 

Hope this helps someone else.

 

Oh, and PS: I make no claims it will work for you, your milage may vary, don't break the internet disclamer etc 🙂

 

Posted : 13/08/2020 9:36 pm
Neophyl
(@neophyl)
Noble Member

Sorry it took me so long to try it but this works great.  Now all the different versions I have on USB stick can be self contained and if I want to make things easier on new versions I can just copy my start.bat and profiles folder into the same directory as the version I want to work with and its all there.

Like you I would use dropbox, except that work doesn't allow the use of it so this portable USB thumb drive method is perfect for me.  Thanks for working this out. 🙂

Posted : 25/08/2020 3:10 pm
Share:

Please Login or Register