processing / processing-docs

[Deprecated] Processing reference, examples, tutorials, and website
https://processing.org
371 stars 179 forks source link

location of Processing folder, Sketchbook and libraries #790

Closed andrei186 closed 4 years ago

andrei186 commented 4 years ago

https://processing.org/tutorials/gettingstarted/
Getting Started by Casey Reas and Ben Fry it reads: On Windows... the important thing is for the processing folder to be pulled out of that .zip file.

What is meant by processing folder to be pulled out of that .zip file?

Does it simply mean that when that ZIP file is unzipped, the processing folder should be added somewhere on my HD?

On my Windows PC I created a separate logical disk G: for Processing. I downloaded the ZIP file onto G: and unzipped it onto G:. As a result I got on G: the following folders:

core java lib modes tools

as well as files:

processing.exe processing-java.exe revisions.txt

No processing folder

However Processing folder was created on C:\Documents and Settings\My documents\ And there is no Sketchbook folder anywhere.

The test sketch worked fine but attempt to use "Save" saved it to C:\Documents and Settings\My documents\Processing Save_as options show no Sketchbook folder

Questions:

  1. Is it important that Processing is sitting where it was placed by default on C: drive or it can be moved to G: ?

  2. When I install a library where it gets installed? This might be connected to thew previous question. I.e. if I move Processing folder, the sketch might fail to find the library - is this the case?

  3. If Sketchbook folder is not created automatically, I can create it manually. Where exactly it should be placed to maintain links between the sketches, processing.exe file, installed libraries and folders core, java, lib, modes and tools?

REAS commented 4 years ago
  1. Processing can be on any drive
  2. Libraries are automatically installed in the "libraries" folder that is within your Sketchbook folder location
  3. You can make any folder on your computer the Sketchbook. The sketchbook location is set in the Preferences.
srghma commented 2 years ago

can I set sketchbook location from environment variable for processing-java program?