model.point_cloud
Import and export point-cloud CSV data.
3 functions / 0 types
Index
| Function | Description |
|---|---|
| export_csv_string | Export a point cloud in the model store to a CSV string. |
| import_csv | Load a point cloud from a CSV. |
| import_csv_string | Load a point cloud from an inline CSV string into the model store. |
export_csv_string
def export_csv_string(*, model: types.RemoteHandle, _transaction_id: str | None = None) -> strExport a point cloud in the model store to a CSV string.
Returns str.
model : RemoteHandle
Guid of the point cloud to export (hyphenated UUID string).
_transaction_id optional : str | None
Transaction to join. Omit to submit without an explicit transaction. Defaults to None.
import_csv
def import_csv(
*,
path: str,
header_config: types.model.csv.HeaderConfigMap,
_transaction_id: str | None = None
) -> types.RemoteHandleLoad a point cloud from a CSV.
Returns RemoteHandle.
path : str
Path to the CSV
header_config : HeaderConfigMap
Import configuration for each CSV column, keyed by the column’s header name.
_transaction_id optional : str | None
Transaction to join. Omit to submit without an explicit transaction. Defaults to None.
import_csv_string
def import_csv_string(
*,
csv: str,
header_config: types.model.csv.HeaderConfigMap,
_transaction_id: str | None = None
) -> types.RemoteHandleLoad a point cloud from an inline CSV string into the model store.
Returns RemoteHandle.
csv : str
CSV content (header row plus one row per point).
header_config : HeaderConfigMap
Import configuration for each CSV column, keyed by the column’s header name.
_transaction_id optional : str | None
Transaction to join. Omit to submit without an explicit transaction. Defaults to None.