2.4 KiB
Brokkr Blender Adapter
Install surfaces/blender/brokkr_bridge as a Blender add-on directory during
local development.
The add-on adds a Brokkr panel to the 3D View sidebar and exposes a Blender target surface for host snapshots, admitted command intents, and command receipts.
The adapter writes its mirror documents through CultLib's Python CultMesh node.
If cultcache-py/cultmesh_py is not installed into Blender's Python, point
CultLib Python Source at:
E:/Projects/CultLib-main-work/packages/cultcache-py/src
The default node cache is:
.brokkr/blender-editor.ccmp
The panel can also serve that node through CultMesh Python. Leave Serve Port
at 0 to bind a free local port, or set a fixed port when another runtime needs
a stable endpoint. The panel reports the active cultnet://host:port endpoint
after Start Server.
Debug Export Root may still emit readable JSON probe files under
.brokkr/blender-editor-debug, but those files are debug/import glue. CultMesh
owns the mirror state.
Local Smoke
- Install and enable
brokkr_bridge. - Open
View3D > Sidebar > Brokkr. - Click
Capture Snapshot. - Inspect
.brokkr/blender-editor.ccmp. - Drop a command intent JSON file into
.brokkr/blender-editor-debug/blender/commands/{commandId}.json. - Click
Drain Commands. - Inspect
.brokkr/blender-editor.ccmpor the optional debug export at.brokkr/blender-editor-debug/blender/receipts/{commandId}.json. - Click
Start Server. - Use the reported
cultnet://host:portendpoint from a CultMesh/CultNet client to read snapshots or write command intents. - Select a Blender object and click
Object Syncto publish abrokkr.sync.object_binding.v0plus per-lanebrokkr.sync.var.v0records. - Click
Timeline Syncto publish abrokkr.sync.timeline_binding.v0for Blender frame/action data and Unity Timeline/Cinemachine lanes. - After running
brokkr-daemon sync-onceorsync-loop, clickRefresh Sync Receiptto show the latest daemon sync pass observed in the Blender mirror. - To publish an ad hoc sync variable, fill the
Ad Hoc Sync Varfields in the sidebar or add-on preferences and clickPublish Sync Var.
Admitted command actions:
createObjectdeleteObjectsetObjectTransformsetObjectVisibilitysetObjectCustomPropertyselectObjectassignMaterial