(Blender 2.8 users: use the fit_lattice.2.8.zip file for the instructions below)
- Go to File -> User Preferences.
- Select the Add-ons tab at the top.
- Select the Install Add-on from File... button along the bottom.
- A file dialogue will pop up. Navigate to the file location where you downloaded the .zip file and double click it.
- Search for the add-on by typing "Fit Lattice" in the search box if it does not already appear. Make sure the checkbox next to the Add-on (Mesh: Fit Lattice) is ticked.
- Click the Save User Settings button to make sure the add-on is installed next time you open Blender.
- Close the User Preferences dialog box and enjoy!
This is an optional step if you wish to load some pre-configured presets.
Depending on your operating system, navigate to one of the following directories.
- If you are on Linux, navigate to
- On a Mac:
- If you are on Windows, navigate to:
Once there you should see folder(s) corresponding to the version(s) you currently have, for instance the 2.79 folder. Within that folder, go to
scripts/presets/operator/ and create the folder
mesh.fit_lattice. Unzip the contents of the .zip file to that location.
You should then be able to access a set of pre-configured presets when using the operator.
IMPORTANT: When moving Blender versions, make sure you have backed up this directory as it contains any presets you have saved.
How it works
The add-on works out the size and position of the bounding box(es) of the object(s) you select and then creates a Blender lattice object that fits to that size. It then adds a 'Lattice Modifier' to the original object (or objects), and then automatically links that modifier to the lattice object.
- Select the object or objects (by pressing shift + right-click) you want to fit the lattice around.
- Press Alt+L or go to Object -> Fit Lattice. You can also access the tool by pressing space and then starting to type Fit Lattice.
- The lattice object should appear around the object(s), ready for editing by pressing the tab key.
When the lattice object is created, you can also configure the lattice object segments at the time through the toolbar, described below.
On the toolbar menu (accessed by pressing the 'T' key), you can also configure the lattice object being created:
You can load, edit or save a selection of pre-prepared configurations. Press the '+' and '-' keys to add or delete entries.
The presets contained in the fit_lattice_presets.zip file contain the following presets, although you can add more:
- 2x2x2: a lattice split into 2x2x2 segments.
- 3x3x3: a lattice split into 3x3x3 segments.
- 4x4x4: a lattice split into 3x3x3 segments.
U, V, W:
These settings control the the subdivisions of the lattice in the x, y and z direction.