mirror of
https://github.com/Cian-H/read_aconity_layers.git
synced 2025-12-23 02:31:57 +00:00
Updated examples
This commit is contained in:
@@ -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
|
||||||
==================
|
==================
|
||||||
|
|||||||
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user