move_lattice_points
Move or scale selected lattice points by side or index to deform bound geometry; reset all points to their original positions.
Instructions
Move or scale lattice points to deform everything the lattice is bound to.
Pick points by side (axis and sign, split at the middle of the lattice) or by index; with neither, every point moves. Scaling is about the lattice centre, per axis: scale [0.2, 0.2, 1] on the top tapers it to a point.
Args: lattice_name: Lattice object from create_lattice. offset: [x, y, z] in world units added to the chosen points. scale: [x, y, z] factors, 0.01 to 100, about the lattice centre. axis: X, Y or Z: choose the points on one side of the lattice. sign: POS, NEG, or ALIGN (the middle plane) with axis. point_indices: Choose points by index instead (u fastest, then v, then w). reset: Put every point back where it started (others ignored).
Returns: Dict with how many points moved and the lattice's point count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | No | ||
| sign | No | POS | |
| reset | No | ||
| scale | No | ||
| offset | No | ||
| lattice_name | Yes | ||
| point_indices | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||