ShapeFollow 1.0.0  無料お試し版 / Trial  (GRAMSHIFT)
==================================================

[日本語] この zip は無料お試し版です。
  ・1回の転送＝衣装1つ・キー1つ（何回でも使えます）
  ・製品版は、衣装とキーを全部まとめて1回で転送し、体にめり込む所を外へ押し出します
  ・製品版: https://booth.pm/ja/items/9132683
  ・製品版を入れる時は、同じ手順で製品版の zip を入れると置き換わります

[English] This zip is the trial version.
  - One clothing item and one key per run (use it as many times as you like)
  - The full version transfers every ticked item and key in one run and pushes cloth out of the body
  - Full version: https://booth.pm/ja/items/9132683
  - Installing the full zip the same way replaces the trial

ShapeFollow 1.0.0  (GRAMSHIFT)
==============================

[日本語]

素体のシェイプキー（胸の大きさ・体型など）を、同じ名前のシェイプキーとして衣装に追加する
Blender アドオンです。素体の形を変えると衣装も一緒に動き、体へのめり込みを減らします。

動く Blender: 4.2 以降

■ 入れ方
  Blender の「編集 > プリファレンス > アドオン」右上の「v」から「ディスクからインストール」を選び、
  この zip（ShapeFollow-Trial-1.0.0.zip）を選びます。zip を Blender の画面にドラッグしても入ります。

■ 使い方
  1. アバターを開き、3D ビューで N キーを押して「ShapeFollow」タブを開きます。
  2. 「素体・衣装・キーを自動で探す」を押します。素体・衣装・キーの欄が埋まります。
     違っていたら、素体の欄で選び直し、衣装とキーのチェックを付け外しします。
     衣装が一覧に無い時は、3D ビューで衣装を選んで「選択を追加」を押します。
  3. 「衣装に転送」を押します。衣装に同じ名前のシェイプキーが追加されます。
  4. 結果の欄に、衣装とキーごとの「動いた点」と「体にめり込む所（転送前 → 転送後）」が出ます。
     元に戻したい時は Ctrl+Z を1回押します。

■ 設定
  届く距離 (mm)     : 素体からこれより離れた衣装の部分は、体型の変化に追従しません（既定 40 mm）。
                      押し出すがオンの時、膨らんだ体に埋まる所だけは肌の上へ出します
  押し出す / すき間 : 体の中に入る衣装を肌の上に出し、肌からこの距離以上離して置きます（既定 1 mm）。
                      重なった生地（表地と裏地など）は、肌に近い順のまま置きます。
                      重ね着した衣装（下着とシャツなど）をまとめて移すと、内側の服が
                      外側の服から出ないように置きます。
                      体にめり込む所が転送前より増えないように置き、増えてしまう衣装とキーの
                      組み合わせは作らずに、結果に「改善なし＝作りませんでした」と出します
  なめらかさ        : 隣り合う点の動きをならす回数です（既定 2・0 でなし）
  同じ名前のキー    : 衣装に同じ名前のキーが既にある時、そのまま残すか上書きするかを選びます

  初めから外れているキー: 「縮める・隠す」キー（Shrink・OFF など、体を内側へ縮めるキー）と顔のキー。
  使いたい時はチェックを入れてください。縮める・隠すキーにチェックを入れると、パネルに
  「縮める・隠すキーは、めり込みが残ることがあります」と出ます。
  素体の別版など素体らしいメッシュも、初めはチェックを外して「素体かも」と出します。
  衣装の元の形・他のシェイプキー・頂点グループ・UV・マテリアルは変わりません。

■ 困った時は
  うまく動かない時は BOOTH のショップへメッセージから気軽にどうぞ。
  要望の多いものから次の版に入れていきます。


[English]

ShapeFollow copies the shape keys of an avatar body (bust size, body shape and so on) onto the
clothes as shape keys with the same names. When you change the body shape, the clothes move with
it, with less of the cloth sinking into the body.

Works with: Blender 4.2 or later

- Install
  In Blender, open Edit > Preferences > Add-ons, click the "v" menu at the top right, choose
  "Install from Disk..." and pick this zip (ShapeFollow-Trial-1.0.0.zip). You can also drag the zip onto
  the Blender window.

- How to use
  1. Open your avatar, press N in the 3D View and open the "ShapeFollow" tab.
  2. Press "Find body, clothes and keys". The body, clothes and key lists are filled in.
     If something is wrong, choose the body again in the Body field and tick or untick clothes
     and keys. If a cloth is missing, select it in the 3D View and press "Add selected".
  3. Press "Transfer to clothes". The clothes get shape keys with the same names.
  4. The Result list shows, per cloth and key, how many points moved and how many spots sit
     inside the body (before -> after). To undo, press Ctrl+Z once.

- Settings
  Reach (mm)          : parts of the clothes farther than this from the body do not follow its
                        shape (default 40 mm). With Push out on, only the spots the grown body
                        would cover are lifted above the skin
  Push out / Gap (mm) : cloth that would go inside the body is lifted at least this far above the
                        skin (default 1 mm). Stacked layers (outer and lining) keep their order.
                        Layered outfits transferred together (underwear under a shirt, for
                        example) keep their order too: the inner cloth stays under the outer one.
                        No cloth and key pair ends up with more spots inside the body than
                        before the transfer: such a pair is not created and the Result says
                        "No improvement - not created"
  Smoothing           : how many times the movement of neighbouring points is evened out
                        (default 2, 0 = off)
  Key already on cloth: keep the cloth's own key with the same name, or replace it

  Unticked at the start: "Shrink / hide" keys (Shrink, OFF and other keys that pull the body
  inward) and face keys. Tick them if you want them. When a shrink / hide key is ticked, the
  panel says "Shrinking or hiding keys can leave some cloth inside the body".
  Meshes that look like a body (another version of the body and so on) also start unticked and
  are marked "May be a body".
  The original shape of the clothes, their other shape keys, vertex groups, UVs and materials
  are not changed.

- Help
  If it does not work, message us from the BOOTH shop page.
  Requested features are added to later versions, most requested first.
