Skip to content

Latest commit

 

History

72 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Important

Since software version 2.0, the software can handle the creation of presets by itself, so this plugin will not be updated again. https://help.malighting.com/grandMA3/2.0/HTML/sc_create_presets.html

fixture_to_presets

presets.mp4

Grandma3 lua plugin to store presets, based on info provided by fixture files

All object manipulations are done using commands, visible in the "Command Line History" screen.

works on v1.9.7.0

How to install

  • Download fixture_to_presets.xml
  • save this on your USB stick in grandMA3/gma3_library/datapools/plugins
  • In GrandMA3, edit an empty plugin pool, select Import, select your USB stick, and press Import

New implemented features

13-Mar-2024

3D objects from imported MVR files could cause errors in this plugin. These 3D objects are now ignored.

20-Jun-2023

Fixturetypes are only shown when it is patched minimum once with a FID. This will reduce the list of shown fixturetypes to only those who are active in the current show.

18-Jun-2023

Changing the workflow in the plugin for merging values. Previously, the "Merge" checkbox overruled the 3 buttons on the left of it. So when "Merge" was checked and you pressed a value to store, a popup asked for the preset location to merge values into. Now the "Merge" checkbox is linked to the 3 buttons on the left of it for navigating. When unchecking "Merge" while the navigator is indicating a non-empty preset, the plugin will automatically select the next empty preset and remind you using a popup message.

15-Jan-2023

storing presets was only possible for directly patched fixtures, now we added the possibility to store values from fixtures patched within a "grouping fixture". This is currently possible when the grouping fixture is not patched within another grouping fixtures.

18-Dec-2022

A "preview" checkbox is added, which if enabled will only put values in programmer, without storing them.

Features to be implemented

  • export of own created presets, which will be selectable using this plugin in another showfile
  • Auto-matching between fixture info, and already existing presets

Little important info:

It is possible to not see a patched fixture, its attributes, or its values. This happens when these fixtures are not created according the MA3 fixture standards. Mostly accurs when fixturetypes have "User" defined as Source (instead of "GrandMA2" or "GrandMA3") in the "fixture types" overview. More info: Build Fixture Types

Donations

Just checking how motivated you can make us, to post more of our plugins.

paypal

How does it work?

Navigating

When running the plugin, the first screen shows all fixture types of patched fixtures. Subfixtures are shown in red.

image

When clicking one of those fixture types, a list of attributes are shown.

  • The upper section of this plugin now shows 2 buttons, the left shows the clicked fixture (and mode)
  • The other part of this plugin now lists all linked attributes. Each attribute button shows first the attribute name, having the featuregroup below it

image


When clicking an attribute, the right button in the upper section shows the clicked attribute, which in this example is "Dimmer".

The lower part shows possible values to be stored as a preset, indicating the name above and the value below

image


next to "Store Preset by clicking", we have ways to indicate in which preset the value will be stored

image

The 3 buttons are used to navigate over empty presets.

By pressing the middle button, you can enter a number manually. The first empty found preset number, started from the manually entered number, will be selected.

The Merge checkbox will merge values into the selected presets. When unchecking Merge, the plugin will verify if the selected preset number is empty, if not it will be updated to the next empty preset number.


Cross navigating

The plugin is built in a way that makes navigating between fixtures and attributes very dynamic.

For example, when you selected "Zoom" in one fixture type image

and you want to store "Zoom" values from another fixture type, then simply press the left upper button, indicating "(Click to change Fixture)", which brings you to the overview of the fixture types image

Here you select the next fixture you want to store the "Zoom" values from, which brings you to the "Zoom" values of that selected fixture image

to catch strange changes, for example, when beein in the "Pan" attribute of a movinghead, and changing to a ledpar fixture, which in most cases is not possible, then this messages will show up: image

Storing a preset

All actions of storing a preset are visible in the commandline history. The goal of this plugin is not to inject any grandma3 objects using LUA, but to execute commands, so you can clearly see all executed commands.

In this example, we have 4 fixtures patched from the same fixture group, having fixtureID 1, 2, 3 and 4. When pressing a value, the plugin will:

  1. verify and select all fixtures linked to this fixturegroup
  2. set the attribute value
  3. store to the defined preset number
  4. label the preset, as how that value is described in the fixture file

image

Preview a preset

This is an added feature, currently not visible in screenshots above, or in the example movie.

A "Preview" checkbox is added, this is visible on the left side above, when you are in the screen for storing possible values.

Please don't be confused, this "Preview" checkbox is not the same as the MA3 "Preview" keyword, they both are different.

When the checkbox next to "Preview" is selected, values will not be stored, but only put in programmer. In this case, due to some reasons, you can first check the output of your fixtures in real life. To store the value, just uncheck the "Preview" checkbox and click the value button again.

For this example, I enabled the "Preview" checkbox, first clicked "Open", then "Red". The System Monitor shows:

  • ClearAll to clear all programmer info
  • Corresponding fixtures are selected
  • Attribute values are set

image

Colors

Fixtures having at least CMY or RGB values, will not have all combinations of colors stored in their fixture file. In this case, most people create their macro's to create their color presets using the 3 parameters (C, M, Y) or (R, G, B). Well, this is now built into this plugin as well.

In the official MA3 attributes list, there is no "Color" attribute, so this name is used in this plugin when CMY or RGB channels are found in the selected fixture group.. which is shown in this example as the middle attribute button:

image

When clicking "Color", you get an overview of colors: You can create each color preset seperatly by clicking the color name, or you can create all colors at once by clicking "Create All Colors".

image

These values can be found in the LUA plugin file on top, so you can edit your own colors:

image


Next to CMY or RGB, GrandMA3 has other color attributes, defined for specific colors, starting in this overview from line 114 until line 123:

image

When deep diving the LUA code, you can find overrules for colors "Amber", "Lime", "Purple", "Pink", "Open", "Warm White", "Cold White" and "UV". Some fixtures have one or more of these colors as a seperate channel. When these channels are found in the selected fixture type, the RGB or CMY values will be set to zero for that color, while for that seperate color channel, the value will be set to full.

example:

Schermopname.2022-11-01.om.18.08.19.mov

About

store presets, based on fixture files

Resources

Stars

41 stars

Watchers

6 watching

Forks

Releases

Packages

Contributors