Files
PerfectCoffee/.gitignore
T
Yanchen 330a7fc19c chore: ignore playtest render output
Frame checks, preview stills and demo videos under playtests/ are
regenerated by build_animation.py and render_whitebox.py, so keep them out
of version control. The .blend scenes, scripts and validation.json stay
tracked, and the juicer control-panel demo joins the same rule.

Also drop the ten .DS_Store files that Finder keeps recreating.
2026-11-22 10:43:43 +08:00

67 lines
2.3 KiB
Plaintext

# Python-generated files
__pycache__/
*.py[oc]
build/
dist/
wheels/
*.egg-info
# Virtual environments
.venv
# macOS
.DS_Store
# Agent tooling state (local MCP config, caches)
.kimi-code/
# Blender backups and local modeling work
*.blend1
**/_work/
# ---------------------------------------------------------------------------
# Render output: review/preview images are regenerated by the build scripts
# (build_*.py, render_*.py, export_*.py, capture_*.py). They are evidence of a
# review, not assets, so they stay out of the repository.
#
# Deliberately narrow patterns. NOT ignored on purpose:
# - model_assets/**/textures/** -> material sources read by the build scripts
# - model_assets/labels/** -> label artwork (wrap SVG/PNG, AI sources)
# - every *.blend and *.glb -> both high-poly and low-poly are kept
# - *_validation.json / *.json -> acceptance records
# If a new render is worth keeping, give it a non-preview name in textures/ or
# labels/ instead of widening these rules.
# ---------------------------------------------------------------------------
model_assets/**/preview*.png
model_assets/**/comparison_*.png
model_assets/**/review_*.png
model_assets/**/assembly_*.png
model_assets/**/contact_sheet*.png
# One-off sheets that do not follow the preview_* convention
model_assets/coffee_machine/portafilter_*.png
model_assets/coffee_machine/cup_fit_test/*.png
model_assets/coffee_cup/optimization/*.png
model_assets/milk_2l/assembly_test/*.png
model_assets/tamper/fit_test/*.png
# Reference material keeps its own previews (third-party download thumbnails,
# attribution screenshots); never let the rules above swallow it.
!model_assets/reference/**
# ...but the re-include above must not resurrect OS/tool junk or backups.
model_assets/reference/**/.DS_Store
model_assets/reference/**/*.blend1
model_assets/reference/**/__pycache__/
# ---------------------------------------------------------------------------
# Playtest render output: frame checks, preview stills and demo videos are
# produced by build_animation.py / render_whitebox.py and can be regenerated.
# The .blend scenes, scripts and validation.json stay tracked.
# ---------------------------------------------------------------------------
playtests/**/previews/
playtests/**/checks/
playtests/**/*contact_sheet*.png
playtests/**/*.mp4
model_assets/**/preview_controls*.mp4