Importing projectors
From r16, Designer started supporting import of projector information from external CSV files. Currently, both Mapping Matter and SimProj are supported.
Overview
The feature is intended to take a CSV file with a .txt file extension that contains the projector data. Currently, Mapping Matter and SimProj are known to work well. The CSV can be generated automatically from their programs, or manually, as long as the same format is used.
An example of CSV format without a projector UUID.
Projector\_Name,Projector\_Qte(Stack),Projector\_Native-Rez-X,Projector\_Native-Rez-Y,Projector\_Lumens(lux),Projector\_Brightness(%),Projector\_Total\_Lumens(lux),Projector\_Trow-Ratio,Lens\_Shift-H(%),Lens\_Shift-V(%),Lens\_X,Lens\_Y,Lens\_Z,Pitch(deg),Yaw(deg),Roll(deg),Target\_X,Target\_Y,Target\_Z,Target\_Distance,Target\_Width,Target\_Height,Target\_Illuminance,Target\_DPI,Unit\_Dim,Unit\_Illuminance
An example of CSV format with projector UUID.
Projector\_Name,Projector\_Qte(Stack),Projector\_Native-Rez-X,Projector\_Native-Rez-Y,Projector\_Lumens(lux),Projector\_Brightness(%),Projector\_Total\_Lumens(lux),Projector\_Trow-Ratio,Lens\_Shift-H(%),Lens\_Shift-V(%),Lens\_X,Lens\_Y,Lens\_Z,Pitch(deg),Yaw(deg),Roll(deg),Target\_X,Target\_Y,Target\_Z,Target\_Distance,Target\_Width,Target\_Height,Target\_Illuminance,Target\_DPI,Unit\_Dim,Unit\_Illuminance,Projector\_UUID
Exporting the .csv file
- A projector configuration is created by a user in Mapping Matter or SimProj.
- Export the projector configuration to a correctly formatted CSV file.
- Add the .csv files to the Objects > Table folder of your Designer project. If this folder does not exist, please create one.
- Import the .csv file using the Import Projector functionality in Designer.
Importing the .csv file
- In Designer, open the stage editor and navigate to actions.
- Left-click Import projectors from table.
- Select the CSV file from the list of table files. If an unsupported file is selected (e.g. containing something else than projectors), the import will fail, and an error message will inform the user.
- If the import succeeds, all projectors in the CSV file will be imported and added to the Stage.
- Existing projectors with the same name will be modified. If they are not in the Stage at the moment, they will be added.
- If a projector with a certain name does not yet exist, it will be created and added to the Stage.
- If the file contains multiple projector entries with the same name, Disguise will create duplicates with different names.
- Designer will notify the user with a popup message showing information about many projectors were added, modified, or failed.