# 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__/
