3d scan calc

From XuShuwenn/RedAct · View interactive version

3d scan calc is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Analyze 3D mesh files to calculate geometric properties (volume, components) and extract attribute data from STL files.

How to use this skill

Skill file

3D Scan Calculation

When to Use

Task-Protocol Overrides

Basic Workflow

  1. Inspect the workspace for provided helper scripts/tools that already parse the mesh or compute the requested geometry; prefer validated task-provided or existing mesh-analysis utilities over reimplementing STL parsing or connectivity analysis from scratch.
  1. Parse the STL file (binary format) only if needed
  1. Identify connected components
  1. Extract geometric properties (volume) and attributes
  1. Compute derived values (mass = volume × density)
  1. Before mass calculation, verify two prerequisites: (a) the exact material-ID-to-density row was explicitly retrieved, and (b) any unit conversion is supported by explicit evidence.
  2. If either prerequisite is missing, stop short of a definitive mass claim and state what remains unverified.
  1. Verify the full chain before final output: selected component -> material ID -> density lookup -> unit assumptions/conversion -> final arithmetic.
  2. If the task requires writing a result file or structured payload, validate the exact final artifact after writing: re-open/read it, confirm required fields and numeric values match your intended result, and fix any malformed serialization before finishing.
  1. If tooling or your own script produces multiple candidate results under different unit assumptions, do not pick one by convention; resolve the ambiguity from explicit evidence or report that no definitive physical quantity can be concluded.
  2. Follow any task-specific execution/output protocol literally. If the task or system message requires a specific tool-call format, schema, file path, or exact completion token, use that exact format and end exactly as required; do not substitute your usual tool syntax or a free-form closing message.

Important Notes

Verification Checklist

Verification Checklist

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.