Grandma3 Fixture Builder !full! Today
# Generate Physical Data phy = ET.SubElement(root, "Physical") # ... add physical sub-elements ...
Map attributes to channels. This includes setting default values, highlight values, and physical ranges (e.g., 0–540 degrees for Pan). grandma3 fixture builder
# Handle Capabilities for cap in chan.capabilities: cap_xml = ET.SubElement(logic_xml, "ChannelSet") cap_xml.set("Start", str(cap.start)) cap_xml.set("End", str(cap.end)) cap_xml.set("Name", cap.name) # Generate Physical Data phy = ET