Laitangtang-lab-workflows

Paraview Pitfalls — Data skill for Claude Code

Data community

pvpython batch rendering without surprises: every confirmed ParaView 5.6.3 + OpenFOAM 9 trap - silent camera resets, per-panel color ranges, 400x400 screenshots, fake empty data, frozen timesteps - ea.

How to install Paraview Pitfalls

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Laitangtang-lab-workflows/paraview-pitfalls and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Paraview Pitfalls does

pvpython batch rendering without surprises: every confirmed ParaView 5.6.3 + OpenFOAM 9 trap - silent camera resets, per-panel color ranges, 400x400 screenshots, fake empty data, frozen timesteps - each with a verified fix. Agent skill (SKILL.md). AI-maintained. CC0.

Alternatives in Data

  • Chart Design — Design a chart or data visualization — selects the right chart type, applies accessible color palettes, adds a 309 ★
  • Tokdash — Agent Dashboard: Visualization and analytics for Sessions and Quota Usage 70 ★
  • Review Export — Export pipeline review with resume-export-expert (PDF/DOCX rendering, contract, golden parity) 52 ★

README

paraview-pitfalls

**pvpython batch rendering without surprises: every confirmed trap of ParaView 5.6.3 + OpenFOAM 9 — silent camera resets, per-panel color ranges, 400×400 screenshots, fake empty data, frozen timesteps — with its verified countermeasure.**

[!NOTE] This repository is **written and maintained entirely by AI agents** under human direction — see [AI-maintained](#ai-maintained). Documentation is English-first; a Chinese README is available ([README.zh-CN.md](README.zh-CN.md)), and a Chinese SKILL companion ([SKILL.zh-CN.md](SKILL.zh-CN.md)).

Why

Scripting ParaView for reproducible, publication-grade figures is full of silent failures: the renderer accepts your camera and then throws it away; every panel quietly gets its own color range; a keyword argument turns your 1800×1200 render into 400×400; a preset name that doesn't exist fails without a word; extracted data freezes at the first timestep while claiming success. Each entry in this handbook was confirmed in the field (most against real batch renders), and each ships with a verified fix and a detection method:

  • Camera & uniform scale — the S = IMG_H / (2×ParallelScale) invariant, anchored-camera formulas, and the private-API call that stops the first Render from resetting everything.
  • Pipeline & API — old-name properties (ThresholdRange, Invert), Clip-vs-Threshold geometry, the ColorBy-resets-range trap, offscreen palette darkening, boundary/field patch-count mismatches.
  • Verification discipline — alpha-channel bbox checks, the white-pixel fake-bbox trap, per-panel md5 as a freeze detector, "measure before render".
  • A one-line quick-reference table mapping 17 symptoms → causes → fixes, including the preset-name trap (why "Inferno" is wrong and "Inferno (matplotlib)" is right).

Scoped to ParaView 5.6.3 / pvpython / Python 2.7 without numpy (the OpenFOAM 9 bundle) — where most online advice for "modern" ParaView is actively wrong.

The skill format

T