lsdo_genie.utils.data_extractors
Module Contents
Functions
|
Extract the point cloud data from a .stl file |
- lsdo_genie.utils.data_extractors.extract_stl_data(filename: str, verbose: bool = False)
Extract the point cloud data from a .stl file
- Parameters:
- filenamestr
The location of your file relative to your working directory when running
- verbosebool
Prints the number of points loaded to the terminal
- Returns:
- centroidsnp.ndarray(N,3)
The centroids of the triangulation
- normalsnp.ndarray(N,3)
The normal vectors of the associated centroids