Skip to content

Commit

Permalink
[node] add explanation to add new custom node
Browse files Browse the repository at this point in the history
  • Loading branch information
simogasp committed Nov 28, 2023
1 parent a3a9ef9 commit f40bf8c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions source/feature-documentation/core/nodes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ These allow the progress and performance of the process to be monitored.
API
+++

You can create custom nodes in python and make them available in Meshroom using the ``MESHROOM_NODES_PATH`` environment variable.

In a standard precompiled version of Meshroom, you can also directly add custom nodes in ``lib/meshroom/nodes``.
If the nodes are placed in a custom folder there should be a Python module (an ``__init__.py`` file is needed) in the folder for the nodes to be recognized by Meshroom, .

To add a new node, you need to create a Python class that inherits from ``desc.Node`` or ``desc.CommandLineNode``.

Naming
######

Expand Down

0 comments on commit f40bf8c

Please sign in to comment.