Updated README with building & installation instructions.
This commit is contained in:
parent
cbdf1c1321
commit
364cc75548
57
README.md
57
README.md
@ -20,24 +20,40 @@ This addon is a *proof of concept* demonstrating the following features:
|
|||||||
{F299745}
|
{F299745}
|
||||||
|
|
||||||
|
|
||||||
Installation
|
Building an installable ZIP file
|
||||||
------------
|
--------------------------------
|
||||||
|
|
||||||
Installation requires the [Pillar SDK](https://github.com/armadillica/pillar-python-sdk)
|
To build a ZIP file that can be installed by Blender, run
|
||||||
to be installed. It can either be installed regularly somewhere on
|
`python setup.py bdist`. This creates a ZIP file in the `dist`
|
||||||
the Python PATH, or be stored as a [wheel file](http://pythonwheels.com/)
|
directory. This command requires Git to be installed and available
|
||||||
at `blender_cloud/wheels/pillar_sdk-*.whl`.
|
from the CLI as `git`.
|
||||||
|
|
||||||
Installation also requires wheels for [CacheControl](https://pypi.python.org/pypi/CacheControl)
|
The addon requires:
|
||||||
and [lockfile](https://pypi.python.org/pypi/lockfile) to be placed in
|
|
||||||
`blender_cloud/wheels`, or installed somewhere where Blender can find
|
|
||||||
them.
|
|
||||||
|
|
||||||
The above requirements can be downloaded and built automatically
|
* The [Pillar Python SDK](https://github.com/armadillica/pillar-python-sdk)
|
||||||
by running the `build-dependency-wheels.sh` script. Only tested on
|
* [CacheControl](https://pypi.python.org/pypi/CacheControl)
|
||||||
Ubuntu Linux 14.04.
|
* [lockfile](https://pypi.python.org/pypi/lockfile), as this is a
|
||||||
|
dependency of CacheControl.
|
||||||
|
|
||||||
The addon requires HTTPS connections, and thus is dependent on
|
These dependencies should either be installed somewhere where Blender
|
||||||
|
can find them, or be bundled as wheel files in `blender_cloud/wheels`.
|
||||||
|
The `python setup.py bdist` command gathers the dependencies and bundles
|
||||||
|
them as wheel files.
|
||||||
|
|
||||||
|
Installing the addon
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
* To build the addon, run `python setup.py bdist` as described above.
|
||||||
|
* If you don't have one already, sign up for an account at
|
||||||
|
the [Blender ID site](https://www.blender.org/id/).
|
||||||
|
* As a final step, install and log in with the
|
||||||
|
[Blender ID addon](https://developer.blender.org/diffusion/BIA/).
|
||||||
|
* Install the Blender Cloud addon in Blender (User Preferences →
|
||||||
|
Addons → Install from file...) by pointing it to
|
||||||
|
`dist/blender_cloud*.addon.zip`.
|
||||||
|
* Enable the addon in User Preferences → Addons → System.
|
||||||
|
|
||||||
|
NOTE: The addon requires HTTPS connections, and thus is dependent on
|
||||||
[D1845](https://developer.blender.org/D1845). You can do either of
|
[D1845](https://developer.blender.org/D1845). You can do either of
|
||||||
these:
|
these:
|
||||||
|
|
||||||
@ -48,18 +64,13 @@ these:
|
|||||||
You can use the same file from your local requests installation, or
|
You can use the same file from your local requests installation, or
|
||||||
use `/etc/ssl/certs/ca-certificates.crt`.
|
use `/etc/ssl/certs/ca-certificates.crt`.
|
||||||
|
|
||||||
As a final step, install and log in with the
|
|
||||||
[Blender ID addon](https://developer.blender.org/diffusion/BIA/).
|
|
||||||
|
|
||||||
Running the addon
|
Running the addon
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
After installing the Blender Cloud addon, log in with the Blender ID
|
After installing the Blender Cloud addon, press Ctrl+Alt+Shift+A to
|
||||||
(in the addon preferences). Then activate the Blender Cloud addon,
|
activate it (yes, this needs work). Downloaded textures are loaded into
|
||||||
and press Ctrl+Alt+Shift+A to activate it (yes, this needs work).
|
image datablocks. The download location can be configured in the addon
|
||||||
Downloaded textures are loaded into image datablocks.
|
preferences.
|
||||||
The download location can be configured using the
|
|
||||||
`bpy.context.scene.blender_cloud_dir` property (no GUI yet).
|
|
||||||
|
|
||||||
|
|
||||||
Design
|
Design
|
||||||
|
Reference in New Issue
Block a user