/threecrate:threecratefrom threecrate
Process 3D scans, point clouds and meshes (PLY, PCD, XYZ, CSV, OBJ, STL) using the threecrate Python library. Cleans scans, aligns scans, repairs meshes for 3D printing, and measures size, area, volume, or heights.
Ships in threecrate. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
threecrate is a fast Rust library for point clouds and meshes with Python bindings (pip install threecrate). This skill drives it from short Python scripts.
If the threecrate MCP server is connected (tools such as inspect_point_cloud, repair_for_print, render), prefer those tools. Use this skill when it isn't.
Install into a virtual environment, never the system Python:
python -m venv .venv
.venv/bin/pip install threecrate numpy
Then run scripts with .venv/bin/python. On Windows the folder is Scripts, not bin: use .venv/Scripts/pip and .venv/Scripts/python in Git Bash or PowerShell, or .venv\Scripts\python in cmd.
analyze_mesh, render and repair_for_print need threecrate 0.12.1 or newer (0.12.1 writes printable meshes in millimetres). Check with pip show threecrate.
scripts/inspect_cloud.py <file> from this skill's folder. It prints the point count, bounds, median point spacing s and suggested parameters.tc.analyze_mesh(tc.read_mesh(path)) gives size, holes, pieces and whether it is printable.tc.render([before, after], "check.png") draws both side by side from five views. Open the PNG before you report.Base sizes on the median spacing s:
| Parameter | Start with |
|---|---|
voxel_downsample voxel size | 2*s (light) to 5*s (strong) |
remove_radius_outliers radius | 3*s, min_neighbors=5 |
extract_clusters tolerance | 3*s |
segment_plane threshold | 1*s to 2*s |
ball_pivoting_reconstruct radius | 2*s |
poisson_reconstruct trim_distance | 2*s to 3*s, open scans only |
import threecrate as tc
cloud = tc.read_point_cloud("scan.ply") # PLY, PCD, XYZ, CSV
mesh = tc.read_mesh("part.stl") # PLY, OBJ, STL
pts = cloud.to_numpy() # (N, 3) float32, and tc.PointCloud(pts) back
tc.write_point_cloud(cloud, "scan.clean.ply")
tc.write_mesh(mesh, "part.fixed.stl")
Very large clouds (tens of millions of points) need a lot of memory. Downsample first.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub rajgandhi1/threecrate --plugin threecrateOther plugins' skills for the same job