<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://forum.basement.ethz.ch/extern.php?action=feed&amp;fid=29&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[User Forum of Software BASEMENT / Grid Generation for BASEMENT v3]]></title>
		<link>https://forum.basement.ethz.ch/index.php</link>
		<description><![CDATA[The most recent topics at User Forum of Software BASEMENT.]]></description>
		<lastBuildDate>Thu, 18 Sep 2025 07:00:44 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[BaseMESH - export nodeID]]></title>
			<link>https://forum.basement.ethz.ch/viewtopic.php?id=5566&amp;action=new</link>
			<description><![CDATA[<p>One way to display node IDs in QGIS is:<br />1. Import the Mesh Layer<br />2. &quot;Export mesh vertices&quot; from the &quot;Mesh&quot; Processing Toolbox<br />3. Open attribute table of vertices vector layer and select id (see screenshot below)<br />4. Add the ID as a &quot;single label&quot; in the &quot;Label&quot; properties of the layer</p><p><span class="postimg"><img src="https://forum.basement.ethz.ch/img/responses/FieldCalculator.png" alt="add id field via field calculator" /></span></p>]]></description>
			<author><![CDATA[dummy@example.com (Matthias Bürgler)]]></author>
			<pubDate>Thu, 18 Sep 2025 07:00:44 +0000</pubDate>
			<guid>https://forum.basement.ethz.ch/viewtopic.php?id=5566&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Limiting area between adjacent triangles]]></title>
			<link>https://forum.basement.ethz.ch/viewtopic.php?id=5536&amp;action=new</link>
			<description><![CDATA[<p>Dear Marcos<br />you can try and play a bit with breaklines to define areas, and then with region points to define the max area!<br />Cheers<br />Matteo</p>]]></description>
			<author><![CDATA[dummy@example.com (Matteo Facchini)]]></author>
			<pubDate>Fri, 22 Aug 2025 08:57:19 +0000</pubDate>
			<guid>https://forum.basement.ethz.ch/viewtopic.php?id=5536&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Quality mesh - String Defs]]></title>
			<link>https://forum.basement.ethz.ch/viewtopic.php?id=5524&amp;action=new</link>
			<description><![CDATA[<p>Hi João</p><p>It could be that the stringdef lines do not match the mesh boundary. Sometimes redrawing the stringdefs and setting the line vertices on the vertices of the boundary with snapping helps. Otherwise I am not sure what reason could be.</p><p>Best regards,<br />Matthias</p>]]></description>
			<author><![CDATA[dummy@example.com (Matthias Bürgler)]]></author>
			<pubDate>Wed, 12 Jun 2024 08:28:53 +0000</pubDate>
			<guid>https://forum.basement.ethz.ch/viewtopic.php?id=5524&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Help using basemesh API for Segments and Mesh Interpolation]]></title>
			<link>https://forum.basement.ethz.ch/viewtopic.php?id=5508&amp;action=new</link>
			<description><![CDATA[<p>I am working to create a model that needs me to regenerate my meshes occasionally, and for efficiency&#039;s sake, this needs to happen in Python, not using a GUI in QGIS. I am using BASEMENT 4.02 and am familiar with the basemesh GUI and workflow in QGIS. However, I am new to using meshes rather than rasters in Python and I am having difficulties mapping the workflow in the GUI to workflow in Python. </p><p>I am struggling to understand Segment objects in basemesh. Are these equivalent to breaklines in the GUI? If I have a list of tuples of xyz coordinates across my model domain, including the xyz vertices of the breaklines as they would appear in QGIS, does each breakline become a Segment object using basemesh.triangle.Segment? If yes, then I have gotten basemesh.elevation_mesh(nodes, segments, keep_convex_hull = True) to create the elevation mesh object I need to now interpolate. Can I visualize the .node, .ele., or .poly files to check my work? If no, how do breaklines and Segment objects relate to each other and how do I generate the elevation mesh with a set of xyz points and breaklines?</p><p>Once I have created the elevation mesh object, and move to interpolating the mesh (I assume this is equivalent to generating the quality mesh and the computational mesh in one step rather than two like the GUI), I am getting an error on the very first line mesh = basemesh.Mesh.open(Elevation_Mesh) where Elevation_Mesh is the Mesh object created by basemesh.elevation_mesh. I get the message &quot;TypeError: expected str, bytes or os.PathLike object, not Mesh&quot; </p><p>If anyone has some example code they could point me towards, or has a few minutes to help me find additional documentation to learn this more methodically, I would really appreciate the assistance!</p>]]></description>
			<author><![CDATA[dummy@example.com (ClaireGilder)]]></author>
			<pubDate>Wed, 07 Feb 2024 21:50:53 +0000</pubDate>
			<guid>https://forum.basement.ethz.ch/viewtopic.php?id=5508&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[basemesh might be slower]]></title>
			<link>https://forum.basement.ethz.ch/viewtopic.php?id=5500&amp;action=new</link>
			<description><![CDATA[<p>Dear Base-community<br />is it just me, or since the last update basemesh has become slower?<br />Since basemesh 2.x, generating a mesh has been incredibly fast.<br />Lately, the &quot;Reading break lines...&quot; phase takes for ever.<br />I tested this with both QGIS 3.28 and 3.34.<br />Have anyone noticed the same behavior?<br />Cheers</p><p>PS: there&#039;s also something wrong with the info (see <a href="https://alpiorientalivenezia-my.sharepoint.com/:v:/g/personal/matteo_facchini_alpiorientalivenezia_onmicrosoft_com/EZ0Awm_fbg9PlQ2_X35MxtoBzJ1gOWVUqwEfo9U7LcpGig?e=zTBqnb" rel="nofollow">this video</a>)</p><br /><p><strong>EDIT</strong>: it might be due to very complex breaklines, with several vertices. A request: it might be useful to give more info regarding the duplicated vertices that are merged and so on. I would like to know where those are, for example.</p>]]></description>
			<author><![CDATA[dummy@example.com (Matteo Facchini)]]></author>
			<pubDate>Wed, 20 Dec 2023 14:31:35 +0000</pubDate>
			<guid>https://forum.basement.ethz.ch/viewtopic.php?id=5500&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[QGIS Stringdef crash]]></title>
			<link>https://forum.basement.ethz.ch/viewtopic.php?id=5492&amp;action=new</link>
			<description><![CDATA[<p>Just to be sure: have you tried without the ncell?</p>]]></description>
			<author><![CDATA[dummy@example.com (Matteo Facchini)]]></author>
			<pubDate>Thu, 31 Aug 2023 13:46:01 +0000</pubDate>
			<guid>https://forum.basement.ethz.ch/viewtopic.php?id=5492&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Error in interpolation]]></title>
			<link>https://forum.basement.ethz.ch/viewtopic.php?id=5449&amp;action=new</link>
			<description><![CDATA[<p>Follow-up specifically regarding Node ID orderings:</p><p>Hole markers in Triangle work by first triangulating the entire mesh and subsequently deleting any elements that were within the region that was flagged as a hole. There are circumstances in which this leaves a node in the middle of the carved-out region:</p><p>- Adjacent hole regions may leave nodes behind that were part of the boundary between the two holes<br />- Manually-placed input points (such as elevation grids) may fall within a hole region</p><p>In BASEmesh v2.0, these disjoint nodes can cause gaps in the node ID sequence. Upcoming versions will address this issue, for BASEmesh v2.0.11 a workaround may be to set the &quot;j&quot; (jettison) flag in the &quot;Extra arguments&quot; field of the quality meshing tool. This causes Triangle to delete any disjoint nodes along with the last element they were attached to, which avoids this issue.</p><p>Best,<br />Leonhard</p>]]></description>
			<author><![CDATA[dummy@example.com (leonhard_s)]]></author>
			<pubDate>Thu, 22 Sep 2022 09:55:26 +0000</pubDate>
			<guid>https://forum.basement.ethz.ch/viewtopic.php?id=5449&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Error in interpolation]]></title>
			<link>https://forum.basement.ethz.ch/viewtopic.php?id=5443&amp;action=new</link>
			<description><![CDATA[<p>Hi,<br />Hi have a quality mesh that I wish to Z interpolate using a raster (DEM).<br />When doing so I got this error:</p><p><strong>FormatError: Zero index encountered in non-zero-indexed file, C:/Users/joaop/Drive IST/PhD/MAPUTO/SIG/MESH/Modelacao_MAPUTO_quality-mesh.2dm, 3 </strong></p><p><strong>Traceback (most recent call last):</strong><br />&#160; File &quot;C:\Users/joaop/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\basemesh\plugin\gui\worker.py&quot;, line 90, in run<br />&#160; &#160; value = self.target(self.feedback, *self.args, **self.kwargs)<br />&#160; File &quot;C:\Users/joaop/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\basemesh\plugin\gui\interpol.py&quot;, line 216, in worker<br />&#160; &#160; interpol_mesh = Mesh.open(target_layer.source())<br />&#160; File &quot;C:\Users/joaop/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\basemesh\core\mesh.py&quot;, line 310, in open<br />&#160; &#160; with py2dm.Reader(filename) as reader:<br />&#160; File &quot;C:\Users\joaop\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\basemesh\packages\py2dm-0.2.1-py3-none-any.whl\py2dm\_read.py&quot;, line 72, in __enter__<br />&#160; &#160; self.open()<br />&#160; File &quot;C:\Users\joaop\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\basemesh\packages\py2dm-0.2.1-py3-none-any.whl\py2dm\_read.py&quot;, line 432, in open<br />&#160; &#160; super().open()<br />&#160; File &quot;C:\Users\joaop\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\basemesh\packages\py2dm-0.2.1-py3-none-any.whl\py2dm\_read.py&quot;, line 279, in open<br />&#160; &#160; *scan_metadata(file_, self._filepath, self._zero_index))<br />&#160; File &quot;C:\Users\joaop\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\basemesh\packages\py2dm-0.2.1-py3-none-any.whl\py2dm\_parser\_pyparser.py&quot;, line 183, in scan_metadata<br />&#160; &#160; raise FormatError(<br />py2dm.errors.FormatError: (&#039;Zero index encountered in non-zero-indexed file&#039;, &#039;C:/Users/joaop/Drive IST/PhD/MAPUTO/SIG/MESH/Modelacao_MAPUTO_quality-mesh.2dm&#039;, 3)</p><p>Any help on this?!<br />Thanks</p>]]></description>
			<author><![CDATA[dummy@example.com (JBarreiro)]]></author>
			<pubDate>Wed, 18 May 2022 15:16:54 +0000</pubDate>
			<guid>https://forum.basement.ethz.ch/viewtopic.php?id=5443&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Steps at the edge of the river channel]]></title>
			<link>https://forum.basement.ethz.ch/viewtopic.php?id=5429&amp;action=new</link>
			<description><![CDATA[<p>Hi Jonathan,</p><p>you can create some raster to generate some DTM patches. Then, when you are interpolating the mesh, select the &quot;advanced&quot; tab instead of the &quot;basic&quot;. There you can select any raster you want to interpolate the quality mesh. The order of the rasters (up--&gt;bottom) gives the order of the interpolation (the highest raster in the list will be used as first raster to interpolate, the second as second and so on).</p><p>Cheers,<br />Matteo</p>]]></description>
			<author><![CDATA[dummy@example.com (Matteo Facchini)]]></author>
			<pubDate>Mon, 07 Mar 2022 14:16:16 +0000</pubDate>
			<guid>https://forum.basement.ethz.ch/viewtopic.php?id=5429&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[adjust cell size in basemesh]]></title>
			<link>https://forum.basement.ethz.ch/viewtopic.php?id=5420&amp;action=new</link>
			<description><![CDATA[<p>Hi Matteo,</p><p>thanks for your answer. <br />I found the problem already, it was the coordiante system (KBS) that wasn&#039;t metric...</p><p>Best, <br />Jonathan</p>]]></description>
			<author><![CDATA[dummy@example.com (Schneider)]]></author>
			<pubDate>Mon, 24 Jan 2022 09:39:23 +0000</pubDate>
			<guid>https://forum.basement.ethz.ch/viewtopic.php?id=5420&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[upstream/downstream flume]]></title>
			<link>https://forum.basement.ethz.ch/viewtopic.php?id=5351&amp;action=new</link>
			<description><![CDATA[<p>Sorry, I can&#039;t upload a pic from gdrive, will try again tomorrow.</p>]]></description>
			<author><![CDATA[dummy@example.com (Matteo Facchini)]]></author>
			<pubDate>Mon, 16 Nov 2020 18:18:13 +0000</pubDate>
			<guid>https://forum.basement.ethz.ch/viewtopic.php?id=5351&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[material indices disregarded in xl mesh generation]]></title>
			<link>https://forum.basement.ethz.ch/viewtopic.php?id=5345&amp;action=new</link>
			<description><![CDATA[<p>Hey, glad you solved your problem.<br />Sure, all layers must have the same projection of the QGIS project!<br />Cheers</p>]]></description>
			<author><![CDATA[dummy@example.com (Matteo Facchini)]]></author>
			<pubDate>Mon, 16 Nov 2020 15:41:35 +0000</pubDate>
			<guid>https://forum.basement.ethz.ch/viewtopic.php?id=5345&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Material Indices Question]]></title>
			<link>https://forum.basement.ethz.ch/viewtopic.php?id=5304&amp;action=new</link>
			<description><![CDATA[<p>Hi Matthias,</p><p>Makes total sense. Thank you!</p><p>Best regards,<br />Cris</p>]]></description>
			<author><![CDATA[dummy@example.com (CH90s)]]></author>
			<pubDate>Thu, 21 May 2020 06:30:51 +0000</pubDate>
			<guid>https://forum.basement.ethz.ch/viewtopic.php?id=5304&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Question on noncohesive dams]]></title>
			<link>https://forum.basement.ethz.ch/viewtopic.php?id=5305&amp;action=new</link>
			<description><![CDATA[<p>Hi everyone,</p><p>When trying to add noncohesive dams (moraine dams) when generating mesh, is it best practice to assign a hole to the region where the dam might be? If not what breakline assignation might be most appropriate for this type of structure? </p><p>Cheers,<br />Cris</p>]]></description>
			<author><![CDATA[dummy@example.com (CH90s)]]></author>
			<pubDate>Fri, 15 May 2020 00:28:40 +0000</pubDate>
			<guid>https://forum.basement.ethz.ch/viewtopic.php?id=5305&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[BASEmesh version 1.4.5 available]]></title>
			<link>https://forum.basement.ethz.ch/viewtopic.php?id=5252&amp;action=new</link>
			<description><![CDATA[<p>Ciao Matteo,</p><p>thanks for pointing out. In fact, we tested the plugin for QGIS version 3.10</p><p>Cheers from Zürich!</p>]]></description>
			<author><![CDATA[dummy@example.com (Stephan Kammerer)]]></author>
			<pubDate>Wed, 29 Jan 2020 17:00:56 +0000</pubDate>
			<guid>https://forum.basement.ethz.ch/viewtopic.php?id=5252&amp;action=new</guid>
		</item>
	</channel>
</rss>
