
Product
Announcing Precomputed Reachability Analysis in Socket
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
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.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.