[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116053":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":10,"pushedAt":32,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":15,"starSnapshotCount":15,"syncStatus":36,"lastSyncTime":37,"discoverSource":38},116053,"splat-repair","NicolasDrum\u002Fsplat-repair","NicolasDrum","Editor for Gaussian splats with a repair brush: paint over what should go and the surface is rebuilt.","https:\u002F\u002Fnicolasdrum.com",null,"Python",126,14,3,0,5,36,28,75.13,"Apache License 2.0",false,"main",[24,25,26,27,28,29,30,31],"3d-scanning","3dgs","electron","gaussian-splatting","inpainting","photogrammetry","playcanvas","python","2026-11-21 22:33:08","2026-11-23 19:41:35","# Splat Repair\n\nAn editor for Gaussian splats with a repair brush. You paint over what should\ngo, and the tool rebuilds the surface underneath: geometry, colour and\nview-dependent appearance.\n\n| Scan | After Fast Fill |\n|---|---|\n| ![A beach hut scan with a red cross on a sign](docs\u002Fbefore.jpg) | ![The same sign with the cross painted out](docs\u002Fafter.jpg) |\n\nI built this in eight days and filmed it:\n[I built Photoshop for Gaussian Splats in 8 days](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=qwjmxt8kfl0).\n\n## What works and what doesn't\n\n- **Flat and gently curved surfaces** fill in about a second. Walls, signs,\n  floors, stickers and small handles are the easy cases.\n- **Strong repeating relief** is hard. On the sole of a shoe the fill often\n  shows and needs patching by hand with the Clone Stamp.\n- This is an early release from one person. Expect rough edges, and save\n  copies of your scans.\n\n## Tools\n\n| Tool | Key | What it does |\n|---|---|---|\n| View | `V` | Camera only |\n| Brush | `B` | Paints a 3D selection along the stroke |\n| Lasso | `L` | Freehand selection, surface only or through the object |\n| Rectangle | `R` | Box selection |\n| Clone Stamp | `S` | Alt+click sets the source, painting stamps it |\n| Move | `G` | Transforms the selection |\n| Clean up | | Finds floaters, crops with a box |\n\nOn a selection you can delete, fill or export.\n\n- **Fast Fill** is geometric. It fits the surface around the hole and copies\n  whole splats from nearby, so scale, rotation and spherical harmonics stay\n  consistent. It runs on the CPU in about 0.3 to 1.5 s on a scan with 550,000\n  splats.\n- **Deep Fill** renders a view, lets an inpainting model (LaMa) fill the\n  picture and lifts the result back into splats. It needs an NVIDIA GPU and\n  takes around 20 s on an RTX 4090.\n- **Fill from Photoshop** (optional) sends the rendered view to your own\n  Adobe Photoshop installation and uses its Content-Aware or Generative Fill.\n\nSplat Repair reads and writes `.ply`, `.splat` and `.spz`. PLY is the working\nformat and round-trips bit-exact.\n\n## Requirements\n\n- Windows 10 or 11. The code is not tested on macOS or Linux.\n- [Node.js](https:\u002F\u002Fnodejs.org) 22 or newer.\n- Python 3.10 to 3.13.\n- For Deep Fill: an NVIDIA GPU, a CUDA toolkit and the MSVC build tools\n  (gsplat compiles on first use). About 3 GB of downloads.\n\n## Install\n\n1. Install [Git](https:\u002F\u002Fgit-scm.com), [Node.js](https:\u002F\u002Fnodejs.org) and\n   [Python](https:\u002F\u002Fwww.python.org) if you do not have them.\n2. Get the code and run the installer:\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FNicolasDrum\u002Fsplat-repair.git\n```\n\n```bash\ncd splat-repair\n```\n\n```bash\ninstall.cmd\n```\n\n3. Start the app with `app\\start.cmd`.\n\nEverything is installed inside the `splat-repair` folder. To remove Splat\nRepair, delete the folder.\n\nFor Deep Fill (PyTorch, gsplat and LaMa), run the installer with `deep`. You\ncan do that at any time:\n\n```bash\ninstall.cmd deep\n```\n\nDuring the Deep Fill setup pip prints dependency conflicts for\n`simple-lama-inpainting`. That is expected; the setup ends with \"Deep Fill is\nready\" when everything works.\n\nWithout Git you can also download the ZIP from the green Code button on\nGitHub, unpack it and run `install.cmd` in the unpacked folder.\n\n`app\\create-shortcut.ps1` puts a shortcut on the desktop:\n\n```bash\npowershell -ExecutionPolicy Bypass -File app\\create-shortcut.ps1\n```\n\n## Update\n\n```bash\nupdate.cmd\n```\n\nThis pulls the newest version and rebuilds the app. Add `deep` if you use\nDeep Fill and the release notes mention changed requirements.\n\n\u003Cdetails>\n\u003Csummary>Manual install\u003C\u002Fsummary>\n\n```bash\ncd core\npy -3.11 -m venv .venv\n.venv\\Scripts\\python -m pip install -r requirements.txt\n```\n\n```bash\ncd app\nnpm install\nnpm run build\nnpx electron .\n```\n\n```bash\ncore\\.venv\\Scripts\\python.exe core\\setup_deep.py\n```\n\n\u003C\u002Fdetails>\n\n## Develop\n\n```bash\ncd app\nnpm run dev\n```\n\nRun the engine tests (each file is a plain script):\n\n```bash\ncd core\nfor %t in (tests\\test_*.py) do .venv\\Scripts\\python %t\n```\n\n## How it is built\n\n```\napp\u002F      Electron + PlayCanvas (WebGPU): the interface\n  electron\u002F      main process, preload, engine process handling\n  src\u002Fengine\u002F    viewer, selection, volumes, document\n  src\u002Fui\u002F        menus, history, view cube\ncore\u002F     Python engine: formats, repair, document, server\n```\n\n- The interface and the engine talk over the child process pipe. There is no\n  HTTP server and no open port.\n- Both sides read the same file, so splat index 12345 means the same splat in\n  the viewer and in the engine. An edit crosses the pipe as a few thousand\n  numbers.\n- Indices are stable. The loaded file keeps its range, new splats are\n  appended, and edits flip `alive` flags, which makes undo cheap.\n\n## Licence\n\nApache License 2.0, see [LICENSE](LICENSE) and [NOTICE](NOTICE). Third-party\ncomponents and their licences are listed in\n[THIRD_PARTY_LICENSES.md](THIRD_PARTY_LICENSES.md).\n\nDeep Fill downloads the LaMa model on first use. Its authors publish code and\nweights under Apache 2.0; the model was trained on the Places2 dataset, which\nhas its own terms. Check them if you use Deep Fill commercially.\n\nAdobe and Photoshop are trademarks of Adobe Inc. Splat Repair is an\nindependent project and is not affiliated with or endorsed by Adobe.\n\n## Contributing\n\nIssues and pull requests are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md).\n\nMade by [Nicolas Drum](https:\u002F\u002Fnicolasdrum.com).\n","Splat Repair 是一款面向高斯溅射（Gaussian Splatting）三维模型的交互式编辑工具，核心功能是通过画笔涂抹方式移除目标区域，并自动重建其几何结构、颜色及视图相关外观。它提供三种填充模式：基于CPU的快速几何填充（Fast Fill）、依赖NVIDIA GPU与LaMa模型的深度图像修复填充（Deep Fill），以及可选的Photoshop内容感知\u002F生成式填充集成。工具支持PLY\u002FSPLAT\u002FSPZ格式，具备选择、克隆、移动、清理等基础编辑能力。适用于3D扫描后处理、摄影测量成果修复、数字存档去噪及AR\u002FVR资产精修等场景，尤其适合处理墙面、标牌、地面等中低曲率表面的局部缺陷。",2,"2026-11-24 04:52:39","CREATED_QUERY"]