Functions to work with Fixture Definition Files from the QLC+ open-source lighting controller project. While these do not contain all of the information Afterglow needs to fully control a fixture with its geometric reasoning, they can form a good starting point and save you a lot of tedious capability translation. You can find the available
.qxf files on Github.
Read a fixture definition file in the format (.qxf) used by QLC+, and write a Clojure file based on it that can be used as the starting point of an Afterglow fixture definition. Returns an exit status and message for the user.
Read a fixture definition file in the format (.qxf) used by QLC+, and create a map from which it can conveniently be translated into an Afterglow fixture definition.
Removes non-alphanumeric characters in a string, then turns it into a suitable Clojure identifier.
Converts a map read by convert-qxf into an Afterglow fixture definition.