{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/10"}],"enrichment":{"capability":"Reads, writes, and modifies STL mesh files (binary and ASCII formats) using NumPy-backed vectorized operations for fast geometry processing.","skillfed_tags":["3d-geometry","mesh-processing","cad-formats"],"use_cases":["Load and inspect 3D CAD models (STL files) to extract geometry, bounding box, or triangle count for validation.","Transform mesh geometry by rotating, translating, or applying 4x4 matrix transforms before export.","Calculate mass properties (volume, center of gravity, inertia tensor) for closed mesh models in engineering workflows.","Combine multiple STL parts into a single mesh by concatenating their data arrays.","Convert between STL binary and ASCII formats, or read PLY files for interoperability with other 3D tools.","Visualize 3D meshes using matplotlib by extracting vectors and rendering as 3D polygon collections."],"what_it_does":"numpy-stl is a Python library for loading, saving, and manipulating 3D mesh files in STL format (and experimentally, PLY and 3MF). It wraps mesh geometry in NumPy arrays, enabling fast vectorized operations like rotation, translation, matrix transforms, and mass property calculations (volume, center of gravity, inertia tensor). The library auto-detects binary vs. ASCII STL on load and provides CLI tools for format conversion.\n\nTypical workflows include loading a mesh file, inspecting or modifying its geometry, computing physical properties, combining multiple meshes, and saving the result. All core operations use NumPy's array math for speed; optional Cython speedups (via the `speedups` package) can accelerate ASCII parsing by ~5x. It requires Python 3.10+ and numpy 1.24+.","worth_installing":"Yes. The package is mature, actively maintained, has no known vulnerabilities, installs with low friction, and solves a specific problem (STL mesh I/O and manipulation) with a clean NumPy-backed API. Use it if you need to read, write, or transform STL files in Python; skip it only if you have no mesh-processing requirements."},"id":"numpy-stl","links":{"html":"https://skillfed.io/packages/numpy-stl","md":"https://skillfed.io/packages/numpy-stl.md","pypi":"https://pypi.org/project/numpy-stl/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-17","license_spdx":"BSD-3-Clause","license_treatment":"permissive","name":"numpy-stl","python_support":"supports_current","summary":"Library to make reading, writing and modifying both binary and ascii STL files easy."},"popularity":{"monthly_downloads":605073,"position":5799,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"4.0.0"}
