Import DMX Fixtures from CSV / SVG
Posted: Mon Nov 14, 2022 2:49 pm
MadMapper 5.2.0 added new possibilities for importing fixtures from CSV, you can now set your fixture name and group hierarchy in a CSV file column. For instance "Stage Fixtures/Fixture 1" will end making a fixture called "Fixture 1" in a group called "Stage Fixtures". If the group doesn't yet exists, it will create it.
Also fixtures will be placed in the order you created it in the CSV (first fixture in the CSV will be on top of all others in the fixtures list in MadMapper)
An example CSV is attached. Here is the content:
Then comes start universe & start channel. You must know that or refer to MadLight documentation.
StartX, StartY, EndX, EndY & Width will be used to position the fixture. All values are in pixels. There are two cases here: fixture line or other type of fixture (quad or circle). For quad or circle fixtures, the input rectangle will be placed with top left at (StartX,StartY) and bottom left at (EndX, EndY) & Width is ignored. For Fixture Lines, the line will start at (StartX,StartY) and end at (EndX,EndY), the width parameter will define line width.
Then comes Fixture Name column which was described above. If a fixture with the same name already exists, we'll append a number.
SVG import hasn't changed in 5.2.0. The idea here is to extract only the SVG Line primitives and create a fixture for each. It is possible to add fixture name & DMX patching on each SVG Line primitive as following:
Please post here if you have any question. We might bundle better documentation in a PDF.
Also fixtures will be placed in the order you created it in the CSV (first fixture in the CSV will be on top of all others in the fixtures list in MadMapper)
An example CSV is attached. Here is the content:
The first field is the Fixture definition name, which can either contain the fixture definition group or not (we could have written "Pixel RGB" in this case)Fixture Definition Name;Start Universe;Start Channel;StartX;StartY;EndX;EndY;Width;Fixture Name (optional)
Generic - Pixel RGB;0;1;0;0.5;2;0.5;1;Group-1/Pixel-1
Generic - Pixel RGB;0;4;2;0.5;4;0.5;1;Group-1/Pixel-2
Generic - Pixel RGB;0;7;4;0.5;6;0.5;1;Group-1/Pixel-3
Generic - Pixel RGB;0;10;6;0.5;8;0.5;1;Group-2/Pixel-4
Generic - Pixel RGB;0;13;8;0.5;10;0.5;1;Group-2/Pixel-5
Generic - Pixel RGB;0;16;10;0.5;12;0.5;1;Group-2/Pixel-6
Generic - Pixel RGB;0;19;12;0.5;14;0.5;1;Group-2/SubGroup-1/Pixel-7
Generic - Pixel RGB;0;22;14;0.5;16;0.5;1;Group-2/SubGroup-1/Pixel-8
Generic - Pixel RGB;0;25;16;0.5;18;0.5;1;Group-2/SubGroup-1/Pixel-9
Then comes start universe & start channel. You must know that or refer to MadLight documentation.
StartX, StartY, EndX, EndY & Width will be used to position the fixture. All values are in pixels. There are two cases here: fixture line or other type of fixture (quad or circle). For quad or circle fixtures, the input rectangle will be placed with top left at (StartX,StartY) and bottom left at (EndX, EndY) & Width is ignored. For Fixture Lines, the line will start at (StartX,StartY) and end at (EndX,EndY), the width parameter will define line width.
Then comes Fixture Name column which was described above. If a fixture with the same name already exists, we'll append a number.
SVG import hasn't changed in 5.2.0. The idea here is to extract only the SVG Line primitives and create a fixture for each. It is possible to add fixture name & DMX patching on each SVG Line primitive as following:
An example is provided as attachment.<line fixtureDefinition="Generic - 60x1L" fixtureUniverse="0" fixtureChannel="1" stroke="#000000" x1="65" x2="7" y1="7" y2="65" />
Please post here if you have any question. We might bundle better documentation in a PDF.
