-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from compas-dev/update/doc-first-release
Update/Doc and the First Release
- Loading branch information
Showing
71 changed files
with
616 additions
and
459 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
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,5 @@ compas_viewer.components | |
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
components/render | ||
components/renderer | ||
|
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 |
---|---|---|
@@ -0,0 +1,67 @@ | ||
|
||
******************************************************************************** | ||
API Reference | ||
******************************************************************************** | ||
|
||
This package provides a viewer for COMPAS. | ||
|
||
Viewer | ||
------ | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:titlesonly: | ||
|
||
compas_viewer.viewer | ||
|
||
|
||
Scene and Objects | ||
----------------- | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:titlesonly: | ||
|
||
compas_viewer.scene | ||
|
||
|
||
Controller and Actions | ||
---------------------- | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:titlesonly: | ||
|
||
compas_viewer.controller | ||
compas_viewer.actions | ||
|
||
|
||
Components and Configurations | ||
----------------------------- | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:titlesonly: | ||
|
||
compas_viewer.components | ||
compas_viewer.configurations | ||
|
||
|
||
Layout and UI | ||
-------------------- | ||
.. toctree:: | ||
:maxdepth: 1 | ||
:titlesonly: | ||
|
||
compas_viewer.layout | ||
|
||
|
||
Utilities | ||
--------- | ||
.. toctree:: | ||
:maxdepth: 1 | ||
:titlesonly: | ||
|
||
compas_viewer.utilities | ||
|
||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
|
||
******************************************************************************** | ||
Examples | ||
******************************************************************************** | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:titlesonly: | ||
:glob: | ||
:maxdepth: 1 | ||
:titlesonly: | ||
:caption: Basic Examples | ||
|
||
examples/basics | ||
basics |
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,33 +1,70 @@ | ||
:html_theme.sidebar_secondary.remove: true | ||
|
||
******************************************************************************** | ||
compas_viewer | ||
COMPAS Viewer | ||
******************************************************************************** | ||
|
||
.. rst-class:: lead | ||
|
||
Standalone viewer for COMPAS | ||
Standalone viewer for COMPAS 2.0 with features: | ||
|
||
|
||
.. .. figure:: /_images/ | ||
* **Fully COMPAS Support**: Full support for all :compas:`compas.geometry` (primitives, shapes, network, mesh, assembly, model, etc.) based on :compas:`compas.scene` structure ... | ||
* **Universal Architecture**: Full support Mac, Windows, and Linux with Python 3.9+. More various platforms are coming soon ... | ||
* **Installation Friendly**: Depend only on COMPAS, OpenGL and PySide6. Installation with pip is fast and easy ... | ||
* **Flexible Customization**: Flexible customize your own UI layout with buttons, render display with colors, action with keyboard preferences ... | ||
* **Data-driven Visualization**: Visualize your assembly data, mesh data, network data, and more with :compas:`compas.datastructures` ... | ||
* **Easy-to-use Interaction**: Action-based interaction with mouse and keyboard, and easy-to-use API for your own interaction ... | ||
|
||
.. figure:: /_images/PLACEHOLDER.png | ||
:figclass: figure | ||
:class: figure-img img-fluid | ||
|
||
Installation | ||
============ | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:titlesonly: | ||
|
||
installation | ||
|
||
|
||
Table of Contents | ||
================= | ||
Tutorials | ||
========= | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
:titlesonly: | ||
:maxdepth: 2 | ||
:titlesonly: | ||
|
||
tutorials/index | ||
|
||
|
||
Examples | ||
======== | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:titlesonly: | ||
|
||
examples/index | ||
|
||
|
||
API Reference | ||
============= | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
api/index | ||
|
||
Introduction <self> | ||
installation | ||
tutorials | ||
examples | ||
api | ||
license | ||
History | ||
======= | ||
COMPAS Viewer is the next generation of :mod:`compas_view2` which is beased on the 1.0 version of :mod:`compas`. | ||
Experiencing years' iteraions, this new version of COMPAS Viewer is stabliy designed for wider senarios and use cases. | ||
|
||
|
||
Indices and tables | ||
================== | ||
|
||
* :ref:`genindex` | ||
* :ref:`modindex` | ||
* :ref:`search` |
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,33 @@ | ||
******************************************************************************** | ||
Installation | ||
******************************************************************************** | ||
COMPAS Viewer can be easily installed on multiple platforms, using popular package managers such as conda or pip. | ||
|
||
If you don't have COMPAS installed | ||
=================================== | ||
Check out the COMPAS installation instructions at https://compas.dev/compas/latest/userguide/installation.html | ||
|
||
If you have COMPAS installed | ||
============================ | ||
Activate your COMPAS environment and install COMPAS Viewer from `pip`. | ||
|
||
.. code-block:: bash | ||
pip install compas_viewer | ||
Verify the installation | ||
======================= | ||
COMPAS Viewer can be simply lunched by the following command in your terminal: | ||
|
||
.. code-block:: bash | ||
python -m compas_viewer | ||
Update with pip | ||
=============== | ||
Update COMPAS Viewer to the latest version with pip. | ||
|
||
.. code-block:: bash | ||
pip install --upgrade compas_viewer | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
******************************************************************************** | ||
File Structure | ||
******************************************************************************** | ||
|
||
.. ::`compas_viewer` reads its customized ::`.viewer` file. The file architecture is designed for better data exchange, collaboration, and communication. | ||
.. Concept | ||
.. =========== | ||
.. 1. **Folder-based** : ::`.viewer` file is a `.zip` folder (archive) that contains files in various formats. | ||
.. 2. **Extendability** : ::`.viewer` file could contain any type of files. The core functions of viewer are `.json` based and the invoking functions are dictionary-find based, meaning that only missing parameters will cause the loading failure while redundant parameters will only be ignored. | ||
.. Quick Look | ||
.. ========== |
Oops, something went wrong.