ComfyUI Node
Atlas Path-Guided Hole Repair π₯
A ComfyUI node in Atlas/06 Β· Patch & Repair with 21 inputs and 4 outputs.
Atlas Path-Guided Hole Repair π₯
- solve
- hole_mask
- camera_path
- path_frames
- paint_mask
- exclude_mask
- repair_mask
- angle_preview
- visible_islands
- report
βlayerβΊ
βframe_offset_from_end0βΊ
βlens_scale_override0.00βΊ
βresolution768βΊ
βselection_modeβΎβΊ
βmax_selected_islands0βΊ
βmin_visible_pixels8βΊ
βpaint_overlap_fraction0.02βΊ
βring_cells2βΊ
βmax_components1024βΊ
βnormal_tolerance_deg30βΊ
βmax_plane_error_m0.45βΊ
βmax_hole_fraction0.040βΊ
βenclosed_onlyfalseβΊ
βmin_normal_support_fraction0.20βΊ
CategoryAtlas/06 Β· Patch & Repair
Inputs (21)
| Name | Type | Default | Description |
|---|---|---|---|
| solve | ATLAS_SOLVE | β | |
| hole_mask | MASK | Remaining source-space holes from the first AtlasPlanarHolePatch pass. | |
| camera_path | ATLAS_CAMERA_PATH | Camera path authored/baked by Atlas Viewport. The selected pose is last frame minus offset. | |
| path_framesopt | IMAGE | Optional indexed viewport frame(s) used only as the preview background. Bake Repair Frame stores the final frame; candidate IDs remain exact without imagery. | |
| paint_maskopt | MASK | Optional mask painted over angle_preview. Used only when selection_mode=paint_overlap; touching a rendered candidate selects its complete source-space island. | |
| exclude_maskopt | MASK | Optional exclusion mask, subtracted before connected components are found, separating open foreground tears from the exterior. Wire the SAME mask you gave the mesh node - the two must agree or this one hunts for tears in geometry that was never built. The report states its frame coverage so you can read the polarity back. | |
| layeropt | STRING | Blank = primary relief; otherwise a ProjectionSource name. | |
| frame_offset_from_endopt | INT | 00β100000 | 0 = final frame, 1 = one frame before final, etc. |
| lens_scale_overrideopt | FLOAT | 0.000β4 | 0 = use the Camera Path playback lens. Otherwise a focal multiplier: below 1.0 is wider; above 1.0 tighter. |
| resolutionopt | INT | 768128β4096 | Long edge of the candidate ID render. |
| selection_modeopt | COMBO | Agent mode selects visible fitted islands automatically. paint_overlap converts a moved-view brush mask back into exact source-space connected islands. | |
| max_selected_islandsopt | INT | 00β1024 | 0 = all qualifying islands; otherwise cap selection in the chosen size order. |
| min_visible_pixelsopt | INT | 81β100000 | Ignore candidates with fewer rasterized pixels at the chosen repair angle. |
| paint_overlap_fractionopt | FLOAT | 0.020β1 | Minimum painted share of a visible island needed to select its full source-space component. |
| ring_cellsopt | INT | 21β12 | β |
| max_componentsopt | INT | 10241β4096 | β |
| normal_tolerance_degopt | FLOAT | 301β89 | β |
| max_plane_error_mopt | FLOAT | 0.450.001β10 | β |
| max_hole_fractionopt | FLOAT | 0.0400.0001β1 | β |
| enclosed_onlyopt | BOOLEAN | false | False allows silhouette/open-edge tears after the background/sky has already been excluded upstream. |
| min_normal_support_fractionopt | FLOAT | 0.200.1β1 | β |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| repair_mask | MASK | β |
| angle_preview | IMAGE | β |
| visible_islands | MASK | β |
| report | STRING | β |