TFLens configuration not convinient
The configuration is indexed by material.
This enforce to deal with list of index and count.
# Lens control
- name: tflens
plugin: bliss
class: TFLens
transfocator: $tf
lenses:
- material: Xx1.5
lens_id: [3]
lens_nb: [1]
- material: Xx1.0
lens_id: [4]
lens_nb: [1]
- material: Xx0.5
lens_id: [5]
lens_nb: [1]
- material: Xx0.3
lens_id: [6]
lens_nb: [1]
- material: Xx0.2
lens_id: [7, 8, 9, 10, 15, 17, 18, 19]
lens_nb: [1, 2, 4, 8, 1, 2, 4, 7]
There is no need to do so.
This just can be indexed by lens. So what it's easy to edit or disable a single one.
For example:
lenses:
- material: Xx1.5
lens_id: 3
lens_nb: 1
- material: Xx1.0
lens_id: 4
lens_nb: 1
- material: Xx0.5
lens_id: 5
lens_nb: 1
- material: Xx0.3
lens_id: 6
lens_nb: 1
- material: Xx0.2
lens_id: 7
lens_nb: 1
...