mesh-analysis

Analyze STL files to compute volume and extract per-triangle attributes.

4|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/GeneralReasoning/env-skillsbench --skill mesh-analysis-generalreasoning
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mesh-analysis
Source: https://github.com/GeneralReasoning/env-skillsbench/tree/main/3d-scan-calc/environment/skills/mesh-analysis
Command: npx skills add https://github.com/GeneralReasoning/env-skillsbench --skill mesh-analysis-generalreasoning

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Mesh analysis of 3D STL data to compute volumes, identify connected components, and extract per-triangle attribute data to support quality control and part isolation in noisy scans.

Core Features & Use Cases

  • Geometric analysis: compute total mesh volume and identify the largest connected component.
  • Noise filtering: isolate the largest component from noisy scan data.
  • Attribute extraction: read per-triangle attributes (e.g., material IDs) if present.

Quick Start

Run MeshAnalyzer on your STL file to obtain the main part's volume and material data.

Frequently Asked Questions about mesh-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compute the volume of an STL file for 3D printing quality control?

To compute STL volume for quality control, you analyze the 3D mesh to calculate total geometric volume. This Skill processes binary and ASCII STL files to instantly extract the total volume and identify the largest connected component.

What is the best way to isolate the largest connected component from noisy 3D scan data?

Isolating the largest connected component from noisy 3D scan data requires separating distinct geometric components within the mesh. This analysis tool filters noise by identifying and extracting only the primary connected component from the STL file.

Does STL mesh analysis support extracting per-triangle attributes like material IDs?

STL mesh analysis supports extracting per-triangle attributes like material IDs when they are present in the file. The analyzer reads these attributes and returns the material ID alongside the computed volume of the largest component.

Can I analyze both binary and ASCII STL files for reverse engineering workflows?

You can analyze both binary and ASCII STL files for reverse engineering workflows. The mesh analyzer accepts valid STL files in either format to compute volumes and extract geometric data for manufacturing preparation.

What are the limitations of STL volume analysis for 3D scan data preparation?

STL volume analysis is limited by the requirement for a valid STL file and only returns the largest component's volume. If the mesh contains severe geometric errors or missing triangles, the volume computation may be inaccurate for manufacturing preparation.