CultLib's Python runtime is now cultcache-py, cultnet-py and cultmesh-py, one per layer like the Rust crates. `CultLib Python Source` therefore names the CultLib packages directory and the loader puts each package's src on sys.path, instead of one src directory that no longer holds all three modules. The default also leaves E:\, which has not existed since the July 2026 relocation. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2.9 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, cultnet-py and cultmesh-py are not installed into
Blender's Python, point CultLib Python Source at the CultLib packages
directory; the add-on puts each package's src on sys.path:
F:/Projects/CultLib/packages
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, or enableAuto Drain Commandsto poll command intents once per second while the add-on is loaded. - 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. - In the
Object Syncsection, set the Unity object id/path and lane toggles, select a Blender object, then clickObject Syncto publish abrokkr.sync.object_binding.v0plus per-lanebrokkr.sync.var.v0records for transform, parent, visibility, material, and custom property sync. - In the
Timeline / Cinemachinesection, set the Unity Timeline and Cinemachine targets, then clickTimeline 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. KeepAuto Drain Commandsenabled whilesync-loopis running if Blender should continuously consume daemon command intents. - 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:
createObjectdeleteObjectsetObjectTransformsetObjectVisibilitysetObjectParentsetObjectCustomPropertyselectObjectassignMaterial