
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
This project provides a Rust implementation for reading and reducing points from various 3D mesh file formats (STL, OBJ, PLY, and STEP) using a fast grid sampling method. The functionality is exposed to Python using PyO3.
Example usage in Python: click here.
pip install mesh-reducer
load_mesh(file_path: Path, clusters: int) -> List[Tuple[float, float, float]]
Reduces the number of points in a mesh file using fast grid clustering.
Args:
Returns:
List[Tuple[float, float, float]]
: A list of tuples containing the reduced points.
load_meshes(file_paths: List[Path], clusters: int) -> List[List[Tuple[float, float, float]]]
Reduces the number of points in multiple mesh files using fast grid clustering.
Args:
Returns:
List[List[Tuple[float, float, float]]]
: A list of lists of tuples containing the reduced points for each file.
This project is licensed under the MIT License.
FAQs
A Python package for reading STL, OBJ files and extracting points
We found that mesh-reducer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.