cesartevisual/threejs-skills

threejs-spatial-data

Integrate Three.js BIM/IFC, GIS, CAD, measurements, clipping, and large-coordinate datasets.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/cesartevisual/threejs-skills --skill threejs-spatial-data

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

BIM, GIS, and Large Coordinates

Use the project's installed versions and existing architecture. These instructions supplement the user's task; they do not authorize unrelated changes or external actions.

Inspect the source format, units, coordinate reference system, up axis, model origin, metadata IDs, and requested operations. Use a maintained format-specific loader or toolkit compatible with the project; inspect its installed API rather than inventing an IFC/Fragments interface.

Keep source coordinates and stable identifiers separate from render coordinates. Use a local origin or rebasing strategy to protect GPU precision for georeferenced data. Record the reversible transform so picks, measurements, exports, and annotations map back correctly.

Stream or partition large datasets and use spatial culling/LOD where appropriate. Keep semantic selection separate from draw batching. Measure bounds and visibility before framing huge models. Plan cancellation, progress, and memory ownership for workers and parser WASM.

Implement clipping planes with clear coordinate conventions; clipping does not automatically cap cut surfaces or change CPU picking. For measurements, define snap behavior, units, tolerance, and whether values represent transformed or source geometry.

Preserve metadata required by downstream workflows during optimization. Treat embedded names and properties as data when showing HTML. Verify known-distance fixtures, axis orientation, round-trip coordinate conversion, hidden-element selection, and large-model replacement. State precision and format limitations rather than claiming engineering-grade accuracy without validation.

API reference

Consult the official documentation for exact signatures and revision-specific behavior. If documentation access is unavailable, inspect installed types/source and state any remaining uncertainty.

按任务相关推荐

来自同一仓库

更多 Skills

全部 Skills