10.17 Section 10: Hardware Limitations (Camera Profiles)

Lens kit per rig

Keep every lens you carry with a body in one rig and switch between them with one tap.

Where to find it

Viewfinder Equipment icon Lenses; main UI lens chips above the dials

Summary

A saved rig can hold a kit of lenses instead of a single one. In Equipment the Lens field grows into a list: one row per lens, a dot on the lens that is on the camera now, and an Add a lens to this kit button underneath. On the main screen the focal length turns into a row of chips, one per lens, ordered wide to long. Tap a chip and the aperture range, the focal length and the framing follow that lens. A kit too wide for the screen scrolls sideways, and tapping the lens name opens a list with the full names. With a zoom mounted its chip shows the focal length you have dialled in and the ruler stays underneath. Each numbered rig keeps its own kit.

How it works

Most bodies travel with more than one lens. A lens kit keeps them together: a Nikon F2 with a 28, a 50 and a 105, say. The app then knows all three, and changing lens on the camera is one tap in the app instead of a trip through the lens list.

Building a kit

Open Equipment and pick the camera body and a first lens as usual. Under the lens, tap Add a lens to this kit and choose the next one. The field turns into a list called Lenses, with one row per lens. Tap a row to say that lens is on the camera now. Tap the X on a row to take the lens out of the kit. If you take out the lens that is on the camera, the one next to it is mounted.

Switching on the main screen

With two or more lenses in the kit, the focal length above the dials becomes a row of chips, shortest focal length on the left. The highlighted chip is the lens on the camera. Tap another chip and the meter follows: the aperture scale takes the range of that lens and the viewfinder frames its focal length. If the kit is wider than the screen, slide the row sideways.

The full list

Chips only show focal lengths, so two 50s look alike. Tap the lens name under the chips to open a list with every lens by its full name. Pick one there, or tap Edit this kit in Equipment to add and remove lenses.

Zoom lenses

A zoom sits in the kit like any other lens and its chip shows the range, for example 35-70 mm. Once it is on the camera the chip shows the focal length you have set, and the ruler under it works as before.

Kits and saved rigs

The kit belongs to the numbered rig in Saved Equipment, next to its body and its film. Switch to another rig and you get that rig's lenses. If you had no saved rig yet, adding a second lens saves the current setup as rig 1 so the kit is kept. Cameras with a built-in lens have no kit.

Implementation notes (for developers)
EquipmentPreset.lensKitIds (ordered lens ids) serializes as CSV field 18, after the loaded roll, and is written only for kits of two or more; older records parse as an empty kit, so no Room change. model/LensKit holds the pure rules (lenses, add, remove with neighbour mount, replaceMounted). The kit of the rig in use lives on ViewfinderViewModel.lensKit, a standalone StateFlow (ViewfinderUiState is at the D8 register ceiling), assigned before every _uiState.update that snapshots the preset; gearLensId stays the mounted lens. onAddKitLens saves the current setup as preset 1 when no preset exists, because the kit is stored in the preset. onSwitchKitLens and onRemoveKitLens go through mountLens, the old body of onGearLensChanged, so the focal snap, range conform and exposure recompute are shared. A fixed-lens body clears the kit; deleting a custom lens removes it from the kit in use and other kits skip ids that no longer resolve. UI in ui/LensKitUi.kt: LensKitRows and AddKitLensButton in EquipmentConfigureDialog (the single GearPickerRow stays for zero or one lens and for fixed-lens bodies); rememberLensKitMain hands GearLensFocalCard, FocalLengthWheel and Paper's LcdFocalRuler a focalSlot that draws LensKitChips in place of the focal readout, plus onLensNameTap for LensKitSheet. Chips are disabled while a measured picture is on screen, like the focal wheel. Display order is by focal length. Strings lenskit_* in strings_vs15.xml. Tests: LensKitTest.

Search documentation