362e089be0
Der Nutzer hat recht: Der Ordner war voller Entwicklungs-Muell. Jetzt ist sauber getrennt: ROOT (was der Nutzer sieht und braucht): - run.py = das Programm - hms_app/ = der Anwendungscode - HMS MediaEngine.app = macOS Doppelklick-Starter - HMS-Start.vbs = Windows Doppelklick-Starter - HMS-Install.vbs = Windows Erst-Installation - HMS-Mac-Install.command = macOS Homebrew-Installation - HMS-Portable-Install.command = macOS Portable-Installation (16GB-Fix) - installer_gui.py = grafischer Installer - launcher.pyw + launcher_core.py = interne Start-Logik - LIESMICH.txt = 10-Zeilen-Kurzanleitung - .gitignore _entwicklung/ (alles andere, NICHT benoetigt): - packages/ apps/ native/ plugins/ tools/ schemas/ tests/ docs/ build/ fixture_profiles/ - PLAN.md STATUS.md ERRORS.md TEST_REPORT.md CHANGELOG.md README.md - pyproject.toml uv.lock setup_*.sh/ps1 make_mac_app.py Diese Trennung gilt ab sofort fuer alle Commits. Der Nutzer kann _entwicklung/ loeschen wenn er Platz braucht - die App laeuft ohne. Verifiziert: App startet nach Aufraeumen unveraendert (Health 200).
80 lines
1.8 KiB
Python
80 lines
1.8 KiB
Python
"""hms_artnet – Art-Net 4 Steuerung (PLAN.md §16).
|
||
|
||
ArtDMX-Empfang, ArtPoll/ArtPollReply (Discovery als Media Server, Style 0x02),
|
||
Fixture-Engine (Master32/Layer64, §16.3–§16.6), Patch-Verwaltung (§16.2),
|
||
DMX-zu-Parameter-Verkabelung (§11, §16), Universe-Plan (§16.2),
|
||
konfigurierbare Universen/Adressen, Sequenzprüfung, Signalverlust-Verhalten.
|
||
Layouts gegen die offizielle Art-Net-4-Spezifikation verifiziert.
|
||
"""
|
||
|
||
from hms_artnet.fixtures import (
|
||
Layer64Engine,
|
||
LayerControl,
|
||
LayerEvent,
|
||
Master32Engine,
|
||
MasterControl,
|
||
MasterEvent,
|
||
SourceType,
|
||
TransportCommand,
|
||
UniverseCollisionError,
|
||
UniversePlan,
|
||
UniverseRange,
|
||
map_speed,
|
||
)
|
||
from hms_artnet.mapping import DmxLayerMapper, LayerDmxMapping, RisingEdge
|
||
from hms_artnet.packets import (
|
||
OPDMX,
|
||
OPPOLL,
|
||
OPPOLLREPLY,
|
||
UDP_PORT,
|
||
build_artpoll_reply,
|
||
build_dmx,
|
||
build_poll,
|
||
parse_dmx,
|
||
parse_poll,
|
||
parse_poll_reply,
|
||
)
|
||
from hms_artnet.patch import (
|
||
FixturePatch,
|
||
PatchEntry,
|
||
PatchError,
|
||
)
|
||
from hms_artnet.receiver import ArtNetReceiver, DmxUpdate, LossBehavior
|
||
from hms_artnet.wiring import DmxToParameterRouter, RouterStats
|
||
|
||
__all__ = [
|
||
"OPDMX",
|
||
"OPPOLL",
|
||
"OPPOLLREPLY",
|
||
"UDP_PORT",
|
||
"build_dmx",
|
||
"parse_dmx",
|
||
"build_poll",
|
||
"parse_poll",
|
||
"build_artpoll_reply",
|
||
"parse_poll_reply",
|
||
"ArtNetReceiver",
|
||
"DmxUpdate",
|
||
"LossBehavior",
|
||
"DmxLayerMapper",
|
||
"LayerDmxMapping",
|
||
"RisingEdge",
|
||
"Master32Engine",
|
||
"MasterControl",
|
||
"MasterEvent",
|
||
"Layer64Engine",
|
||
"LayerControl",
|
||
"LayerEvent",
|
||
"SourceType",
|
||
"TransportCommand",
|
||
"map_speed",
|
||
"UniversePlan",
|
||
"UniverseRange",
|
||
"UniverseCollisionError",
|
||
"FixturePatch",
|
||
"PatchEntry",
|
||
"PatchError",
|
||
"DmxToParameterRouter",
|
||
"RouterStats",
|
||
]
|