Notifications
Clear all

Portable install?  

Page 1 / 2
  RSS
mrstoned
(@mrstoned)
Reputable Member
Portable install?

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?

Prusa Mini+ kit. BondTech extruder. FW 5.1.2
Prusa MK3S+ kit. Stock. FW 3.11.0
Prusa MK3S+, used. Stock. FW 3.13.3

Posted : 12/08/2020 11:57 am
Yveske
(@yveske)
Estimable Member
RE: Portable install?

Have you thought about using remote desktop ?

Having problems with bed adhesion every morning...

Posted : 12/08/2020 12:08 pm
mrstoned
(@mrstoned)
Reputable Member
Topic starter answered:
RE: Portable install?

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

Prusa Mini+ kit. BondTech extruder. FW 5.1.2
Prusa MK3S+ kit. Stock. FW 3.11.0
Prusa MK3S+, used. Stock. FW 3.13.3

Posted : 12/08/2020 12:17 pm
Neophyl
(@neophyl)
Illustrious Member
RE: Portable install?

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 1:21 pm
mrstoned
(@mrstoned)
Reputable Member
Topic starter answered:
RE: Portable install?

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.

Prusa Mini+ kit. BondTech extruder. FW 5.1.2
Prusa MK3S+ kit. Stock. FW 3.11.0
Prusa MK3S+, used. Stock. FW 3.13.3

Posted : 12/08/2020 2:12 pm
bobstro
(@bobstro)
Illustrious Member
RE: Portable install?

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 7:18 pm
Neophyl
(@neophyl)
Illustrious Member
RE: Portable install?

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 7:45 pm
bobstro
(@bobstro)
Illustrious Member
RE: Portable install?
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 7:51 pm
towlerg
(@towlerg)
Noble Member
RE: Portable install?

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 1:12 am
mrstoned
(@mrstoned)
Reputable Member
Topic starter answered:
RE: Portable install?

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.

Prusa Mini+ kit. BondTech extruder. FW 5.1.2
Prusa MK3S+ kit. Stock. FW 3.11.0
Prusa MK3S+, used. Stock. FW 3.13.3

Posted : 13/08/2020 8:41 am
mrstoned
(@mrstoned)
Reputable Member
Topic starter answered:
RE: Portable install?

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 🙂

 

Prusa Mini+ kit. BondTech extruder. FW 5.1.2
Prusa MK3S+ kit. Stock. FW 3.11.0
Prusa MK3S+, used. Stock. FW 3.13.3

Posted : 13/08/2020 8:36 pm
PwrSrg liked
Neophyl
(@neophyl)
Illustrious Member
RE: Portable install?

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 2:10 pm
Prawnz
(@prawnz)
New Member
RE: Portable install?

You can do it via a Shortcut link where you can then pin to the taskbar if you like. The target command to use is 

C:\Windows\System32\cmd.exe /c start "" .\prusa-slicer.exe --datadir .\profiles

Set the Start in to the location where prusa-slicer.exe is found.

Icon will be ugly but you can change it to the Prusa Slicer icon via the properties for the shortcut link

Posted : 06/10/2021 12:37 pm
towlerg
(@towlerg)
Noble Member

Any USB device that has a serial number will use the last drive letter selected (where appropriate). This is obviously a function of the OS.

Posted : 06/10/2021 12:47 pm
mrstoned
(@mrstoned)
Reputable Member
Topic starter answered:
Careful on updates

I updated my 2.3.1 to 2.3.3 yesterday (i did do a full backup first).

And it will wipe the install-dir of any custom profiles and non-original files.

I had to copy back the "profiles" directory as well as the ps-start.bat file.

I guess the standalone download from github could work. I used the full driver-package install.

 

As always, ymmv.

Prusa Mini+ kit. BondTech extruder. FW 5.1.2
Prusa MK3S+ kit. Stock. FW 3.11.0
Prusa MK3S+, used. Stock. FW 3.13.3

Posted : 06/10/2021 4:12 pm
bobstro
(@bobstro)
Illustrious Member
Check out --datadir and other options
Posted by: @mrstoned

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

You can use the --datadir command-line option to specify the location of config files. The Slic3r manpage has details.

I have been able to use relative paths with config bundles, but haven't tried this with --datadir. Something like ".\dirname" might work.

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 : 06/10/2021 5:55 pm
Diem
 Diem
(@diem)
Illustrious Member

The simplest way to do this is to make a bootable usb device, install Puppy Linux or similar and install your selection of design software plus slicer.  That way you carry a complete environment in your pocket.

Alternatively. if you're always on the same network, plug a usb drive into your router and use it as a NAS.

Cheerio,

Posted : 06/10/2021 6:18 pm
Swiss_Cheese
(@swiss_cheese)
Noble Member
Have you considered Dropbox?

Maybe I'm just not understanding the problem fully, but I just use Dropbox. you can save the project (.3mf) into Dropbox and access it from any terminal using Prusa slicer and as long as you are connected you will always have the most up to date version of your project.

 

Hope this helps

 

Swiss_Cheese

The Filament Whisperer

Posted : 06/10/2021 7:19 pm
geekandi liked
Diem
 Diem
(@diem)
Illustrious Member

I just use Dropbox. you can save the project (.3mf) into Dropbox and access it from any terminal

The idea of a central store is sound - which is why I suggested a basic NAS, much faster than remote storage.

I wouldn't trust Dropbox, or any cloud service, especially not the free versions.   I recall the backup system snapshot we stored there until, a few months later when we needed it, the whole account had evaporated.  And their security record is dire...

Cheerio,

Posted : 07/10/2021 2:51 am
Swiss_Cheese
(@swiss_cheese)
Noble Member
Portable install?

@diem

 

Wow, that sounds like an awful experience, no one could blame you for feeling that way. fortunately I've not had this happen, however we keep a back up in more then one location.

 

Good Luck

 

Swiss_Cheese

The Filament Whisperer

Posted : 07/10/2021 4:49 am
Page 1 / 2
Share: