Skip to content

Make models available via processing toolbox/algorithms #355

@Marwe

Description

@Marwe

Feature description

Processing scripts and models do not appear in Toolbox after a resource is added.

Resources are copied to $profile/resource_sharing/collections/ but the models folder in processing settings points to $profile/processing/models/.
I would like to create smaller generic models that depend on each other, as described in documentation:

27.5. The model designer — QGIS Documentation documentation
Models loaded from the models folder appear not only in the toolbox, but also in the algorithms tree in the Algorithms tab of the modeler window. That means that you can incorporate a model as a part of a bigger model, just like other algorithms.

I would be nice to have a way to integrate models from resources into the toolbox.
For now I create softlinks manually (Linux here, so no big deal), alternatively models can be added via processing toolbox -> models icon/menu -> add model to toolbox and will be copied over.

I don't know if this is a restriction of QGIS core (only one path for models, could be multiple) or if the resource plugin could be a 'provider' and if that would help anyways.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions