Lanndy Fitting Brush - Blender Addon
- Digital0 JPY

Lanndy Fitting Brush A brush for fitting clothing onto a character’s body. For Blender 5.0+ Stroke over the clothing in the 3D viewport (Object Mode). For every clothing vertex under the brush, the nearest point on the body is calculated and the vertex is measured against the body's surface: * below the surface -> pushed out * above the surface -> pulled toward it Both end up at a chosen offset above the skin. ■ Shape keys: if the clothing has shape keys, the brush fits the ACTIVE shape key (shown on its own while the brush runs). Fitting the Basis carries the keys that are relative to it, so each keeps its offset. To fit a key to a body shape, set the body's own shape keys first, pick the clothing's key, then start the brush. ■ Clipping view: toggle it in the panel (or press C) to tint the clothing red where it is under the skin (or a layer), orange where it is above it but still below the target offset, and blue where it floats above it. It follows the brush Mode, shows counts in the panel, and refreshes after every stroke. It draws through the body, so clothing hidden under the skin is visible too. ■ Smooth: each moved vertex blends its height error with its mesh neighbours' (those outside the brush act as anchors), so the fit flows into the surrounding vertices instead of leaving steps. Inside an evenly fitted area it changes nothing. ■ Projection: Surface normal projection looks at the nearest point. "Auto" switches to projecting along the clothing's own normal. ■ Layered targets: add extra objects in the "Layered Targets" sub-panel (tights under a leotard, a shirt under a jacket). The clothing then sits outside the body AND every layer: each vertex is fitted against whichever surface is the most demanding at that spot (the outermost one it has to clear), using that layer's own offset. ■ Pin group: a vertex group on the clothing that protects vertices from the brush(weight 1 = never moved, 0 = free, in between = partly protected). Invert makes it the only area that gets fitted. ■ Double-layered cloth: put the outer layer in a vertex group and choose it as "Outer Layer". Its vertices are fitted to Offset + Thickness, everything else to Offset, so the two layers keep their spacing. With Front Faces Only on, the inner layer's normals are matched to the outer layer's automatically. With Link Layers on, each outer vertex is paired with its inner partner and simply follows it, so both layers and the rim quads joining them keep their exact spacing; a pair moves if either vertex is under the brush. The Outer Layer group should cover the whole outer shell including its edge ring, and not the inner shell's. ■ Symmetry: toggle X / Y / Z in the panel to mirror every stroke across the body's local planes (the body must be symmetrical and its origin on the mirror plane). Vertices on a mirror plane slide along it and stay centered (Lock Center Line). Workflow: Sidebar (N) > "Fit Brush" tab > pick Body + Clothing > Start. LMB drag fit [ / ] brush radius Shift+LMB smooth only (blend heights with neighbours, no fitting) R re-read the body's current shape (after changing its shape keys) C toggle the clipping view - / = brush strength Ctrl+Z undo stroke (Ctrl+Shift+Z redo), while the brush is active Esc / RMB exit the brush (the whole session is also one global undo step)

