LoopStructural icon indicating copy to clipboard operation
LoopStructural copied to clipboard

Adding the function to add dataframe as pts with nesting in geohy5.py

Open LaurentAilleres opened this issue 2 months ago • 0 comments

Adding the function to add dataframe as pts with nesting in geohy5.py points a pd.DataFrame() with columns: X, Y, Z, if normal property 'nx', 'ny', 'nz' are present they will be imported. Possibility to nestled into a group with a parent. Parent group must exist prior.

Usage: add_points_from_df('$path_to/project.geoh5", points, overwrite=True, child=ptsname, parent = parentgrp )

LaurentAilleres avatar Nov 19 '25 22:11 LaurentAilleres