-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
485b5d9
commit d0f0caa
Showing
10 changed files
with
234 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,36 @@ | ||
******************************************************************************** | ||
Installation | ||
******************************************************************************** | ||
|
||
Stable | ||
====== | ||
|
||
Stable releases are available on PyPI and can be installed with pip. | ||
|
||
.. code-block:: bash | ||
pip install compas_session | ||
Latest | ||
====== | ||
|
||
The latest version can be installed from local source. | ||
|
||
.. code-block:: bash | ||
git clone https://github.com/blockresearchgroup/compas_session.git | ||
cd compas_session | ||
pip install -e . | ||
Development | ||
=========== | ||
|
||
To install `compas_session` for development, install from local source with the "dev" requirements. | ||
|
||
.. code-block:: bash | ||
git clone https://github.com/blockresearchgroup/compas_session.git | ||
cd compas_session | ||
pip install -e ".[dev]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,20 @@ | ||
******************************************************************************** | ||
Tutorial | ||
******************************************************************************** | ||
|
||
More info coming soon ... | ||
|
||
|
||
.. code-block:: python | ||
from compas.datastructures import Mesh | ||
from compas_session.namedsession import NamedSession | ||
session = NamedSession("COMPAS") | ||
scene = session.scene() | ||
mesh = Mesh.from_meshgrid(10, 10) | ||
scene.add(mesh) | ||
scene.record("Add Mesh") | ||
session.dump("session.json") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
from __future__ import print_function | ||
|
||
import os | ||
|
||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters