Hi. I want to use rhino on different machines, syncing all preferences that I frequently update.
It has nothing to do with rhino, but is it possible to assign a relative path to google drive for all the linked blocks/scripts I use?
something that ignores C:/user/ and goes directly to /google drive?
If Google Drive (don’t use it personally) is anything like Dropbox (what I do use), there is a folder (or number of folders) locally on your computer that get synced automatically to the cloud. That folder exists on all of your synced installations, anything you put in that folder on any of your machines gets synced to the cloud and all other machines.
So one way to do it is to make sure the path to your root synced folder is the same on all machines, like D:\Dropbox That’s the only way I know of to keep the paths the same everywhere for use with aliases and the like.
I do not know if you can sync files directly to the cloud without going through saving to a local folder first, maybe it’s possible, I’m no expert on that.
You don’t have to, I have (copies of) all my currently aliased Python scripts in a couple of different folders like D:\Dropbox\Scripts\AliasScripts. In the Python editor I set a path to this folder. You can add as many paths as you want. Then aliases like
NoEcho ! _-RunPythonScript "scriptfilename"
run fine without having to specify a path. In this case you do not even need to have the root folder in the same place, as long as you set the search path in the Python editor individually for each machine.
ah! great one! didnt know of “Module search paths”. thanks a lot.
too bad you cannot add “fake paths”, paths that work on other machines but dont exist here.
then i could easily export and import options without tweaking.
do you think its quicker to give a full path or let rhino search the module, … not having tried it?
btw… im very courious for helpful scripts. mind sharing some? i would too, but mine are basically the scripts provided by @pascal.
There are many here that have been posted in relation to some request. I probably have 1000 scripts in the 70-odd folders in my library, so I prefer simply to respond to requests (if possible) rather than broadcast. I have toolsets I put out for Windows as well as Mac, but they’re old now, I am in the process of revising the packages. I hope to get a chance to finish and post both toolsets some time early next year - won’t have much time until January.