debug internal mesher

This commit is contained in:
Theophile Terraz committed 2025-11-19 15:26:09 +01:00
1 parent 97762756f8
commit ceff5f3083
3 files changed
+73 -39

No files matched your search

+13 -1
View File
@@ -251,11 +251,23 @@ class GeometryReachTableModel(PamhyrTableModel):
self.layoutChanged.emit()
def meshing(self, mesher, data, tableView):
new_profiles = mesher.meshing(
self._data,
**data
)
if new_profiles is None:
return
if len(new_profiles) == 0:
return
self.layoutAboutToBeChanged.emit()
self._undo.push(
MeshingCommand(
self._data, mesher, data, tableView
self._data, new_profiles, data, tableView
)
)