<div dir="ltr">Hi Richard,<div><div>here what I found.</div><div><br></div><div><div><a href="https://grass.osgeo.org/grass78/manuals/g.extension.html">https://grass.osgeo.org/grass78/manuals/g.extension.html</a>    <br></div><div></div><div><br></div>The addons are installed in:</div><div><i>GRASS GIS extensions are installed by g.extension into a dedicated directory. The default is a directory for application data and settings inside the user's home directory. On GNU/Linux it is $HOME/.grass7/addons, on MS-Windows it is $APPDATA\GRASS7\addons. The name of the directory is stored in the GRASS_ADDON_BASE environmental variab</i>le.</div><div><br></div><div><br></div><div>If you want to put the addon in the bin folder of the GRASS you need to use -s flag:</div><div>"g.extension -s extension=v.transects"  </div><div><br></div><div>The flag -s changes this install target directory to the GRASS GIS installation directory (determined by GISBASE environmental variable, e.g. /usr/) rather than the default directory defined as per GRASS_ADDON_BASE (see also documentation for variables). g.extension checks if the user has permission to write to GISBASE or GRASS_ADDON_BASE.</div><div><br></div><div><br></div><div>So what I understand you can try to append the environment variable GRASS_ADDON_BASE in the custom variables inside QGIS settings (<a href="https://docs.qgis.org/3.16/en/docs/user_manual/introduction/qgis_configuration.html#system-settings">https://docs.qgis.org/3.16/en/docs/user_manual/introduction/qgis_configuration.html#system-settings</a>) or install directly in the GRASS directory using -s flag and this way probably you don't need to append the custom variable in QGIS settings. </div><div><br></div><div>After that if the GRASS addon isn't listed on the Processing menu yet, you need to add:</div><div><a href="https://qgis.org/en/site/getinvolved/development/addinggrasstools.html">https://qgis.org/en/site/getinvolved/development/addinggrasstools.html</a>  <br><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>I hope this helps you.</div><div><br></div>Best regards,<br><div>João Gaspar</div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Richard Duivenvoorde <<a href="mailto:rdmailings@duif.net">rdmailings@duif.net</a>> escreveu no dia sexta, 8/01/2021 à(s) 11:23:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Devs,<br>
<br>
In the Processing algorithms there is an algorithm 'Transect', which puts 'transects' on the vertices(!) of a Linestring.<br>
<br>
For a 'problem' I have I need the transect to be on known distances along the Linestring (so INdependent) of the vertices of that LineString.<br>
(the main problem are the vertices in the lines when the line makes a turn (is not straigh). For straight lines I can use densify to add the right amount of vertices)<br>
<br>
If I am correct, this grass addon, is exactly what I need:<br>
<br>
<a href="https://grass.osgeo.org/grass78/manuals/addons/v.transects.html" rel="noreferrer" target="_blank">https://grass.osgeo.org/grass78/manuals/addons/v.transects.html</a><br>
<br>
But, by default it is not available in QGIS algorithms.<br>
You even have to add it to GRAAS: you have to add it with:<br>
<br>
"g.extension extension=v.transects"<br>
<br>
(from <a href="https://gis.stackexchange.com/questions/290595/where-is-the-v-transects-algorithm-in-qgis" rel="noreferrer" target="_blank">https://gis.stackexchange.com/questions/290595/where-is-the-v-transects-algorithm-in-qgis</a>)<br>
<br>
The final solution is a Processing model, so my question is if I can (easily) make that Grass algorithm work in a Processing Model?<br>
<br>
Thanks for any pointers/input.<br>
<br>
Regards,<br>
<br>
Richard Duivenvoorde<br>
<br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div>