Create moving-head fixture control + 3D previz
create_fixture_controlBuild a moving-head lighting rig with DMX/Art-Net output and real-time 3D previsualization. Each fixture gets a constant channel block and a geometry head with rotating beam, enabling live preview alongside DMX control.
Instructions
Build a moving-head lighting rig with BOTH a DMX/Art-Net output chain AND a 3D visual previsualization. For each fixture: a Constant CHOP holds an 8-channel movingHead8 block (pan, tilt, dimmer, r, g, b, strobe, gobo, prefixed '/…'), padded and merged into a dmxoutCHOP (interface, universe, netaddress, rate); and a Geometry COMP 'head' with a tube-cone beam whose pan→ry and tilt→rx rotation is expression-driven straight from that fixture's DMX pan/tilt channels (0-255 mapped across pan_range/tilt_range degrees), all rendered under one camera+light Render TOP. This adds the live 3D preview on top of what create_dmx_fixture_pipeline (DMX-out only) does. Bind individual channels later with bind_to_channel / animate_parameter on op('rig_out')['fix1/pan']; the previz updates automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | DMX refresh rate (dmxoutCHOP `rate`). | |
| net | No | Network protocol — written to the dmxoutCHOP `interface` par. | artnet |
| host | No | Target IP for Art-Net / sACN (dmxoutCHOP `netaddress`). Null = leave default. | |
| name | No | Base name for the container COMP. | fixture_rig |
| fixtures | Yes | Moving-head fixtures. Each becomes a DMX movingHead8 block + a 3D previz head+beam. | |
| universe | No | DMX universe written to the dmxoutCHOP. | |
| pan_range | No | Physical pan sweep in degrees the fixture spans across DMX 0-255 (previz rotation). | |
| beam_angle | No | Half-angle of the previz beam cone (degrees) — narrow = spot, wide = wash. | |
| tilt_range | No | Physical tilt sweep in degrees the fixture spans across DMX 0-255 (previz rotation). | |
| beam_length | No | Length of the previz beam cone from the head (metres). | |
| parent_path | No | COMP to create the fixture rig container in (default '/project1'). | /project1 |