Commit graph Brokkr/surfaces/blender/docs
Author SHA1 Message Date
Libby
f891404ee3 node-actions.md: point to the parked design tag
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 23:15:55 +00:00
Libby
01d25c6bf9 Blender createObject: pin whitespace meshType refusal, document meshType and null objectType
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 23:13:57 +00:00
Libby
944ea4a1ec Merge remote-tracking branch 'origin/main' into libby/refusals-fix
# Conflicts:
#	surfaces/blender/tests/test_scene_actions.py
2026-11-10 18:01:45 +00:00
730ceb9e0e Blender add-on: exportGltf action (#7) 2026-11-10 18:01:28 +00:00
8cebec6f3c Blender assignMaterial: colour, idempotent slot, malformed colour refused (#6) 2026-11-10 18:00:37 +00:00
Libby
6b7d6ae9e2 blender: renderStill refuses GL engines headless when libEGL is not loadable
BLENDER_WORKBENCH and BLENDER_EEVEE aborted the whole Blender process inside
bpy.ops.render.render with no receipt. The probe is cached, Linux only, and a
module-level function so tests replace it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 17:55:38 +00:00
Libby
ece40040f4 blender: createObject refuses unknown objectType and non-cube meshType
TEXT and CURVE used to fall through to an EMPTY with an accepted receipt.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 17:55:38 +00:00
6995eabf51 Blender add-on: geometry node graph actions, modifier inputs, evaluated snapshot (#5) 2026-11-10 17:54:18 +00:00
Libby
a98ccacb37 Blender add-on docs: grant-all lets a peer write any registered document
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 19:14:21 +00:00
Libby
5adff0f8a2 scene actions: junction refusal on Windows, direct path-rule tests, live junction smoke, TOCTOU doc
- resolve_inside maps OSError from resolving a component (WinError 448 on a mklink /J junction) to a link refusal.
- Direct check_relative test for '..' and NUL; OSError mapping test.
- headless_smoke.py makes real junctions on Windows (outside and inside the root) and an existing-output case.
- install.md documents the path rules and the residual TOCTOU.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 15:05:48 +00:00
Libby
4b2fefa368 renderStill: ask Blender for the engine by assignment; add headless live smoke
Found by running the actions on Blender 5.2.3 headless: the render engine enum is
dynamic, bl_rna lists only BLENDER_EEVEE, so CYCLES and WORKBENCH were refused.
The fake in the tests now behaves like the real enum. surfaces/blender/tests/live/
headless_smoke.py runs every scene action against real bpy.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 13:14:47 +00:00
Libby
e9a780569f Merge main (server hardening, PR #1) into blender-scene-actions
Resolved blender_target.py: both the server-guard fields and the action directories kept.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 12:52:59 +00:00
Libby
2f38d0c9c2 Blender add-on: token never drawn, UI wiring tests, DELETE shard-log test
- Panel offers only the Copy Session Token button; the token is not drawn.
- Fake-bpy tests: allow_non_loopback carries an update callback that stops a running
  non-loopback server; copy operator writes the clipboard; the panel never draws the token.
- Real-server test: a DELETE with shardId and a valid token leaves no token in the shard log.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 12:52:40 +00:00
Libby
d1501e8fdb Blender add-on hardening: strip token before the store, bind enforcement, loaded-module display
- The guarded server removes sessionToken from put/delete messages before the store,
  which copies envelope fields into the shard log it serves.
- Copy Session Token operator.
- Panel shows cultmesh_py's loaded __file__, not the preference path.
- Unticking Allow Non-Loopback (and any refused start) stops a running non-loopback server.
- stop_server revokes, purges and clears state even if the socket stop raises.
- Tests: shard-log token leak on the real server, node half of the start purge, purge
  persisted across reopening the .ccmp, allow=True through start_server, finally-path.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 12:50:00 +00:00
Libby
2246584416 Blender add-on: importGltf, setCamera, setLight, setWorld, renderStill actions
Paths for importGltf and renderStill are confined to the Import Directory and
Render Output Directory preferences (empty disables the action; .. , absolute
paths and escaping symlinks are refused). Every field is validated before bpy is
touched. renderStill restores render settings afterwards. Tests use a fake bpy;
Blender was not run.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 12:43:45 +00:00
Libby
82c94cf92a Blender add-on: server hardening (opt-in session token, purge, bind guard)
- Optional per-session token (preference, default off): random secrets token at
  Start Server, shown in the panel, required in the sessionToken envelope field on
  every document put and delete, revoked on Stop, never persisted.
- Always on: queued command intents (node records and debug command JSONs) are
  purged on server start and stop; the panel shows the bind address and the
  cultlib_py_src path; a non-loopback Serve Host is refused unless the
  Allow Non-Loopback Bind preference is ticked, with a panel warning while running.
- Tests without Blender, plus real cultmesh_py server tests when CULTLIB_PACKAGES is set.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 12:41:38 +00:00
Meta Vens
12f9169a48 Point the Blender add-on at CultLib's three Python packages
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>
2026-09-10 13:10:53 +02:00
Meta Vens
c40f5fe5ed Expose Blender sync controls in sidebar 2026-06-15 03:30:53 +01:00
Meta Vens
9513d3df48 Add Blender auto command drain 2026-06-15 03:27:21 +01:00
Meta Vens
0c36d32276 Expose parent sync in editor UX 2026-06-15 03:20:28 +01:00
Meta Vens
d2f94302cb Sync scene graph parent relationships 2026-06-15 03:06:55 +01:00
Meta Vens
bb192a28c0 Add ad hoc syncvar editor publishing 2026-06-15 02:37:03 +01:00
Meta Vens
49263e223f Expose Brokkr sync receipts in editor mirrors 2026-06-15 02:23:55 +01:00
Meta Vens
a53b034053 Add Unity component property sync lane 2026-06-15 01:40:51 +01:00
Meta Vens
419352cfba Add continuous sync loop and Cinemachine lane 2026-06-15 00:46:05 +01:00
Meta Vens
f07ccef598 Add Brokkr sync organ contract and editor UX 2026-06-14 23:52:27 +01:00
Meta Vens
082579106f Serve Blender CultMesh node 2026-06-14 15:00:48 +01:00
Meta Vens
1f632b1120 Move Blender target onto cultmesh-py 2026-06-14 13:12:09 +01:00
Meta Vens
c22fa31aaa Back Blender target with cultcache-py 2026-06-14 12:36:09 +01:00
Meta Vens
57ea556b42 Add Blender target surface 2026-06-13 19:55:59 +01:00
Meta Vens
16adc98447 Initial Brokkr scaffold 2026-06-12 11:57:33 +01:00