Updated examples

This commit is contained in:
2025-05-28 15:54:15 +01:00
parent 8c4f664159
commit 571a1f096e
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
read_aconity_layers Documentation read_aconity_layers
================================== ==================================
A utility for fast reading of layer data from the aconity mini powder bed fusion machine. A utility for fast reading of layer data from the aconity mini powder bed fusion machine.
@@ -38,11 +38,11 @@ Quick Example
data = ral.read_layers("/path/to/layer/files/") data = ral.read_layers("/path/to/layer/files/")
# Read specific layer files # Read specific layer files
files = ["/path/to/layer1.pcd", "/path/to/layer2.pcd"] files = ["/path/to/0.01.pcd", "/path/to/0.02.pcd"]
data = ral.read_selected_layers(files) data = ral.read_selected_layers(files)
# Read a single layer # Read a single layer
layer = ral.read_layer("/path/to/layer.pcd") layer = ral.read_layer("/path/to/0.01.pcd")
Indices and tables Indices and tables
================== ==================

View File

@@ -51,7 +51,7 @@ For processing individual layers:
import read_aconity_layers as ral import read_aconity_layers as ral
# Read just one layer file # Read just one layer file
layer_data = ral.read_layer("/path/to/single_layer.pcd") layer_data = ral.read_layer("/path/to/0.01.pcd")
# Extract coordinates # Extract coordinates
x_coords = layer_data[:, 0] x_coords = layer_data[:, 0]