Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use plugins to define rhino installable packages
- Loading branch information
1 parent
4d1101c
commit 888a76c
Showing
11 changed files
with
149 additions
and
26 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 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 |
---|---|---|
|
@@ -48,6 +48,7 @@ Table of Contents | |
gettingstarted | ||
tutorial | ||
api | ||
plugins | ||
devguide | ||
changelog | ||
license | ||
|
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,32 @@ | ||
================ | ||
Extension points | ||
================ | ||
|
||
COMPAS has an extensible architecture based on plugins that allows to | ||
customize and extend the functionality of the core framework. | ||
|
||
The following **extension points** are currently defined: | ||
|
||
Category: ``booleans`` | ||
^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. currentmodule:: compas.geometry | ||
.. autosummary:: | ||
:toctree: generated/ | ||
:nosignatures: | ||
|
||
boolean_union_mesh_mesh | ||
boolean_difference_mesh_mesh | ||
boolean_intersection_mesh_mesh | ||
|
||
Category: ``install`` | ||
^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. currentmodule:: compas_rhino.install | ||
.. autosummary:: | ||
:toctree: generated/ | ||
:nosignatures: | ||
|
||
installable_rhino_packages | ||
|
||
Check out the developer guide to :ref:`plugins` for additional details. |
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 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,6 @@ | ||
import compas.plugins | ||
|
||
|
||
@compas.plugins.plugin(category='install') | ||
def installable_rhino_packages(category='install'): | ||
return ['compas_ghpython'] |
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 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