Commit 2a7ac4a
committed
slicer-fill: per-vessel diameter boundary (stop stray fat children at bends)
The vessel slicer-fill swept a solid core along a single straight PCA axis per
component, with each ring's radius = MEDIAN perpendicular distance clamped to a
single global RMAX (~34 mm, aorta scale). At a strong bend the straight axis
cannot follow the tube: both arms fall in one axial bin, the bin centroid lands
between them (outside the limb), and the median perp-distance balloons — and the
global RMAX let a finger artery swell to aorta caliber. Those are the "stray fat
children branching off outside the limbs".
Fix = per-vessel diameter boundary:
- per-bin radius now reads a LOW percentile (PCTL=0.30, near-wall) instead of the
median, so a bend bin sharing two arms no longer reports ~half-the-gap.
- every ring is clamped to this vessel's OWN caliber (robust median of bin radii)
× CAP=2.0, then RMAX. A capillary stays a capillary through its bends; the aorta
still reaches RMAX.
Validated on a synthetic 1 mm L-bent vessel: max ring 2.6× true radius (was up to
20× under the global cap). Bake-pipeline change — takes effect on next body re-bake.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RhpwkHGgia2TuDFvdnuQdE1 parent ef6916e commit 2a7ac4a
1 file changed
Lines changed: 19 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
38 | 44 | | |
39 | 45 | | |
40 | 46 | | |
| |||
112 | 118 | | |
113 | 119 | | |
114 | 120 | | |
115 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
116 | 124 | | |
117 | 125 | | |
118 | 126 | | |
| |||
125 | 133 | | |
126 | 134 | | |
127 | 135 | | |
128 | | - | |
129 | | - | |
130 | | - | |
| 136 | + | |
| 137 | + | |
131 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
132 | 147 | | |
133 | 148 | | |
134 | 149 | | |
| |||
0 commit comments