github m3trik/pythontk v0.21.0
pythontk v0.21.0

latest releases: v0.25.1, v0.25.0, v0.24.0...
14 days ago
  • 2026-11-08 -- Fixed (release CI): the tests of where AppInstaller resolves a location no longer inherit CI's PYTHONTK_TOOLS_DIR, and ruff is clean (test/test_app_installer.py setUp; the held re-exports in scene_records.py and articulation/record.py say so to F401; export_verify.py a loop variable no longer shadows dataclasses.field; two tests' lambda and l). The workflow now sets the variable for the whole job, so three tests read it in place of the location they test.
    • Test(s): PYTHONTK_TOOLS_DIR=<dir> pytest test_app_installer.py test_export_verify.py test_emissive_groups.py: 205 passed (3 red before); ruff check . clean (9 before).
  • 2026-11-08 -- The transport's join narrows several carriers by the name's leaf, and its name fallback is the one ladder every reader binds a name by (core_utils/engines/scene_export/scene_records.py new NodeNames.resolve, Transport.join, proxy_name's docstring; file_utils/mesh_convert/_media.py _Media.resolve_node delegates; core_utils/api_surface/_source_reader.py _retirements). Review: join("prop", ["|g1|ns:prop", ..., "|g2|ns:prop", ...], [0, 2]) was ambiguous while the same call without carriers gave ([0, 2], "leaf"); carriers the name states none of exactly now narrow by its leaf. The exact-then-unique-leaf ladder lived twice (_Media.resolve_node and the join); it is NodeNames.resolve, in core_utils where both reach it. A Deprecation.class_attribute notice bound to a name is now read by that name, not the source of its value, so a value restated in its new home's terms is the same notice.
    • Test(s): red first, then green: test_mesh_convert.py test_the_transport_joins_a_track_by_the_one_rule (the reviewer's case; red: ambiguous); test_api_surface.py new test_a_class_attribute_notice_is_named_by_the_attribute_it_retires (red: keyed (2)).
  • 2026-11-08 -- Held until 0.22.0: the names v0.20.0 noticed for removal in 0.18.0 (2026-10-24) work again, deprecated, until their window closes on 2026-11-23, after 0.21.0 ships (core_utils/engines/scene_export/_retired.py new, GlbBlock with .key, WebProjection, re-exported by scene_records.py; RecordSpec.web, SceneRecords.web_shape; geo_utils/articulation/_retired.py new, ArticulationWeb, ArticulationWebRig, ArticulationWebJoint, ArticulationWebGrab, re-exported by record.py; core_utils/engines/textures/region_masks.py restored, RegionMaskManifest with .schema and .SCHEMA_VERSION; file_utils/mesh_convert/_mesh_convert.py MeshConvert.ANIMATION_WEB_VERSION (the record's version), SHADOW_WEB_NODE_FIELDS and ARTICULATION_WEB_NODE_FIELDS ((): a GLB binds no field by node index); __init__.py lazy DEFAULT_INCLUDE entries, their MOVED_NAMES rows moved to the listed HELD_UNTIL_0_22). The Rev G restructure had removed them before their notices allowed. Each keeps its original notice (remove in 0.18.0, since 2026-10-24) and now names a living replacement. web_shape delegates to SceneRecords.shape; RecordSpec.web gives a GlbBlock keyed by the record, in its version and shape, where a GLB carries it (glb_verbatim), else None. The block shapes and the region-mask manifest, whose new homes changed shape, are v0.20.0's code (the manifest's model and wire form, no packer). At 0.22.0, delete them and move the HELD_UNTIL_0_22 rows into MOVED_NAMES.
    • Test(s): red first (MovedNameError for each), then green: test_scene_records.py new TestRetiredUntil022 (3), test_the_glb_block_machinery_is_retired_whole and test_articulation.py test_the_retired_block_shapes_name_their_new_home read the held rows; surface_snapshot.json updated (the 7 root names back); check_api_surface.py pythontk --semver holds nothing.
  • 2026-11-08 -- The record name rule's golden cases: Conformance.cases("record_names") (file_utils/mesh_convert/_media_conformance.py, new; core_utils/conformance.py PROVIDERS). _Media.resolve_entries (exact name, then leaf; the hierarchy score; overlapping entries settled together; a tie never guessed) generated as cases -- one file's nodes (name, parent, mesh) and one record's entries, each entry's status, bound node and tied candidates -- so an engine port of the rule is held to the reference, as the shadow and articulation models' ports are. An exact model states no tolerance.
    • Test(s): test_conformance.py (the registry lists it; a document's tolerance may be empty; count sizes it), 5 passed.
  • 2026-11-08 -- Measured, no change: FBX2glTF keeps a take's constant channel whenever it differs from the node's static transform, so no GLB clip needs a pin pass (file_utils/mesh_convert/_animation.py unchanged). A fresh Maya 2025, the Scene Exporter (fbx_glb), FBX2glTF 0.13.1: mover keyed rotateY 30 at 21 and 90 at 40 over ShotA [1, 20] / ShotB [21, 40], exported at frame 40 (static rotation 90): ShotA carried its rotation channel, 2 keys at 30 degrees; ShotB its 25-key ramp 30 to 90. The converter drops a take's channel only when its held value IS the node's static value (the shots.glb.json baselines' ShotA), where the node at rest already plays it; the baselines are unchanged.
  • 2026-11-08 -- Fix: Assess's "Nf unused" is what Trim Trailing Space would cut, a member with a behavior's own keys included (core_utils/engines/shots/shot_sequencer.py new ShotSequencer.content_end; core_utils/engines/shots/manifest/manifest_engine.py assess, _compute_content_end(scanned=)). Measured 2026-11-07 in a fresh Maya: a shot whose member fades in AND slides read as all but the fade unused (A02 [210, 410], the pan sliding until 340: "185f unused"), since the keys were queried only for a member with no behavior; and a member's whole-timeline key extent hid the tail of a shot whose member is keyed again in a later one. content_end is where a trailing trim puts the end, changing nothing (the shot's sequences and its keys inside it, the system's bound samples left out, snapped up as the trim snaps); assess reads it through the host's _sequencer (mayatk's and blendertk's scan their scene, no host code changed) and falls back to each member's key extent, now a behavior member's too, where the sequencer reads nothing.
    • Test(s): red first, then green: test_shots_manifest_core.py test_an_animated_object_with_a_behavior_ends_the_content_at_its_keys (expectedFailure removed; red: 185 for 70), new test_the_hosts_sequencer_ends_the_content_where_a_trim_would (red: 185 for 50), test_content_end_is_where_a_trailing_trim_puts_the_end; mayatk test_shot_manifest_behaviors.py new RecipeRoundTripTest.test_the_unused_tail_ends_at_a_faded_members_own_keys and blendertk test_shot_manifest.py its twin check (each red on the old engine: 225 for 111 / 110, green after; mayatk 23 passed, blendertk 60 checks).
  • 2026-11-08 -- A store may refuse a write it cannot make without writing over another's carrier (core_utils/engines/scene_export/scene_store.py new SceneStoreBase.WriteRefused (StoreWriteRefused); export_snapshot.py ExportSnapshot.commit). blendertk's store refuses a deliverable write while a module's parented data_export holds the name (Blender's names are unique). The commit says a refusal once, its fix and no traceback, notes it under the first record refused (ExportSnapshot.noted, which the Scene Exporters log), and leaves each record failed, as stored.
    • Test(s): red first (an AttributeError per record, each with a traceback), then green: test_export_snapshot.py new TestAStoreThatRefusesTheWrite.test_a_refusal_is_said_once_and_noted.
  • 2026-11-08 -- Fix: a render effect plays on its curve proxy's parent, never on every node sharing the name's leaf (core_utils/engines/scene_export/scene_records.py new Transport.join, target_name / proxy_name / text state the rule; file_utils/mesh_convert/glb/fades.py new GlbFades.carriers, apply_curves(carriers=), private _parents, _paths, _resolve replace _by_name; _mesh_convert.py apply_glb_visibility(carriers=), apply_glb_fades(carriers=); _fbx2gltf.py reads the carriers before the proxy strip; glb/edit.py new GlbEdit.user_property; export_verify.py check_fbx_render_effects; render_effects_record.py the track's node help). Measured 2026-11-08: nodes a:box (with child box__opacity) and b:box joined by the leaf as {'box': [0, 1]}, so the GLB faded and gated b:box with a:box's curve. The rule, shared by every reader and producer: a node channel's node is the parent of its proxy (<leaf>__<channel>) wherever the file carries one; a track with no proxy joins by name, the exact name (or DAG path suffix) first, then the one name its leaf matches; nodes sharing one name are one name and all play it (glTF names are not unique: the viewer's test_every_node_of_that_name_fades_not_just_the_first holds that); a tie between names is said, never guessed. The conversion reads where each proxy sat before it strips them. fbx_render_effects now fails two tracks sharing a leaf on one proxy (the other's curve never ships) and two proxies of one name (a reader keys them as one). The WebXR viewer binds pointer channels by material index, so it plays what the GLB states, unchanged.
    • Test(s): red first, then green: test_mesh_convert.py new test_a_node_is_its_proxys_parent_never_a_leaf_twin, test_the_proxys_parent_is_read_before_the_strip, test_with_no_proxy_a_shared_leaf_is_said_never_guessed, test_with_no_proxy_the_exact_name_wins_over_its_leaf_twin (red on the reversed tree: 3 failed, 1 errored), test_the_transport_joins_a_track_by_the_one_rule; test_export_verify.py new test_two_nodes_sharing_a_leaf_on_one_proxy_fail (red: passed both).
  • 2026-11-08 -- Pre-release review fixes for 0.21.0: no machine path in a shot record, the reader's carrier precedence written once, the pack memo per write, the retired 0.21.0 parameters gone (core_utils/engines/shots/shot_model.py new ShotStore.AUTHORING_ONLY_KEYS, private _without_authoring_keys; core_utils/engines/scene_export/scene_store.py new SceneStoreBase.reader_values; scene_records.py the contract states the overlay; material_record.py MaterialFamilies.export_record starts the pack memo afresh; file_utils/mesh_convert/fbx_media.py _applied_channels, reader_records, keep_takes, strip_machine_paths; _fbx_materials.py _carried_record; export_verify.py check_fbx_render_effects, check_fbx_dependencies; _sidecar.py _data_export_carrier; _animation.py _hold_roots; _mesh_convert.py overlay_data_export docstring, finish_fbx_deliverable(hdr_codec=), embed_fbx_highlight_probes(hdr_codec=), apply_glb_lightmaps(carrier=, replace_authored=) removed; net_utils/preview/look_capture.py LookCapture.bound_maps(block=) removed; geo_utils/shadow_projection.py ShadowProjection.fade floors source_ramp, ShadowConformance new case fade_ramp_floor; core_utils/handoff/script_template.py _ROW_TOKEN; file_utils/job_queue.py; net_utils/credentials.py; core_utils/handoff/folder_delivery.py). A shot's behaviors entries carried the author's audio file (source_path, C:\Users\...\vo_01.wav) into every delivery's animation record, FBX and GLB: the export view now leaves every AUTHORING_ONLY_KEYS key out at any depth, and the scene's store keeps it (the manifest re-keys from it). The rule "the scene's own carrier, else the first module's, a module's handoff never" was written five times and two disagreed (FbxMedia.reader_records took a module's handoff): it is SceneStoreBase.reader_values((name or path, root level, channel, value) rows) -> {channel: (value, own)}, and every reader of a written file calls it (a node no carrier names is skipped there too). overlay_data_export keeps taking a channel off every carrier, a module's included -- a preview clears the shot record, and a module's copy left behind would answer for it -- which the contract now states; it writes onto the scene's own alone. A take's hold rode a numbered carrier (data_export1, data_export.001): _hold_roots asks SceneStoreBase.is_carrier. In one long session scene A's packed Wood_ORM.png (the pack memo, process-global) was embedded into scene B, whose record names its own authored Wood_ORM.png: each write's producer (MaterialFamilies.export_record with a packer) starts the memo afresh, so it answers only for the latest write's packs, still ahead of a stale same-named file a folder holds. keep_takes joins a take to its shot ignoring case, as every reader of that join does. A Row: line's quoted default or label holding = read as an unknown option and the row vanished: an option is an unquoted name=value (one token pattern replaces shlex, whose quote stripping lost that difference; Weighed paragraph). ShadowProjection.fade raised ZeroDivisionError for source_ramp <= 0: floored at 1e-4 m, as the viewer's shadowFade floors it; the C# port (unitytk ShadowPlaneModel.Fade) gave Inf/NaN and takes the same floor. Re-saving a credential with no username left the old #username keyring entry, read back beside the new password: it is deleted. The hdr_codec, carrier, replace_authored and block parameters, deprecated 2026-11-07 for removal in 0.21.0 (which check_api_surface.py --check would have failed on from 2026-12-07), are removed outright: no workspace caller passes them, so no window is needed; a call passing one raises TypeError. LookMatch.to_rig's and its CLI's gain default of 1 is pinned by tests. JobQueue names its heartbeat states from WORKER_STATES.
    • Test(s): red first, then green: test_shots_core.py new test_no_machine_path_reaches_the_export_view; test_fbx_media.py new test_another_writes_pack_never_rides_into_this_one (red: A's pack embedded), test_reader_records_never_take_a_modules_handoff, test_keep_takes_joins_a_take_to_its_shot_ignoring_case; test_mesh_convert.py new test_a_hold_never_rides_a_carrier_however_numbered, test_the_root_level_is_the_scenes_roots_or_the_converters_children, test_clearing_a_channel_clears_the_modules_copies_too, test_the_record_is_read_off_a_carrier_alone grown (Module|data_export), the retired-parameter cases now TypeError; test_export_verify.py new test_a_grouped_modules_carrier_is_never_the_scenes (dependencies gate), test_the_record_is_the_scenes_own_never_a_grouped_modules (render-effects gate), test_a_carrier_under_a_group_is_named_with_its_path (object_path, user_properties(paths=True), user_property_items(paths=True)); test_scene_records.py new test_the_scenes_carrier_is_the_root_level_data_export, test_a_reader_takes_the_scenes_own_else_the_first_modules; the four carrier tests fail with is_scene_carrier patched back to the name-alone rule; test_shadow_projection.py new test_a_ramp_at_or_under_zero_is_floored_as_every_port_floors_it, the fade cases 8; unitytk dotnet test (models_dotnet) red on fade_ramp_floor before the C# floor, 31 passed after; test_bridge.py new test_a_quoted_default_or_label_holding_an_equals_sign_is_no_option; test_net_utils.py new test_resaving_without_a_username_drops_the_old_one; test_look_match.py new test_a_rigs_gain_defaults_to_one, test_cli_rigs_gain_defaults_to_one (red with the default back at pi); test_look_capture.py test_the_retired_block_argument_is_gone.
  • 2026-11-08 -- The scene's carrier is the root-level data_export: a grouped module's own-named one under a group is a module's, on every reader of a written file (core_utils/engines/scene_export/scene_store.py new SceneStoreBase.is_scene_carrier; file_utils/mesh_convert/fbx_file.py new FbxFile.object_path, user_properties(paths=), user_property_items(paths=); fbx_media.py _carrier_props names a carrier under a group with its parent, new private _model_parents, _applied_channels and reader_records by the rule, private _OWN_CARRIER removed; _fbx_materials.py _carried_record; export_verify.py check_fbx_dependencies, check_fbx_render_effects (the scene's own record, where it took the last in file order); _sidecar.py _data_export_carrier and overlay_data_export by the rule, new CONVERTER_ROOT, private _root_level_nodes; handoff_record.py the FBX rule's text; scene_records.py the contract states the rule). Every reader took the first carrier named exactly data_export in file order as the scene's own, so an assembly whose grouped module (Module|data_export, an FBX Model named data_export under Module) came first read that module's stale record as the file's -- measured 2026-11-08 on a Maya assembly's Materials and Shots deliveries. The scene's own is the one at the root of the file's hierarchy (an FBX Model wired to the scene root; in a GLB a scene root, or a child of FBX2glTF's RootNode); the rest are modules', read only where the scene's carries no such record, a module's handoff never -- the GLB reader too, which took a module's (_data_export_carrier). The GLB overlay writes onto the scene's own and makes one at the root when the file has none, where it wrote onto the first node that held the channel, a module's or a namespaced one. The verifier's fbx_dependencies reads carriers alone, as every reader does (an artist's lightmaps-named attribute on a mesh failed the gate). A Model with no display name still parents a carrier under it.
    • Test(s): red under the old rule (the readers' pick patched back to the name alone: the module's Old_Lightmap.exr read for Room_Lightmap.exr; the GLB's module for scene), then green: test_fbx_media.py new test_a_carrier_under_a_group_is_its_modules_never_the_scenes (build_carrier_fbx(parents=)), test_mesh_convert.py new test_a_carrier_under_a_group_is_its_modules_never_the_scenes (converted and native GLBs, the overlay), test_handoff_record.py pins the rule's text; test_export_verify.py new test_a_property_of_a_records_name_on_another_node_is_no_record (red: FAIL for SKIP); the GLB test's modules-only file (red: the module's handoff read); test_fbx_media, test_mesh_convert, test_export_verify 708 passed after; the affected run (53 modules) 3720 passed.
  • 2026-11-08 -- Fix: the horizon bake keeps two parts meeting face to face a float apart as one span (img_utils/_rasterize.py / _img_utils.py rasterize_height_spans(merge_gap=), default the old 1e-9; geo_utils/shadow_horizon.py ShadowHorizon.bake passes one step of the 16-bit height code at the geometry's height; ShadowHorizonConformance new case faces_a_float_apart). Measured 2026-11-08: Unity's import of a Blender delivery put an awning's post top and slab bottom (two boxes in one mesh) 1.2e-7 m apart (1.0999999 and 1.1), where Maya's coincide, and the 1e-9 merge kept the gap as daylight: a second span over the post (3581 of 172032 codes off). A gap no wider than one code step encodes as touching, so it is none.
    • Test(s): red first, then green: test_shadow_horizon.py new test_two_parts_meeting_a_float_apart_bake_one_span (coincident and a float32 step apart; red: a second span over the post); 43 passed with the conformance; unitytk dotnet test (models_dotnet) red on the new case before its port's fix (288 codes, 65535 for 0), 31 passed after.
  • 2026-11-08 -- Fix: a delivered FBX names no folder of the machine that wrote it (file_utils/mesh_convert/fbx_media.py new FbxMedia.strip_machine_paths, private _strip_records, _strip_ascii, _carried, _is_absolute; _mesh_convert.py finish_fbx_deliverable runs it last, an ASCII write alone). Measured 2026-11-08: every Scene Exporter delivery carried its producer's user name and folders -- Maya's header the staging file under the user's temp folder (DocumentUrl, SrcDocumentUrl, Original|FileName) and its project folder (Original|ApplicationActiveProject), Blender's the source .blend (Original|ApplicationNativeFile), and both each embedded map's absolute source (Video Filename/Path, Texture FileName) and a staging-relative twin (RelativeFilename/RelPath); every committed unitytk sample held them. No reader needs them for an embedded map (Unity and FBX2glTF read the Content), so the header's absolute paths are blanked and every field naming an embedded map -- the SDK's content-less second Video for a file it embedded once included, and the Texture each is wired under -- names the bare file name, the spelling embed_dependencies writes. A map the file only references keeps its path, the one a reader finds it by (reported as kept and logged). Binary through the records, ASCII (a Maya preset can write it) as text, line endings kept; a clean file is not written.
    • Test(s): red first, then green: test_fbx_media.py new StripMachinePathsTestCase (4: a Maya-layout fixture's header and embedded maps, the twin, a reference-only map kept, bytes untouched; a clean file not rewritten; an ASCII write, LF and CRLF; a non-FBX refused); test_mesh_convert.py new TestFinishFbxDeliverable.test_the_deliverable_names_no_folder_of_the_machine_that_wrote_it (the pass runs after the dependencies, an ASCII write takes it alone) and TestStrippedPathsReachTheGlb (real FBX2glTF: the stripped file's maps are bound in the GLB); verified on the seven re-exported unitytk samples, a Blender 5.1 export and Maya 2025 binary and ASCII writes (re-imported into Maya, each map read from the extracted .fbm).
  • 2026-11-08 -- Articulation v2 fix pass: the record's lengths are glTF's reading of the file, conformance on the identity's edge, the plan refuses an anchor it would drop, the viewer's panel sized by its bones (geo_utils/articulation/record.py, model.py, plan.py, conformance.py; core_utils/engines/scene_export/scene_records.py; net_utils/preview/features/articulated_rig/articulated_rig.js, model.js, kernel/extras.js; __init__.py MOVED_NAMES; docs/webxr_preview.md; regenerated kernel/records.js, DELIVERABLE_FORMAT.md, scene_records.schema.json). Units, measured (Maya 2025, Blender 5.1, Unity 6000.3 and FBX2glTF 0.13.1, each an instance the tooling launched): FBX2glTF reads an FBX local as the file value x 0.01 whatever its UnitScaleFactor (the unit lands on the root's scale), Maya writes every local in centimetres under every Units setting and its own FBX unit conversion, and Blender writes every bone in Blender units under every apply_scale_options and scale_length -- so the producers' record (that value x 0.01) is a GLB's node locals exactly, for every file unit, and the viewer measures nothing. Unity's FBX import multiplies every local by the file's unit and its global scale instead (a 24 cm joint imports at 0.24 from a centimetre file and 24 from a metre one): the contract text (ArticulationJointPose.t, the anchor's and a slide's help, the assembly) now says so, and unitytk's importer scales by that conversion. The assembly poses each root's chain in its OWN root's space (a rig's roots may hang under different nodes). Conformance: ArticulationConformance.rigs() appends, keeping every older index, the anchored arm with its anchors on the identity's edge -- offset_only (a pure offset: Unity's AddJoint default), turn_only, hair_off_t, hair_off_q, negated_identity, unnormalised_identity -- and with its anchors unnormalised (unnormalised_anchor); the reviewer's mutants that ignored t or q, took a tolerance or skipped the normalisation now fail in Python, JavaScript and C#. ArticulationModel.is_identity reads q as the model does: the identity rotation once normalised, either sign ((0, 0, 0, -1), (0, 0, 0, 2)); model.js isIdentity likewise. ArticulationPlan: new refuse_plan_anchors, run by check and joint_records -- a plan joint stating an anchor that is not the identity is refused, naming it and the fix, where the record dropped it silently (the producers' refuse_anchors calls could never fire and are gone; refuse_anchors stays for a rig handed in, SolverExpression's). The viewer: the Rig window's reach (an unlimited slide's span, the joint axes' size) is the rig's bones pivot to pivot (model._bone), the axes drawn on each joint's anchor with its axes -- a flat model's rests are all 0, which sized both 1 m / 0.12 m whatever the rig; a nested rig's are HEAD's. The generated records.js typedef is GlbRecord (was GlbBlock, the retired class's name); put_glb_block / glb_block / glb_records and the viewer's readBlock / BLOCKS keep their names -- a block is the GLB's root-extras entry, now always its record -- and their docs say so. MOVED_NAMES SceneRecords.glb_version now names pythontk.SceneRecords.resolve (it named a dataclass field, which no getattr reaches). Prior art for the anchor frame named (USD Physics joints' local frames, ArticulationBody's anchors, KHR_physics_rigid_bodies, FBX pivots).
    • Test(s): test_articulation.py test_an_anchored_ball_takes_the_hands_rotation (the ball's world rotation is the hand's wherever no limit holds the chain, and its own turn leaves its anchor's point; red against the three wrist mutants), new test_the_edge_rigs_sit_on_either_side_of_the_identity; test_articulation_plan.py new test_a_plan_joint_stating_an_anchor_is_refused_not_dropped (red before), test_the_identity_anchor_is_the_identity_however_it_is_spelt (red before); test_scene_records.py every retired block name's home resolves (red before: RecordSpec.version); test_articulated_rig_web.py new test_every_rigs_joints_bind_as_one_assignment, test_a_hands_turn_is_seen_from_its_joints_own_space, test_a_flat_models_parts_keep_their_own_scale, the slide text at a non-zero slide, the axes on the anchors sized by the bones (each red under the reviewer's viewer mutants V1, V5, V7, V9, V10 and HEAD's reach and axes).
  • 2026-11-08 -- Articulation v2 on the GLB route, and the GLB block machinery retired whole: the build carries the articulation record as it stands, the WebXR viewer resolves its joints and parts by name, ports the anchor term and poses every part from its joint chain (file_utils/mesh_convert/_articulation.py rewritten: apply_glb_articulation carries the record, new private findings, the index binding and its root-space refusal retired; _fbx2gltf.py the renumber pass (_renumber_block_nodes, GlbBlock.node_fields) retired; _sidecar.py verify_glb holds each carried record through SceneRecords.problems and notes what a rig's reader cannot pose; _media.py node_index / resolved take meshes and under, new node_subtree; _mesh_convert.py MeshConvert.ANIMATION_WEB_VERSION, SHADOW_WEB_NODE_FIELDS, ARTICULATION_WEB_NODE_FIELDS removed; core_utils/engines/scene_export/scene_records.py GlbBlock, WebProjection, RecordSpec.glb, RecordSpec.web, SceneRecords.glb_shape, glb_version, block_problems, web_shape removed, put_glb_block / glb_block / glb_records read the record's own version and shape; handoff_record.py the GLB states every record it carries in the record's own terms; root drops GlbBlock / WebProjection; every removed name a MOVED_NAMES row; net_utils/preview/features/articulated_rig/articulated_rig.js, model.js, kernel/resolve.js indexNodes({under}), new subtreeOf; regenerated DELIVERABLE_FORMAT.md; docs/webxr_preview.md). One layout, two containers: a GLB carries the FBX's articulation record in its root extras, its version and shape the record's own, and binds nothing to a node index, so no node strip renumbers it. Each reader resolves a rig's joints by name over every node as one assignment (the rule every record's reader shares, _Media.resolve_entries / kernel/resolve.js: exactly, else the name after the last :; a tie binds neither) and each grabbed part by name under its joint's node, that node included (a flat model's part is its joint). What a reader cannot pose is said, never guessed, by the build, by verify_glb (notes under extras.articulation) and by the viewer (its console): a joint two nodes answer leaves its rig unposed, a rig only partly in the file is not posed, a rig not in it is passed over, a part that resolves to no single node under its joint is not grabbable. The refusal of a rig whose roots hang under different nodes is retired: each root's chain is posed and solved in the space its own root hangs in, and no channel spans two roots. The viewer reads lengths as the record's metres (scaleOf and rig.unit gone), ports rest . A . pose(channels) . A^-1 into model.js held to ArticulationConformance (the anchored, flat and anchored-tree rigs included), and poses every part from its parent JOINT's pose: a node nested under its parent joint's takes its local as it stands, any other is placed where that joint's pose puts it. Every other behaviour is HEAD's -- the Pose rigs window, its sliders (a slide in cm), Reset, Return to animation, Joint axes, the grab and mode rows, mouse drag and wheel depth, headset grip, the re-pose after the mixer, auto-activation. Measured against git HEAD (its archives, each tree's own pipeline): the hand-authored arm poses identically at rest, on the sliders and after Reset (0) and within 8.9e-16 after a grab; mayatk's test arm exported through the real Maya pipeline (FBX, rig-helper sweep, FBX2glTF) poses within 2.6e-8, HEAD's measured unit 0.0099999998 against the record's metres. RecordSpec.glb_verbatim stays: a record a GLB does not carry opts out -- the deliverables it states otherwise (materials, as glTF's own materials; the handoff, the GLB's own) and every private record.
    • Test(s): test_articulated_rig_web.py ported and grown to 38 (TestApplyGlbArticulation 17, ServerAutoActivation 2, Live 18, Production 1): red first against HEAD's archive (33 of 35 failed there: HEAD refuses a v2 record) and against five mutants of the working tree, each failing the test that pins it -- HEAD's model.js (the conformance, anchored and flat tests), posing by the scene parent (the flat test), one space for every chain (the split-roots test), a grabbed part resolved over the whole file (the namesake test), exact names only (the namespace test); new: the verbatim carry and its shape, a v1 record refused with its fix, verify_glb's notes, a flat model's parts, a node strip leaving the record as it stands, the anchored rig, the flat model, the split roots, the wheel, the panel's buttons and rows, the pose held over a playing clip, a partial rig, the next load's teardown; deleted: the renumber pass's own test. test_scene_records.py new test_the_glb_block_machinery_is_retired_whole (red on HEAD's archive), the block-machinery tests deleted (_block_record, GlbBlock.key, WebProjection's signature, a replaced record's block, block_problems), glb_block / put_glb_block held on a record a GLB carries; test_mesh_convert.py the three retired MeshConvert names are moved names, verify_glb and the carry held through problems; test_articulation.py, test_audio_record_shape.py, test_handoff_record.py, test_preview_server.py read the record's own version and shape; surface_snapshot.json drops the two root names. affected_tests.py --run over every file changed: pythontk 7615 tests, 7584 passed, 31 skipped, 0 failed; m3trik 93 passed. test_articulated_rig_web.py in full: 37 passed, 1 skipped (the production class without its GLB; run on mayatk's test arm exported through the real Maya pipeline it passes). Gates: check_dcc_twins.py --check, check_layers.py, check_api_surface.py --check and --semver (pythontk, mayatk, blendertk: 0 unaccounted), check_saved_names.py, sync_scene_records.py --check, check_js_types.py, check_english_only.py, check_public_hygiene.py, check_docs.py --workspace . OK.
  • 2026-11-08 -- Articulation v2: an anchor frame on every joint, the record in glTF's frame, one layout in both containers (geo_utils/articulation/record.py new ArticulationAnchor (IDENTITY, identity()), ArticulationJointPose.anchor required, the version's help names the v1 fix; ArticulationBlock, ArticulationBlockRig, ArticulationBlockJoint, ArticulationBlockGrab and the retired ArticulationWeb* aliases removed, MOVED_NAMES rows; geo_utils/articulation/model.py ArticulationModel poses rest . A . pose(channels) . A^-1 in local, read, solve (columns, pivots, reach, the wrist split), new is_identity, scale_of removed (MOVED_NAMES row); geo_utils/articulation/conformance.py the anchored, flat and anchored_tree rigs appended, the scale quantity retired; geo_utils/articulation/plan.py ArticulationPlan.record(unit_scale=) / joint_records(unit_scale=) write identity anchors and scale every length, new refuse_anchors; core_utils/engines/scene_export/scene_records.py SceneRecords.ARTICULATION v2, glb_verbatim, in_frame, its GlbBlock dropped, the assembly stated once; file_utils/mesh_convert/_mesh_convert.py the deprecated MeshConvert.ARTICULATION_WEB_NODE_FIELDS serves its v1 value as a literal; root drops ArticulationBlock / ArticulationWeb; regenerated DELIVERABLE_FORMAT.md, scene_records.schema.json, net_utils/preview/kernel/records.js). Every joint carries anchor: {t, q}, a point and an orientation in its rest frame, and a part turns as rest . A . pose(channels) . A^-1: a hinge about the anchor's axes through its point, a slide along them. The identity anchor takes the v1 code path, so a rig of identity anchors poses, reads and solves bit for bit as before (the 32 v1 conformance cases are equal with == on every float, the dropped scale aside). A flat model -- every part's rest the root's, its hinges in its anchors -- chains by its joints alone, and solves as the same rig nested on its anchors (states within 1e-4 over 60 drags). The record is stated in glTF's frame (SceneRecords.FRAME): lengths in metres as the file holds each joint's parent frame, quaternions (x, y, z, w); a reader reads metres and measures nothing, so ArticulationModel.scale_of retires (no reader maps units with it: a glTF is in metres and an FBX importer converts the file's unit; it was no truth for an anchored hinge either). A GLB carries the record as it stands; a v1 record is refused with its fix, a re-export. A producer's solver turns each joint about its own pivot, so ArticulationPlan.refuse_anchors refuses any other anchor, naming its joints.
    • Test(s): red first, then green: test_articulation.py new TestAnchor (7: the identity anchor bit for bit, an anchored hinge and slide, read and solve against the nested rig, an anchored ball's wrist split, a flat model's chain, a rig without anchors refused naming the re-export; red: 6 failed on the v1 model), test_no_unit_is_measured_the_record_is_in_metres (was test_scale_of_...), TestConformance new test_the_anchored_cases_are_appended_so_every_older_index_stands, test_the_anchored_rigs_cover_hinges_slides_a_ball_and_a_branch, TestRecordShape new test_v2_is_in_glTFs_frame_with_an_anchor_on_every_joint, test_the_retired_block_shapes_name_their_new_home; test_articulation_plan.py new test_the_record_writes_identity_anchors_and_metres, test_a_producer_refuses_an_anchor_its_solver_cannot_turn (red: no unit_scale, no refuse_anchors); test_scene_records.py new test_a_glb_carries_the_articulation_record_itself_and_a_v1_is_refused, the GLB-block mechanism tests take a record declared in the test (no registry record holds a block now). test_mesh_convert.py the retired alias's literal and verify_glb's block version through glb_version; surface_snapshot.json drops the two root names. affected_tests.py --run: 7605 tests, all green but test_articulated_rig_web.py (19: the GLB block and the JS model, the GLB build's and the viewer's half).
  • 2026-11-08 -- Shadows v3 on the GLB route, review fixes: the viewer reads the plane's canvas and source ramp, keeps every HEAD behaviour no decision changed, and resolves a file's names off one index; the media every record shares is one part (net_utils/preview/features/shadow_rig/model.js shadowFade takes sourceRamp, metres, floored at 1e-4; shadow_rig.js the plane's canvas and source_ramp, the colour map's chain and sampler, an unplaced plane said; kernel/resolve.js new indexNodes and resolveIndexed; file_utils/mesh_convert/_media.py new, the private _Media part: the one-assignment node resolution and the media transport moved off _Lightmaps (node_index, resolve_entries, resolved, node_parents, node_lineage, held, put, locate, extract_fbx_files) and the one media gate (findings) both records' media_findings state their rules to; _shadow_rigs.py apply_glb_shadows holds the carried record to the current shape, carries the FBX's own copy of a file first, reads an image through GlbEdit.image_bytes; _lightmaps.py, _articulation.py, _fbx2gltf.py, _highlights.py call _media; docs/webxr_preview.md). The page ramps a plane's fade over its source_ramp times unit_scale, the ramp its producer previews, where it ramped over one unit of the record (a centimetre rig exported in metres faded over a metre), and places a following plane by the plane's canvas, not the silhouette's (a Blender quad with a lopsided canvas sat 0.11 m off). HEAD's behaviours the v3 decisions do not require are back: a silhouette's colour map is the atlas, else the plane's material's own map, else the plane's own image (read whole), sampled as glTF's default sampler samples it (repeat), and the build carries the copy of a file the GLB already holds (the FBX's) before a loose one. A plane whose source or contact is not in the file still draws at its intensity (the decision), and now says so once in the console, so a selection export that left the source behind is seen. Measured on one scene rigged in both DCCs with a lopsided canvas, the page puts mayatk's Y-up quad on Maya's corners within 2.5e-8 m (its sides as written) and blendertk's Z-up quad on Blender's within 7.4e-7 m (its sides swapped, told off the quad): the producers write the sides in their own ground axes, which mirror in the file. Each source and contact name is resolved alone against one index of the file: 30k nodes and 200 planes resolved in 13.8 s and now 30 ms; the page built that session in 11.5 s and now 0.14 s. A record in the root extras that the current shape refuses (a plane missing source_ramp) is refused and said as the carrier's is, instead of carried on. Viewer parity re-audited against git HEAD (the colour map's sampler now in the audit, the fade sampled strictly inside the clip).
    • Test(s): red first, then green: test_shadow_web.py new test_the_colour_map_is_the_atlas_then_the_material_then_the_planes_own (red: the plane's own image over the material's map, wrap clamped), test_names_resolve_against_one_index_of_the_file (red: 11450 ms against a 3000 ms bound), test_the_files_own_copy_rides_before_a_loose_one (red: the loose bytes rode), test_a_carried_record_its_shape_refuses_is_refused_and_said (red: carried on), test_the_fade_ramps_over_the_planes_source_ramp (was ..._over_one_unit_of_the_record; red at source_ramp 0.01: 0.00034 for 0.034), the unplaced plane's console line in test_the_fade_is_the_models_and_nothing_of_the_material_is_read (red: none), and test_a_z_up_quad_lies_flat_where_the_blender_drivers_put_it (red since the contract moved the canvas); pins for behaviours a mutant survived: test_a_horizon_map_packed_in_an_atlas_is_read_from_its_own_tile (the rect's V flip), the silhouette's colour space and wrap in the probe, a finished FBX's own copies over loose ones beside it, test_each_producers_canvas_sides_land_where_its_own_rig_put_them (the measured Maya and Blender corners); each reviewer mutant and each restoration's revert now fails a test.
  • 2026-11-08 -- The horizon bake is watertight, and a shadow plane states its fade's ramp and its canvas (img_utils/_rasterize.py new _covers; geo_utils/shadow_horizon.py ShadowHorizonConformance new named cases edge_rays_flipped, edge_rays_split, edge_rays_fan, equal_gaps, half_code, row_tie, march_edges, fixtures _box_flipped / _fan, an extra source's own points; geo_utils/shadow_projection.py ShadowProjection.fade(source_ramp=) for unit=, the cases' source_ramp; geo_utils/shadow_record.py ShadowPlane.canvas (was ShadowPlaneSilhouette.canvas), ShadowPlane.source_ramp (over 0), new ShadowRecord.fade, ShadowRecord.silhouette takes no canvas; scene_records.py the shadows text; regenerated DELIVERABLE_FORMAT.md, scene_records.schema.json, net_utils/preview/kernel/records.js). A pixel centre on an edge two triangles share is now exactly one triangle's (each edge's side test is computed from its endpoints in one order, a top-left rule on a tie): a ray down a face's split diagonal could miss both, and a box split as a DCC's cube primitive splits it baked 6 empty columns at 128 px (the ShadowPlane sample's chair 11). The fade's source ramp is the plane's source_ramp, the length its producer previews (one rig unit, in the record's unit), where it was the record's unit: a centimetre rig exported in metres faded a hundred times slower than its preview. canvas is the plane's, beside max_stretch: it places every following plane, and a reader without the GLB-only silhouette placed by the default and cut off the penumbra. ShadowRecord.fade is that fade over one plane of the record, for any Python reader. The round-trip bound in HeightFieldMap's docstring is the measured 1.2e-6.
    • Test(s): red first, then green: test_shadow_horizon.py new test_a_ray_along_an_edge_two_triangles_share_counts_once (red: 6 columns), test_a_point_on_a_shared_edge_or_vertex_is_one_triangles (red: the fan's centre covered 8 times), test_the_edge_ray_cases_pin_a_watertight_bake, test_the_exact_cases_sit_on_their_ties (each case kills one mutant of the C# port that survived the rest: floor for round, away-from-zero, <= for < on equal gaps, first-visited row ties, a zero march nudge, horiz > 0); test_shadow_record_shape.py new test_the_canvas_is_the_planes_for_every_reader, test_a_ramp_a_reader_would_divide_by_zero_is_an_error, the fade terms through ShadowRecord.fade; test_scene_records.py new test_the_placement_reads_the_planes_own_canvas, the cold text's fade over source_ramp; test_shadow_projection.py the ramp over source_ramp; the tests' box fixtures are the library's.
  • 2026-11-07 -- Shadows v3 on the GLB route: the build carries the shadows record as it stands and every file it names as media; the WebXR viewer resolves it by name, reads each map off its view and evaluates the fade every frame (file_utils/mesh_convert/_shadow_rigs.py apply_glb_shadows rewritten, new media_findings / plane_files, the index-bound block, its node and texture binding and the shadow image embed retired; _mesh_convert.py MeshConvert.SHADOW_DATA_SAMPLER removed (MOVED_NAMES row), the deprecated SHADOW_PLANE_DEFAULTS serves its 0.16.1 table as a literal; _lightmaps.py _extract_fbx_files(spec=); _fbx2gltf.py the shadow pass reads the files the FBX embeds first; _sidecar.py verify_glb holds the shadows media; fbx_media.py FbxMedia.DEPENDENCY_FIELDS the v3 paths; _images.py prune_glb_unreferenced_textures and _textures.py optimize_glb_textures drop their shadow index rules, _embed_image_bytes its unused name / clamp; _articulation.py owns _nodes_named; net_utils/preview/features/shadow_rig/shadow_rig.js, model.js new shadowFade and DEFAULT_FALLOFF_POWER, kernel/resolve.js resolveEntries(json, entries, {meshes}); docs/webxr_preview.md). One layout, two containers: a GLB carries the record the FBX's carrier holds, in its root extras, and each file a plane names -- horizon.texture, silhouette.texture, silhouette.atlas.texture -- rides as the bufferView named by that file through the lightmaps' writer, its bytes as they are (a horizon map is data), for a plane the file carries alone: the image the FBX embedded for the plane's material where the GLB holds one, else each read out of the FBX (a GLB built from a finished one), else the search folders. Nothing is bound by index and no glTF image, texture or sampler is made, so the prune and the texture optimiser can neither drop, renumber nor re-encode a shadow map. The viewer resolves the planes (one assignment over the mesh nodes) and each source and contact (alone, over every node) by the lightmaps record's rule, decodes the horizon map off its view as data (no mipmaps, clamped, premultiplication off) and a silhouette as colour, draws the silhouette where silhouette.draw and the file holds it, else marches the horizon, else draws the silhouette as the fallback, and draws every plane at its shadow times ShadowProjection.fade (ported, held to the conformance cases' fade), evaluated from the placement every frame whether or not the plane follows; a plane whose source or contact does not resolve draws at intensity; the fade's source ramp is the plane's source_ramp in metres, not one unit of the record. The KHR_animation_pointer fade read and the static-alpha rule are retired (the DCC bakes no fade). Viewer parity against git HEAD (its archive, v2 GLBs, the same fixtures, the real page): placement, Z-up quads, instancing, the march and its cache and cost, GROUND_OFFSET and the data map's sampler SAME; the fade CHANGED: on a v2 file carrying a baked fade ramp, over 48 key frames, the computed fade equals the ramp within 1.6e-8 (HEAD's drawn value within 1.4e-8).
    • Test(s): red first against the pre-A2 tree (the working tree with these edits reversed: 48 failed), then green: test_shadow_web.py TestApplyGlbShadows rewritten for v3 (14: the record and its files as media, a rerun adds nothing, another version refused, a file found nowhere warned once, a plane elsewhere or ambiguous ships no bytes, a map the FBX embedded for a material, the prune and the optimiser keep the files as found, the handoff row, verify_glb's media gate, both fbx_to_glb routes), the live suite on v3 fixtures (the pole pins with no falloff, so a fade of 1), new test_atlas_planes_batch_into_one_instanced_mesh_each_at_its_own_fade, test_the_fade_is_the_models_and_nothing_of_the_material_is_read, test_the_fade_ramps_over_the_planes_source_ramp (as since renamed), test_a_rig_draws_its_silhouette_where_it_says_and_marches_otherwise, test_a_map_the_page_cannot_read_is_said_and_the_session_still_comes_up, test_planes_sources_and_contacts_resolve_by_the_record_rule, TestShadowModelConformance holds the fade; test_mesh_convert.py test_prune_unreferenced_textures_keeps_the_files_a_record_names (was ..._honours_the_shadows_block), the handoff and retired-name tests in v3 terms; test_fbx_media.py and test_export_verify.py fixtures in the v3 shape.
  • 2026-11-07 -- Shadows v3: a horizon map on every plane, the fade in the model, one layout in both containers (geo_utils/shadow_record.py v3: horizon required, new ShadowPlaneSilhouette extension and ShadowRecord.silhouette builder, falloff_power / fade_height, no type; ShadowBlock, ShadowBlockPlane, ShadowBlockHorizon, ShadowPlaneModel removed, MOVED_NAMES rows; geo_utils/shadow_projection.py new ShadowProjection.fade, DEFAULT_FALLOFF_POWER, ShadowConformance cases carry the fade and its terms, TOLERANCE["fade"], seven fade cases after the guards; core_utils/engines/scene_export/scene_records.py SceneRecords.SHADOWS v3 glb_verbatim, its GlbBlock gone, the model, fade, march and silhouette stated once each, GlbMedia names the shadows record's files; file_utils/mesh_convert/_mesh_convert.py the deprecated SHADOW_WEB_NODE_FIELDS serves its v2 value as a literal; regenerated DELIVERABLE_FORMAT.md, scene_records.schema.json, kernel/records.js). Every plane states the height-field map a shader marches for any source position, whatever its rig type; the projected silhouette (its image, atlas tile, canvas and whether a reader draws it, the rig's type) is an extension the GLB's readers hold and the others never generate; max_stretch stays on the plane, since the placement and the fade read it. The fade both producers baked as opacity keys is now defined once, in metres, from the placement: intensity / max(0.001, stretch^falloff_power) times a source-height ramp over one unit of the record (unit_scale metres: the producers' previews ramp over one rig unit, a centimetre in Maya cm, a metre in Blender) times the rise fade over fade_height; every reader evaluates it each frame, so no producer keys it. A GLB carries the record as it stands (its files by bufferView name, PNG as image/png, no scale); a v2 record is refused: re-export. Measured against both producers' v2 bakes, the model equals the baked keys at every key frame: Maya 3.4e-8 (240 keys, point and sun, cm and m), Blender 4.7e-8 (point; the sun 3.4e-6 until blendertk's sun drivers took the far point, then 1.3e-7). The GLB writer and the viewer still read the retired block (A2).
    • Test(s): red first, then green: test_shadow_projection.py new TestFade (6; red: no fade), TestShadowConformance test_the_fade_cases_come_last_and_reach_every_branch, test_every_case_states_the_fade_terms_a_record_carries (red: no fade in a case) and the guard slices moved; test_shadow_record_shape.py rewritten for v3 (18: both producers' plane records, every rig type with its horizon, a plane with no map refused, the silhouette the GLB's alone, a v2 plane's fields dropped); test_scene_records.py new test_a_glb_carries_the_shadows_record_itself_and_a_v2_is_refused, TestShadowsText test_the_text_rebuilds_the_fade (300 cases), the GLB-block tests on ARTICULATION, the last block; test_handoff_record.py test_a_records_row_states_what_its_payload_uses in v3 terms; surface_snapshot.json drops ShadowBlock. The named shadow, contract and conformance modules: 356 passed. Left failing for the GLB build and viewer (A2): test_shadow_web.py (38: the retired block's builder and the viewer reading it, and the JS model's cases now carrying fade), test_mesh_convert.py (3: SHADOWS.glb).
  • 2026-11-07 -- The shadow_horizon conformance case set: a port of the horizon bake and its evaluation is held to the reference (geo_utils/shadow_horizon.py new ShadowHorizonConformance; core_utils/conformance.py registers shadow_horizon; root ShadowHorizonConformance). Each case is geometry in, the map out: triangles in the map's frame with the ground, the up axis, the size, the spans and the bounds go in; the layout the bake chose and the whole packed image (HeightFieldMap.to_rgba, deflated and base64-encoded: 1 to 80 KB a map, where a 256-pixel map is 1 MB raw) come out, with HeightFieldMap.alpha at 48 points for a soft and a hard point source and a soft and a hard sun, evaluated on the map decoded from that image (what a shader reads). The 22 named cases: a single triangle, an open plank, an overhang, an interior hole, the canvas edge, an empty footprint twice (bounds that miss the geometry, geometry under the ground), a mesh the ground cuts, a member thinner than a pixel, an elongated footprint, Z-up, spans 1, 2 and 3, both adaptive sizes, the size's rounding and its floor, and a refused input; turned boxes and triangle soups follow (per_kind). Tolerances: layout 1e-12, texel one code (the bake quantises float32 values by rounding, flooring and ceiling, so a port one unit in the last place off at a code boundary lands one code over), alpha 1e-6 (the last place of asin and acos); measured on the C# port: 0 of 4.8 M codes and 0 of 5,664 alphas off. The named cases take no seed and are built once per process: a document costs ~5 s the first time and ~1 s after.
    • Test(s): test_shadow_horizon.py new TestShadowHorizonConformance (7: every edge covered, each image the bake of its input, each alpha the delivered map's, an empty footprint holds no column and casts nothing, a refused input carries its error and no map, a source under the ground casts nothing, the document under 3 MB); test_conformance.py names shadow_horizon and passes its per_kind through (red first: the registry's KeyError, through unitytk's runner); test_surface_snapshot.py's snapshot gains the name.
  • 2026-11-07 -- One lightmap convention, the one Unity and Arnold draw by: the WebXR viewer draws every lightmap as stored and plays the probe at 1; GLB lightmaps review fixes (net_utils/preview/kernel/lightmaps.js new LIGHTMAP_AS_STORED, relight.js, scene.js DEFAULT_PROBE_INTENSITY 1, probe.js, environment.js, features/look_capture.js; core_utils/engines/scene_export/handoff_record.py RENDERING_POLICY.environment.probeIntensity 1.0 and the probe clause; scene_records.py GlbMedia.hdr_web gains image/webp; file_utils/mesh_convert/_fbx2gltf.py, _lightmaps.py new _Lightmaps._extract_fbx_files, _put_media(kind=), _sidecar.py _carry_glb_records(skip=), _textures.py _lightmap_media (was _ktx2_lightmap_media); net_utils/preview/look_capture.py new LookCapture._raw_file_probe, bound_maps(block=) deprecated; core_utils/engines/lighting/look_match/_look_match.py LookMatch.to_rig(gain=) 1.0; docs/webxr_preview.md; regenerated kernel/records.js, DELIVERABLE_FORMAT.md, scene_records.schema.json). A lightmap texel is a white card's radiance: Unity's Lit and Arnold draw texel x albedo, while the viewer drew it as three.js reads a lightMap, as irradiance (texel x albedo / pi), and played the probe at 1/pi to stay in those units. It now binds each map at pi times its scale (a relight's too) and plays the probe as captured, at probeIntensity 1, which the handoff publishes; the handoff's probe clause states the one convention every reader draws by. Measured on the live page (a white matte face over a 0.5 texel, linear): 0.159 before, 0.500 after, with the probe or without -- x pi; the bake path's display level for a 1.0 texel 168 -> 226. LookMatch.to_rig's and its CLI's gain default 1 (was pi: what a bake multiplied a light by for the viewer to show it at weight 1). The review: a GLB built from a finished FBX ships the drawn probe and its highlight copies, read out of the FBX (they exist nowhere else; before, warned "not found" and shipped without them); shoot(uncap=[...]) uncaps again (it skipped every material on a flag nothing set); LookCapture's copies over the template's own probe are built on the environment without the lights it ships drawn in (they counted the capture point's lights twice); a second apply_glb_lightmaps pass reads the maps the file holds, with no false "not found" / "NOT wired" and the same bindings; fbx_to_glb(lightmaps=False) carries no lightmaps record (a file never names maps it does not hold, as HEAD carried nothing); optimize_glb_textures reports re-encoded media when no image changed (and the summary line says so); the viewer reports a file two bufferViews hold, as verify_glb does; a name held twice is named a tie, not an external buffer; a WebP delivery re-encodes lightmaps riding as media as lossless WebP again where it is smaller, and a KTX2 delivery off a power of two too (the "opens in any reader" mode keeps PNG), as HEAD did for image lightmaps -- image/webp joins GlbMedia.hdr_web, decoded by a reader like PNG; LookCapture.bound_maps(gltf, block=...) warns and drops block (removed in 0.21.0); it returns the record's file names, not material names.
    • Test(s): red first, then green: test_preview_viewer_live.py test_the_HDR_divisor_reaches_the_material_as_its_intensity, test_a_baked_metal_reflects_the_rooms_own_probe_not_the_studio, test_the_environment_window_states_the_level_the_probe_plays_at, test_a_baked_dielectric_takes_no_DIFFUSE_from_the_environment (bake_face_level drawn as stored; red with the old level: 4 failed; the probe-colour tests read at exposure 1/pi and the relief tests bake a 1/pi texel, the frames their thresholds were set on, out of the tone map's shoulder), new test_an_uncapped_shot_reflects_the_environment_whole (red: 0.009 both frames; 0.46 uncapped), new test_a_file_two_views_hold_is_left_unread_and_said, test_a_baked_map_is_bound_as_LIGHT_not_as_occlusion (the fixture gains an authored occlusion map), the media join's non-ASCII case made real; test_mesh_convert.py test_the_glb_of_a_finished_fbx_rides_the_files_its_record_names (through fbx_to_glb, no file on disk), new test_a_second_pass_reads_the_maps_the_file_holds, test_a_map_held_twice_is_named_a_tie, test_a_build_without_lightmaps_names_no_map, test_a_webp_delivery_shrinks_its_lightmaps_losslessly, test_a_media_re_encode_is_reported_when_no_image_changes, test_the_transport_joins_by_file_name_and_never_guesses_a_tie, test_a_reader_holds_the_files_to_the_transport, test_a_non_pot_lightmap_riding_as_media_stays_lossless (WebP, PNG with fallbacks); test_look_capture.py new test_a_swap_without_a_probe_builds_its_copies_on_the_raw_environment (red: 4.29 where 0.75), test_the_retired_block_argument_is_warned_and_dropped; test_handoff_record.py test_the_lightmap_convention_is_one_every_reader_draws_by; test_scene_records.py test_its_extras_state_the_bytes (hdr_web with WebP).
  • 2026-11-07 -- The GLB carries the lightmaps record as the FBX holds it and every file it names as the bufferView of its name; the WebXR viewer binds each map on its object at load (file_utils/mesh_convert/_lightmaps.py apply_glb_lightmaps rewritten, new lit_nodes / media_findings, strip_glb_baked_lights keyed on the record; _mesh_convert.py new MeshConvert.lit_nodes, finish_fbx_deliverable(inputs=), apply_glb_lightmaps' carrier / replace_authored and embed_fbx_highlight_probes / finish_fbx_deliverable's hdr_codec dropped with a warning; _highlights.py highlight_probe_layers names each layer's objects and leads with the capture point's, the layer embed retired; _fbx2gltf.py; _materials.py set_glb_normal_scale; _sidecar.py verify_glb; _textures.py optimize_glb_textures; glb/edit.py GlbEdit.compact_bin; core_utils/engines/scene_export/scene_records.py GlbMedia new fold / views; net_utils/preview/look_capture.py, bridge.py; viewer kernel/lightmaps.js, probe.js, relight.js, load.js, specs.js, extras.js, animation.js, api.js, new resolve.js, features/inspect.js, look_capture.js; kernel/records.js, DELIVERABLE_FORMAT.md, scene_records.schema.json regenerated; __init__.py MOVED_NAMES; docs/webxr_preview.md, file_utils/README.md). One layout, two containers: the build copies the record verbatim into the root extras and rides each file it names as the bufferView named by that file (SceneRecords.GLB_MEDIA) -- each map an object of the file reads in today's web encoding (8-bit sRGB PNG, extras.scale its range; UASTC KTX2 in a KTX2 delivery, as an image lightmap took), the probe and its copies as Radiance. Where the record has lights, the build draws them into the probe and its complete copies on the GLB's own geometry, as the FBX pass draws them, and the record names the drawn files: both containers carry one probe. No material is bound or cloned, no mesh copied; the index-bound v2 block, its builder, its material and mesh clones and the carrier occlusion slot are gone. The viewer resolves each entry to its node by the build's own rule (kernel/resolve.js, held to _resolve_lightmap_entries by the live suite; a tie is left unlit and said), decodes its map off its view and binds it as lightMap on UV set 1 at its scale-offset (V-flipped, clamped), giving objects that light unlike another wearer of their material a copy of it at load (before the render effects' tracks bind, which follow the copy); each highlight copy goes on the materials its nodes wear; the record's lights light nothing. A primitive without the second UV set is bound and named, as before. GlbMedia joins by file name on both sides, lower-cased (fold), holds a name two views share as neither (views, a problem verify_glb reports), refuses a non-finite or non-positive scale, and names its prior art; its text is scoped to the files that ride a GLB. compact_bin keeps a named view (held by name, which no index references). finish_fbx_deliverable(inputs=) takes a host's answer to where the scene keeps its files, the guarded body both hosts' FbxUtils.finish_deliverable wrote (check_dcc_twins). Moved-names rows: MeshConvert.lightmaps_block, MeshConvert.embed_glb_lightmap_probe, MeshConvert.LIGHTMAP_CLONE_SUFFIX.
    • Test(s): red first, then green: test_mesh_convert.py new TestGlbLightmapMedia (8; red: 8 failed on the v2 builder), test_the_lightmap_pass_rides_the_drawn_probe_and_its_copies, test_the_glb_of_a_finished_fbx_rides_the_files_its_record_names, test_a_pot_lightmap_riding_as_media_takes_uastc_srgb_at_its_own_size (red with the media step off), test_a_non_pot_lightmap_riding_as_media_stays_lossless, test_a_hosts_inputs_answer_where_the_scene_keeps_its_files (HEAD has no inputs), test_a_node_whose_map_does_not_ride_is_not_baked_here, test_a_record_lighting_nothing_here_strips_no_light; test_scene_records.py TestGlbMedia new test_a_held_name_joins_by_its_file_name_too, test_two_views_holding_one_name_hold_neither, test_the_fold_is_lower_case_alike_in_both_languages, test_a_scale_is_a_finite_positive_number (red: all four against the prior join); test_preview_viewer_live.py new test_each_object_reads_its_own_map_on_a_material_it_shares, test_an_atlas_rect_is_read_in_gltf_space_and_clamped, test_an_object_nothing_tells_apart_is_left_unlit_and_said, test_the_page_resolves_the_record_as_the_build_does (the resolver and the media join against Python's), test_a_copy_is_read_by_the_nodes_it_names_alone (red: 5 of 5 against HEAD's tree); test_look_capture.py new test_a_swap_with_lights_ships_its_probe_lit_and_its_copies_complete. Ported to the record layout: TestGlbLightmaps, TestSetGlbNormalScale, TestBakedLightsLeaveTheGlb, TestGlbHighlightProbes, TestGlbHandoff, TestVerifyGlb, TestFbxToGlbReport, test_look_capture.py TestPayload, test_preview_server.py PreviewSettingsTestCase, the live suite's probe, copy, KTX2 and unbound-object tests; v2 uvIndex fixtures to v3 in test_glb_pipeline.py, test_fbx_media.py, test_folder_delivery.py, test_export_verify.py. Deleted as pinning the retired block or clones: TestLightmapsBlockShape (ported three of its behaviours to TestTheGlbCarriesTheRecordShape), 13 TestGlbLightmaps tests (carrier slot, clones, KHR_texture_transform, replace_authored, ORM displacement, sampler, record correction to .png, the block's probe), the ORM check's clone exemption, the live suite's carrier and per-binding UV-set tests. affected_tests.py --run: pythontk 7597 tests, 0 failed (the live viewer suite among them). Measured against HEAD (its own pipeline and viewer, seven fixtures): every sampled pixel and every HUD and specs field identical; the frames differ only in the status line's file size -- larger on a WebP delivery, whose lightmaps then rode as PNG where HEAD shipped lossless WebP (restored by the review fixes above).
  • 2026-11-07 -- Lightmaps v3 review fixes: no write carries a refused record, the occlusion rule reads the lightmaps the write ships, each rule stated once (core_utils/engines/scene_export/export_snapshot.py new ExportContext.withheld / ships_stored / withhold, honoured by ExportContext.record, ExportSnapshot.assemble and commit; lightmap_record.py check_uv_sets refuses a committed set gone since the bake, unless_refused(note=), new LightmapRecord.withheld, the field help said once; material_record.py new MaterialFamilies.export_record, MaterialOcclusionTextureInfo states the producer's rule; scene_records.py SceneRecords.MATERIALS after=("lightmaps",), the LIGHTMAPS description, assembly and clauses; handoff_record.py HandoffCarrier.highlights and its always-empty lighting clause removed; DELIVERABLE_FORMAT.md, scene_records.schema.json, net_utils/preview/kernel/records.js regenerated; __init__.py MOVED_NAMES). An export's lightmaps producer that refuses its record notes the refusal with its fix and ships none, so the snapshot clears the delivered record: raised, it was a failed producer, and the stale stored record shipped. A hand-off ships the authored record as stored, so its host states the stored copies it must ship none of (ExportContext.withheld, from LightmapRecord.withheld through the host's export_context); the snapshot says why once, clears each for the write and puts the scene's copy back after it (scene_wide), and a producer reading it reads none. A committed set renamed or removed since the bake is refused like one off the second slot (it was published on faith). The occlusion rule is one call both hosts make (MaterialFamilies.export_record), decided against the lightmaps record the write ships, which the materials record is now declared after, by mesh shape: a shape is lightmapped when a transform it is instanced under is one of that record's objects (by hierarchy). A group root as the scope no longer lands every baked material among the unbaked ones, and a refused or absent record leaves every occlusion. The reference states each rule once -- the reading rules in the assembly, in each field's help what it holds -- and no help a reader's generated types keep names a field they drop (the C# Probe.map doc named 'lights' and 'highlights'). The occlusion rule is the producer's, stated where the materials record states occlusion: no reader rule applies. Moved-names row: HandoffCarrier.highlights.
    • Test(s): red first, then green: test_lightmap_record.py new test_a_committed_set_gone_since_the_bake_is_refused, test_an_exports_producer_notes_its_refusal, TestTheTextSaysEachThingOnce (3; red: the phrases stated 2 to 4 times, a reader's Probe.map help naming 'lights' and 'highlights', the occlusion rule a reader's); test_export_snapshot.py new TestARefusedRecordShipsNone (4; red: the refusal failed the producer and the stale record stayed, the hand-off shipped the stored copy, the materials read it); test_material_record.py new TestTheRecordAWriteShips (4); test_handoff_record.py new test_no_carrier_states_the_probes_highlight_copies; test_scene_records.py test_the_lightmap_record_describes_the_probes_highlight_copies (the rule said once, by the lights clause). The affected run: 7605 tests, 0 failed (31 skipped, 2 expected failures).
  • 2026-11-07 -- The lightmaps record v3: one layout, two containers; the probe holds its highlights and its copies are complete (core_utils/engines/scene_export/lightmap_record.py v3, no uvIndex, new LightmapRecord.UV_SET / check_uv_sets / unless_refused / UvSetRefused, LightmapsBlock and its parts removed; scene_records.py SceneRecords.LIGHTMAPS v3 glb_verbatim, new GlbMedia / SceneRecords.GLB_MEDIA, x-media in the schema; handoff_record.py; material_record.py new MaterialFamilies.without_baked_occlusion; file_utils/mesh_convert/_highlights.py, _mesh_convert.py new MeshConvert.HIGHLIGHT_PROBE_NAME / HIGHLIGHT_COPY_NAME; DELIVERABLE_FORMAT.md, scene_records.schema.json, net_utils/preview/kernel/records.js regenerated; __init__.py MOVED_NAMES). No entry names a UV set: the contract reads every map through the second (index 1), and a producer whose set sits elsewhere refuses to publish, naming each object and the fix (check_uv_sets; unless_refused ships none, said -- on the host's logger at authoring time, on the export's notes in an export, and a hand-off ships none of a refused stored copy: the review fixes above). A GLB carries the record as it stands under extras.lightmaps (the index-bound v2 block -- carrier slot, materials by name, probe by bufferView -- retires; the GLB build's rewrite is the next step), each file it names riding the GLB as the bufferView named by its file name, extras.mimeType stating its bytes and extras.scale an 8-bit web encoding's range (GlbMedia, stated once in the reference and the schema). The deliverable-time pass (MeshConvert.embed_fbx_highlight_probes) now draws the bake's lights into the delivered probe as its capture point sees them (<stem>_Lights.hdr, the name probe.map takes) and ships each group's copy COMPLETE (<stem>_Highlight<n>.hdr: the probe box-filtered to the copy's size plus its layer, used in the probe's place), each embedded in the FBX by its file name; it reads the record and the geometry alone, no GLB block, and groups receivers by NODE (a material baked and unbaked nodes share is two receivers). Measured against the copies the GLB build drew before: every copy equals the viewer's old sum of probe and layer within 0.52% of a texel's peak (one RGBE step is 0.78%). A reader lights none of lights while the record has a probe. The materials record states no occlusion map for a material only lightmapped objects wear (without_baked_occlusion); one baked and unbaked objects share keeps it, said once with the fix; the handoff's reader rule against the material's occlusion goes. Version 2 records are refused: re-export. Moved-names rows: LightmapsBlock and its parts, MeshConvert.FBX_HIGHLIGHT_NAME.
    • Test(s): red first, then green: test_lightmap_record.py (16; new test_an_entry_names_no_uv_set_the_contract_reads_the_second, test_a_uv_set_off_the_second_slot_is_refused_with_its_fix, test_an_authoring_publish_ships_no_refused_record), test_lightmap_record_shape.py TestLightmapRecordShape, test_scene_records.py (new test_a_glb_carries_the_lightmaps_record_itself, TestGlbMedia 4; the GLB-block mechanism tests take SHADOWS as their example), test_handoff_record.py, test_material_record.py new TestBakedOcclusion (2), test_mesh_convert.py TestGlbHighlightProbes (new: the copies complete within one RGBE step of the viewer's old sum, the delivered probe lit as its capture point sees the lights, nodes grouped by their own bake, a second pass a no-op, a missing probe warned); test_surface_snapshot.py (the published surface drops LightmapsBlock, by its moved-names row; test/surface_snapshot.json). The affected run: 7558 tests, 124 errors, every one the retired GLB block the GLB build's rewrite replaces (test_mesh_convert 60, test_preview_viewer_live 43, test_preview_server 11, test_lightmap_record_shape TestLightmapsBlockShape 8, test_look_capture 2).
  • 2026-11-07 -- Tests: Assess's unused tail ignores the keys of an object that also has a behavior, pinned (test_shots_manifest_core.py new test_an_animated_object_with_a_behavior_ends_the_content_at_its_keys, expectedFailure). A pan that fades in and slides until frame 130 of a 200-frame shot reads as 185 frames unused, not 70; the fix is logged in the backlog.
    • Test(s): the new test fails as expected (185.0 != 70.0).
  • 2026-11-07 -- Render-effects review fixes, the producer half: a highlight over a map sets it aside exactly while it glows, a namespaced target plays, a stripped proxy leaves no span, an openPBR group copy ships its base's glow (file_utils/mesh_convert/glb/fades.py new GlbFades._glowing_runs; core_utils/engines/scene_export/scene_records.py new Transport.target_name, proxy_name / parse by it; _visibility.py, export_verify.py check_fbx_render_effects; _fbx2gltf.py _remove_glb_nodes, _drop_channels, strip_glb_curve_proxies; _sidecar.py finish_glb; glb/edit.py new GlbEdit._keep_channels, _drop_unreferenced, _SamplerBatch; _animation.py _hold_take_spans; core_utils/engines/textures/emissive_groups.py new EmissiveGroupsHost.published_strength; glb/clips.py the unused GlbClips._window removed; __init__.py MOVED_NAMES). A highlight's extras.render_effects.active is read off the keys its factor is written at, so the map is set aside from the edge key where the glow starts, never at a ramp's first key (whose factor is still the material's own: the page drew a uniform white surface at that instant, the clip's t=0 included). A record names a material as the delivery does, namespace included, and a node as its host does, while a curve is keyed by its proxy; every reader now joins the two by SceneRecords.TRANSPORT.target_name (the leaf): the GLB pass, the presence gate, the verifier and the animation-off overlay (a namespaced copy's weight animation was dropped without a word, and the verifier failed a pair that was there). The transport's own text says so (Transport.text, so the generated DELIVERABLE_FORMAT.md and scene_records.schema.json): a reader outside these packages learns the join from the contract, not from our readers. Removing a node (a curve proxy, a bare carrier) takes the samplers and accessors only its channels read, and the BIN bytes: a proxy's 4 s sampler beside a 1 ms channel had read as the clip's span, so the clip was never held to its take. A group copy's emission_strength is its family's published weight (the materials record's: 1 for openPBR's luminance, which only gates), its curves and proxies still the weight over the nits it keys. The three channel writers (presence gates, take holds, pointer channels) share one sampler writer. A channel's values takes its material optionally again -- (base, sample, stops) reads as a material with no map -- as the Render Effects panel's preview swatches call the very function (the map rule had made it required: every paint of those swatches raised in a launched Maya, and the GUI tests after them errored). The emissive groups' module docstring says what is true: sync runs from the panel's Sync, and as a check in validate and the export. Moved-names rows for the old host seam's members (EmissiveGroupsHost.*, PureEmissiveGroupsHost.*) and the retired mask module's names.
    • Test(s): test_mesh_convert.py new test_a_highlight_over_a_map_sets_it_aside_exactly_while_it_glows (6 ramps; red: t=0.5: active 1, factor [1, 1, 1]), test_a_namespaced_target_joins_the_curve_its_proxy_carries, test_a_preview_overlay_joins_by_the_transports_name, TestCurveProxyStrip (2; red: the sampler and 48 BIN bytes kept), the two tests that pinned the disagreeing pair now assert agreement; test_export_verify.py new test_a_namespaced_entry_joins_its_proxy_by_the_transports_name; test_emissive_groups.py new test_a_gate_shaders_copy_ships_its_base_glow_not_its_scalar (red: strength 1000); test_preview_viewer_live.py new test_a_highlight_poses_its_map_at_the_ramps_first_key (red under the old rule: the map off at 0.5 s); test_mesh_convert.py new test_a_channels_values_compose_with_no_material_as_a_preview_calls_them (red: missing 1 required positional argument: 'material').
  • 2026-11-07 -- One installer for every bridge's app plugin, and a server a host's loop pumps (net_utils/rpc/installer.py new RpcPluginSpec, PluginInstaller.status / install / refresh / uninstall by spec; plugin_core.py RpcPlugin(pump=); client.py RpcClient.LAUNCH_ARGS). A bridge declares its plugin as data (RpcPluginSpec: name, app, source, where the app looks, an optional switch to turn it on, what loads it in an open app), and installing, refreshing (only an install already there, never the switch) and removing are the same code for all, said to an optional logger. RpcPlugin(pump=...) serves with no thread for a host whose Python cannot keep one running: pump(tick) puts tick on the host's own loop, each tick handles the requests waiting (at most PUMP_BATCH) on the host's thread, and stop() closes at once. A connect() launch passes LAUNCH_ARGS (a host that runs the plugin only when its file is named).
    • Test(s): test_rpc.py TestRpcPluginSpec (status, install with the switch and the hint, a refresh never installs nor switches, uninstall, an app folder not found), test_a_launch_passes_the_clients_launch_args; test_plugin_core.py test_a_pumped_plugin_serves_from_the_hosts_loop_with_no_thread: affected_tests.py 1007 passed, 6 skipped.
  • 2026-11-07 -- RpcClient finds an announced plugin by its record (net_utils/rpc/client.py: new label= argument, attach(pid=None), bind(record), record; for_instance keeps the record; plugin_core.py / job.py examples). With label, connect() reuses only an instance announced under it (the first whose record answers), and a launch binds the record whose PID is the process it started, never another instance answering on a port; attach() binds one without launching. Without label, the fixed-port behaviour is unchanged.
    • Test(s): test_plugin_core.py TestInstanceRecords (a labelled connect by record, a launch bound to its own PID's record, nothing announced reaches no port): affected_tests.py 1000 passed, 6 skipped.
  • 2026-11-07 -- Unity reads the render_effects record (core_utils/engines/scene_export/scene_records.py SceneRecords.VISIBILITY.consumers gains unity; regenerated DELIVERABLE_FORMAT.md, scene_records.schema.json). unitytk's RenderEffects importer now reads the record through its generated reader (RenderEffectsRecord.g.cs) instead of the transport alone, so the record names unity among its readers, as every record a Unity importer reads does.
    • Test(s): m3trik/scripts/sync_scene_records.py --check (8 records read by Unity, the channel line and the generated reader in step).
  • 2026-11-07 -- An emissive group's weight curve, as its proxy carries it (core_utils/engines/textures/emissive_groups.py new EmissiveGroupsModel.weight_curves). Each animated copy's weight in the scene's frames -- the host's reader's keys over the copy's strength, its target the copy's leaf, channel emission -- for a write that carries no take: the hosts' RenderEffects.effect_curves add them, so an animation-off WebXR push plays each group's glow (MeshConvert.effect_preview_curves) as an animated push does.
    • Test(s): test_emissive_groups.py new test_each_animated_copys_weight_curve_is_stated_as_its_proxy_carries_it (red first: no such method).
  • 2026-11-07 -- Every shot's take is a clip spanning its window, a still one included (file_utils/mesh_convert/_animation.py new _Animation.take_clip_spans, _hold_take_spans, _synthesize_clips places by take order; _fbx2gltf.py; _visibility.py an overlay clip states its duration; docs/webxr_preview.md; net_utils/preview/kernel/animation.js comment). A take that holds still -- a hold, a title shot, which can carry a description -- had no glTF animation (glTF forbids an empty one and FBX2glTF drops it), so it vanished from the WebXR picker and FULL SEQUENCE in every GLB the build makes, the Scene Exporters' included; at HEAD it was a window in the whole-timeline take. And a take ending off the converter's 1/30 s grid lost its last key (measured: a take of frames 1-10.6 converted as 9 frames). The build now reads each take's window off the FBX (FbxFile.take_windows, from the clip's t=0, its first key floored to the bake grid), makes each take a shot names (_Animation._shot_takes, ignoring case) a clip of its name in take order ahead of the effect passes if the converter wrote none, and gives a take's clip whose channels end before its window does -- or a shot's clip that has none -- one STEP channel on a scene root holding its rest to the take's end, never on the carrier nor on a path the clip animates. A take no shot names keeps no clip it lacks or that is hollow: a static write's (Maya declares a take for every write) or one whose motion the converter lost (the skinned child joint, backlog 2026-10-27), so every export baseline without a still shot is unchanged. A clip an animation-off push's overlay states gets the same rule from its duration. The "N shot(s) have no clip in the GLB" warning now names only a shot whose take the file lacks.
    • Test(s): test_mesh_convert.py new TestTakeClipsSpanTheirWindows (4, real FBX2glTF: a still and a keyless shot each a clip spanning its window with one STEP hold and a moving one untouched; a take no shot names gains no clip; the take whose last key the converter drops held to its end; the warning naming only the missing take) and test_a_shot_whose_curves_rest_still_gets_its_clip; test_preview_viewer_live.py new test_a_still_shot_keeps_its_place_in_the_picker_and_the_sequence (real FBX2glTF, the page: both shots, 4.03 s, the held cut, SHOT_B described for its 2.00 s). Red first: no clip for the still takes.
  • 2026-11-07 -- An announced RPC plugin fails closed, and its record is the person's alone (net_utils/rpc/plugin_core.py; re-staged _rpc_core.py; core_utils/handoff/script_template.py). The token check was if token and ...: the serve thread started before the record (and its token) existed, and stop cleared the token before the server shut down, so a call passed untokened in both windows. The record is written before the first request is served, and an announced plugin with no token refuses every call. The records folder is 0o700 and each record 0o600 off Windows. A Row: line keeps a path's backslashes (C:\work\out, which shlex read as C:workout).
    • Test(s): test_plugin_core.py new test_an_announced_plugin_without_a_token_refuses_every_call; test_bridge.py new test_a_path_default_keeps_its_backslashes.
  • 2026-11-07 -- An animation-off WebXR push of a scene with shots offers its shots again (file_utils/mesh_convert/_visibility.py, _mesh_convert.py MeshConvert.effect_preview_curves(clips=), take_preview_curves; _animation.py _synthesize_clips(names=); net_utils/preview/bridge.py new PreviewBridge._declared_takes hook; docs/webxr_preview.md). The 2026-11-05 restore played such a push's effects on one Take 001, where HEAD gave one clip per declared take, so the page's picker lost the shots and the FULL SEQUENCE. The overlay now states one clip per take an animated push splits ({"clips": [{"name", "curves"}]}), named as the take, each curve in seconds from its shot's start and pinned to both of its ends so the clip spans the shot; the build makes each clip the file lacks, in order. The Shots record already ships on such a write, so the shots' names, order, descriptions and rate (the one-frame hold at each cut) read as for an animated push. A scene with no shots keeps the one clip.
    • Test(s): test_mesh_convert.py new test_an_animation_off_push_of_shots_plays_each_shot_on_its_own_clip, test_a_shots_curves_are_cut_to_its_window; test_preview_server.py new test_an_animation_off_push_of_shots_states_one_clip_per_take; test_preview_viewer_live.py new test_an_animation_off_push_offers_its_shots_as_an_animated_one_does (the real page: the picker, the 4.03 s sequence, the held cut, the descriptions; red first: ['Take 001']).
  • 2026-11-07 -- Emissive groups become materials, at the source; the emissive_groups record, the masks and the slots retire (core_utils/engines/textures/emissive_groups.py rewritten; region_masks.py deleted; core_utils/engines/scene_export/scene_records.py; file_utils/mesh_convert/export_verify.py). EmissiveGroupsModel keeps its name and host seam (EmissiveGroupsHost / PureEmissiveGroupsHost) on a new shape: a group's faces wear a copy of their material per group (<base>_<group>, its maps shared), its emission keyed by the weight; add_group, remove_group, remove_faces, set_weight, key_weight, remove_keys, sync (a changed base reaches its copies; check_only reports), validate, render_effect_materials (each animated copy a render_effects material entry), stage_export_proxies / remove_export_proxies (its weight on <copy>__emission, per take), convert_legacy (an old scene in one action: face-level groups exactly, an overlap and a mask region reported by name with their fix) and transfer_out / transfer_in; each operation is one undo step and takes ctx. A scoped write names and stages only the copies a face of a mesh it ships wears (render_effect_materials(ctx), stage_export_proxies(ctx), and scope_export_proxies(ctx) for a writer that stages before it publishes its scope); a base whose emission colour is black is refused like one whose weight is 0. SceneRecords.EMISSIVE_GROUPS is removed: its key joins RETIRED (cleared on migrate) with its fix in the new RETIRED_FIXES, which ExportVerifier.check_fbx_records names for an old file; EMISSIVE_REGISTRY is version 2, the hand-off's (per copy its group, base, strength, keys), merged UNION so an imported old-style registry is adopted for conversion, its codec gone. region_masks goes whole (nothing else read it; map_registry keeps its Emissive_Mask map type, so an old _EMask image still classifies as a mask). Moved-names rows: RegionGroup, RegionGroupRegistry, RegionMaskManifest, RegionMaskPacker, EmissiveGroupsRecord, SceneRecords.EMISSIVE_GROUPS and the model's removed methods.
    • Test(s): test_emissive_groups.py rewritten (33, the scope and black-colour tests red first; red first also: 27 of 28 failed on the old model, and test_a_copy_no_face_wears_plays_nowhere failed before a copy whose object was deleted stopped being published and staged); test_export_verify.py new test_a_retired_record_fails_naming_its_fix; test_preview_viewer_live.py new test_an_emissive_group_plays_as_a_plain_material (Edge: the copy's emissiveFactor 0 -> its base's over the clip, its base as authored, no blending, one animated material); test_scene_records.py, test_export_snapshot.py, test_handoff_record.py moved off the retired record (the two slot-codec tests removed with the codec); test_region_masks.py deleted.
  • 2026-11-05 -- A WebXR push with animation off plays the scene's render effects again (file_utils/mesh_convert/_visibility.py, _mesh_convert.py new MeshConvert.effect_preview_curves; net_utils/preview/bridge.py new PreviewBridge._effect_curves hook, _with_scene_effects; docs/webxr_preview.md). Since render_effects v2 the curves ride the takes, and a push with Include Animation off (the default) writes none, so its fades, highlights and keyed visibility played nowhere (v1 played them from the record's ramps). The push now asks the host for the curves the curve proxies would carry, in frames, and states them in the build's preview overlay (EFFECT_PREVIEW_KEY) in seconds from the frame an animated write opens its clip on; the record stays the file's, so the colours are the scene's, and the effects play on the file's one clip, as a panel's Preview does. A push with animation on, or one whose overlay states effects itself, is left as it was. take_preview_curves reads a key's own interpolation ([seconds, value, interpolation]), so a step stays a step.
    • Test(s): test_mesh_convert.py TestDataExportOverlay new test_an_animation_off_push_plays_the_scenes_own_curves (the pinning test turned red-first: no such API) and test_the_scenes_curves_are_stated_in_seconds_from_the_range_start, the control kept; test_preview_server.py new test_an_animation_off_push_states_the_scenes_effect_curves (red first: no overlay).
  • 2026-11-05 -- An RPC plugin is found by what it is, not by a port (net_utils/rpc/plugin_core.py new RpcInstances, RpcPlugin(announce=), set_state, system.identity; net_utils/rpc/client.py RpcClient(token=), instances, for_instance; re-staged _rpc_core.py; root RpcInstances). A plugin started with announce=True binds a port the OS picks and writes an instance record (<UserConfig.cache_dir("rpc")>/<label>/<id>.json: pid, host, port, a token, the host's state), rewritten by set_state and removed when it stops; a record whose process is gone is pruned by the next reader. Every op call to an announced plugin must carry the record's token (Authorization: Bearer, 401 otherwise): the folder is the person's own, and loopback is shared by every user of a machine. The record folder is resolved without pythontk (the staged copy has none) and pinned equal to UserConfig.cache_dir by a test. A record that cannot be written stops the server it was for (an unfindable server is no server). Prior art: Jupyter's runtime connection files. sync_rpc_core.py stages extapps' vendored substance_rpc copy too.
    • Test(s): test_plugin_core.py new TestInstanceRecords (6: the folder is the user cache's, listed by label and unlisted at stop, a call without the token refused, the host's state in the record and system.identity, a dead process's record pruned, an unannounced plugin unchanged); red first (RpcInstances absent). test_rpc, test_sync_rpc_core pass.
  • 2026-11-05 -- A script declares its own rows (core_utils/handoff/script_template.py new ScriptTemplate.declared_rows, ROW_KINDS). A header comment # Row: __KEY__ kind default "Label" option=value ... (any of #, //, --, ;) declares a parameter row a panel's registry does not know: its kind (bool, int, float, str, choice, path, file), a typed default and min / max / step / decimals / choices=a|b / tooltip / section / placeholder. Read without running the script; a line that does not parse is skipped, and a key's second declaration ignored.
    • Test(s): test_bridge.py new test_a_script_declares_its_own_rows, test_a_bad_row_line_is_skipped_not_raised (red first: no such method).
  • 2026-11-05 -- The render_effects record v2: it names which nodes carry which effect and which materials an animated emission, the curves ride the transport in the takes, and the GLB plays the file's own curves opaque at rest (file_utils/mesh_convert/render_effects_record.py, _visibility.py, glb/fades.py, _animation.py, _fbx2gltf.py, _mesh_convert.py, _sidecar.py, export_verify.py, core_utils/engines/scene_export/scene_records.py, handoff_record.py, net_utils/preview/kernel/animation.js, docs/webxr_preview.md; regenerated DELIVERABLE_FORMAT.md, scene_records.schema.json, kernel/records.js). The record: {version: 2, tracks: [{node, channels, highlight_color?, highlight_color_dim?}], materials?: [{material, channels, emission_color?, emission_strength?}]} (RenderEffectsTrack, new RenderEffectsMaterial); v1's ramps, its fps and its frame placement are gone and a v1 record is refused, warned (re-export). Version 2, not 3: no file ever carried another version under render_effects or visibility_tracks. SceneRecords.VISIBILITY is glb_verbatim (the GLB's root extras.render_effects); the GLB handoff's render_effects row is one row (the record's contract, then the GLB's transport). The transport (SceneRecords.TRANSPORT): node channels visibility (stepped), opacity, highlight on a <node>__<channel> proxy under the node, material channels emission on a <material>__emission proxy under the export's carrier; new Transport.node_channels, material_channels, stepped, channels (a property now), proxy_name, parse. The GLB pass reads the file's own curves: new MeshConvert.render_effect_curves(fbx, bake_fps=None) reads every proxy's scale.x per take off the FBX (FbxFile.take_keys; a cubic segment sampled at the file's rate), from the clip's t=0 where FBX2glTF puts it (the take's first key floored to its bake grid) -- measured on Maya 2025 and Blender 5.1 exports, FBX2glTF 0.13.1 resamples every proxy on its 1/30 s grid (a step becomes a 1/30 s ramp, a sub-frame key and a take's last key are lost) and drops a take's channel held at the node's static value. apply_glb_visibility(glb, curves=None) and apply_glb_fades(glb, curves=None) take those curves (no curves, nothing written); presence is visibility AND opacity above 0 as a STEP scale. GlbFades.apply_curves(edit, record, curves) replaces GlbFades.apply / apply_channels (removed, moved-names rows; no caller outside pythontk); PointerChannel gains target and active, values/rest take the material, and blend / prepare are gone; new CHANNELS['emission'] (a material's weight times its colour and strength, a peak above 1 moved into KHR_materials_emissive_strength). Opaque at rest: no channel writes BLEND -- a material keeps its authored alpha mode, and the viewer blends it only while its alpha is below 1 (writing no depth then); the highlight KEEPS the emissive map (_uncover_emissive removed): its channel states the spans it is above 0 (extras.render_effects.active), over which the viewer sets the map and its strength aside, and at rest the map is back. Every pointer channel's extras.render_effects names the record's channel and target. Retired: the clip-origin bookkeeping (_Animation._stamp_clip_frames, _clip_frames, TAKE_FRAMES_KEY, _resolve_clip_fps, _synthesize_clips' window), MeshConvert._presence_keys, _is_fade, _visibility_runs, and build_visibility_tracks(fps=) (now build_visibility_tracks(tracks, materials=None); both callers are this cascade's). The panel's preview keeps working with no curve in the file: effect_preview_channels states its curve in seconds under a build-only overlay key (MeshConvert.EFFECT_PREVIEW_KEY), which new MeshConvert.take_preview_curves reads and takes off the file; a file with no clip gets one. A push exported with animation off carries no take; it states the scene's curves in that overlay (the entry above, effect_preview_curves). New gate ExportVerifier.check_fbx_render_effects: the record names exactly the proxies the FBX carries.
    • Test(s): test_mesh_convert.py new TestGlbRenderEffects (32: v1 refused, the record carried verbatim, stepped visibility per clip, a fade's presence, opaque at rest, copies only for shared materials, a held rest writes nothing, a step held to its next key, the highlight's map kept with its active spans, a uniform emission added to, a material target with its strength, the reader per take off a real FBX with the clip zero floored and a cubic segment sampled, the preview's overlay, and the v1 behaviours that still hold, ported); the v1 classes TestApplyGlbVisibility, TestApplyGlbFades, TestApplyGlbHighlight, TestStampClipFrames retired; test_render_effects_record.py rewritten (4); test_export_verify.py new TestFbxRenderEffectsGate (4); test_handoff_record.py the merged row; test_preview_viewer_live.py new test_a_fade_leaves_the_file_opaque_and_blends_only_while_below_1, test_a_highlight_over_a_map_sets_the_map_aside_only_while_it_glows, and the fade fixtures on v2. Red first: the pass tests 20 of 23 failed (apply_glb_visibility() got an unexpected keyword argument 'curves', no render_effect_curves), the verifier tests 4/4 against HEAD (unknown check), the live viewer tests 3 failed against the old shim (still blended at rest, the map never set aside).
  • 2026-11-05 -- A web page can no longer call an RPC op (net_utils/rpc/plugin_core.py; re-staged _rpc_core.py in mayatk and blendertk). The in-app RPC server parsed any POST body as JSON, so a page open in the person's browser could run an op on a host app's fixed port without asking (a text/plain "simple" request needs no CORS preflight): mayatk's Painter plugin serves system.eval (Python) and js.evaluate on 8090, and look_capture serve runs code it is sent on 8770. A POST that carries Origin, whose body is not application/json, or whose Host is not loopback or the bound address (a DNS-rebound name) is refused (403 / 415) before any op; RpcClient sends none of them, so no client changes.
    • Test(s): test_plugin_core.py new test_a_browser_page_cannot_call_an_op (4 cases; red first: every op ran) and test_a_plain_client_request_still_runs; test_plugin_core, test_rpc, test_look_capture, test_sync_rpc_core pass, mayatk test_marmoset_rpc + test_substance_rpc_plugin 94 passed, extapps test_bridge_server, test_painter_connection, test_job 58 passed.
  • 2026-11-05 -- The packed metal / roughness image is a delivery file: never written into a source folder, a pack that cannot be written an export error (core_utils/engines/scene_export/material_record.py, file_utils/mesh_convert/fbx_media.py, _fbx_materials.py). MaterialFamilies.pack_metallic_roughness wrote <base>_ORM.png beside the artist's maps, kept it, judged it fresh by mtime, and a read-only folder silently dropped the material to dielectric and matte. It now writes into the pack store (TempArtifacts material_packs, a folder per SHA-256 of its sources' bytes, stamped in the PNG's text, swept by age): an unchanged source reuses its pack, a changed one packs anew, nothing touches the source folder; new MaterialFamilies.packed_file(name) is how FbxMedia.embed_dependencies (first, before the scene's folders) and the GLB build find it, so the delivery embeds it. A missing or unreadable source, or an unwritable store, raises OSError naming the material and the fix (the producer's record fails, said), never a silent dielectric; two packs one base name would share are named apart in one record (packed_name(..., unique=True)); a packer takes a name= keyword.
    • Test(s): test_material_record.py TestPacking rewritten (8: the layout, a delivery file never beside its sources, a read-only source folder still packs, an unchanged source reuses and a changed one repacks, a 16-bit source at its value, a missing source an error, an unwritable pack an export error with its fix, two packs of one name named apart; red first: 6 failed); test_fbx_media.py new test_the_producers_packed_image_rides_in_from_the_pack_store (red without the lookup: the stale beside-file was embedded).
  • 2026-11-05 -- One rule for a missing map, declared once (MaterialFamilies.absent_map), and one walk of a record material's maps (MaterialFamilies.bindings, extensions_of). The GLB build reset metal to 0 and kept emission (a missing glow map lit white) while unitytk overwrote metal AND roughness: now a metal factor of 1 or more (the map supplied it) reads dielectric, a constant metal and the roughness factor are kept, and a missing emission map is no emission (its strength with it); the GLB build's packs that are not to hand read by the same rule. _Document.add_material, _FbxMaterials._copy_material, material_files and both extension walks use the one generator. opacity_scalar's docstring no longer names the deleted Unity fallback.
    • Test(s): test_material_record.py test_the_one_rule_for_a_missing_map, test_maps_not_to_hand_read_as_absent_and_are_said; test_mesh_convert.py new test_a_missing_map_reads_as_the_one_rule (red first: the glow kept [1.0, 1.0, 1.0]).
  • 2026-11-05 -- 16-bit, 32-bit and float sources pack at their value (img_utils/_img_utils.py new ImgUtils.convert_mode, convert_i_to_l; img_utils/_channels.py pack_channels; core_utils/engines/textures/map_optimizer.py). Pillow's convert("L") clips an I;16 / I image at 255 (a 16-bit 30000 packed as 255, a roughness map fully rough): ensure_image(..., mode=) now goes through convert_mode, which scales a high-bit grayscale source into an 8-bit mode at its value, and pack_channels normalises every source through it. convert_i_to_l reads a 16-bit mode at 0..65535 whatever its values (a dark 16-bit map read as 8-bit before) and a 32-bit one above 65535 at its type's range. MapOptimizer._coerce_mode (private) is gone into convert_mode.
    • Test(s): test_img.py new test_pack_channels_scales_high_bit_sources_to_8_bits, test_ensure_image_scales_a_high_bit_source_to_an_8_bit_mode, test_convert_i_to_l_reads_a_16_bit_image_by_its_mode (red first: 3 failed, (255, 0, 255) != (117, 0, 255)); test_material_record.py test_a_16_bit_source_packs_at_its_value.
  • 2026-11-05 -- verify_glb judges metal everywhere only at a factor of 1 or more, and not on a pack the build wrote (file_utils/mesh_convert/_materials.py suspect_orm_materials, _sidecar.py, _mesh_convert.py verify_glb(described=), export_verify.py). A constant-metal material with a roughness map packs blue white (its fill) and was flagged "metallic=1 everywhere"; ExportVerifier.check_glb_handoff passes the FBX record's packed materials.
    • Test(s): test_mesh_convert.py new test_a_constant_metal_over_a_white_filled_channel_is_not_flagged, test_verify_glb_judges_no_pack_this_build_wrote (red first: 2 failed).
  • 2026-11-05 -- The glTF Validator's tests never pass by not running (test/conftest.py new gltf_validator, test_material_record.py, test_mesh_convert.py, .github/workflows/tests.yml). test_the_glbs_materials_are_the_records_and_the_validator_reads_them skipped its validation silently; both validator tests now skip with the reason locally (no install from a test) and FAIL under CI; CI installs the validator into the runner's temp (PYTHONTK_TOOLS_DIR), never a user's tools folder, and fails the job when it cannot.
    • Test(s): run with an empty PYTHONTK_TOOLS_DIR: skipped with the reason; with CI=1: 2 errors naming the install.
  • 2026-11-05 -- The materials record v2 is literal glTF 2.0, and the GLB build copies it (core_utils/engines/scene_export/material_record.py, scene_records.py, file_utils/mesh_convert/_fbx_materials.py, _mesh_convert.py, _fbx2gltf.py, fbx_media.py, gltf_validator.py new, docs/webxr_preview.md; regenerated DELIVERABLE_FORMAT.md, scene_records.schema.json). The record is a glTF document holding only materials, textures, images (each by file name, uri) and samplers, with glTF's asset and extensionsUsed and the record's version (2) beside them: metal and roughness PACKED into one image in glTF's layout (occlusion R when the material has one, roughness G, metal B), KHR_texture_transform for a map's UV transform, KHR_materials_unlit, and emission above 1 as KHR_materials_emissive_strength (version 1 carried it in emissiveFactor, which glTF caps at 1: the Khronos validator refuses it). Its shape is declared once (MaterialRecord and its parts MaterialEntry, MaterialPbr, MaterialTextureInfo, MaterialNormalTextureInfo, MaterialOcclusionTextureInfo, MaterialTextureTransform, MaterialExtensions, MaterialEmissiveStrength, MaterialUnlit, MaterialTexture, MaterialImage, MaterialSampler, MaterialAsset). Every reader refuses version 1, said with its cure (re-export): MeshConvert.fbx_materials, the GLB build, FbxMedia.state_materials. One layout, two containers: an FBX carries the record by name on its carrier; MeshConvert.apply_glb_materials makes each GLB material the record names a copy of the record's -- its factors, alpha, sidedness, extensions and every map with its transform, bound to the GLB's image of the file the record names (the converter's embed reused, else embedded) -- so a GLB's materials ARE the record and it carries no copy of it. A map neither holds is unbound and warned (it was left on the converter's other file); a missing packed map reads dielectric where its metal factor stood in for it. A file with no record is read into the same families and packed in the build's scratch folder. The model: MaterialFamilies.entry still returns a flat statement (its maps by file name, the paths in sources; a uv_offset / uv_scale -- a StingrayPBS's, a host's placement -- is now stated, where version 1 only noted it), and MaterialFamilies.payload(entries, pack=None, notes=None) builds statements into the record, packing through pack: new MaterialFamilies.pack_metallic_roughness writes <base>_ORM.png beside the sources (MapFactory.pack_orm_texture, a channel with no map white), stamped with its sources so a re-export reuses its own pack and never overwrites a file it did not make (it takes <base>_<digest>_ORM.png instead); without pack the record names the image a pack would write (packed_name). New overlay, materials_by_name, material_files, texture_file, emission, source_files (a statement's own maps, for a check of the authored maps), gltf_transform, is_packed_metallic_roughness, TEXTURE_SLOTS. texture_files reads the record's images; FbxMedia.DEPENDENCY_FIELDS embeds them; FbxMedia.legacy_material_values(entry, record=None) reads a glTF material. The validator: new GltfValidator adopts the Khronos glTF Validator's release binary (pinned 2.0.0-dev.3.10; found on PATH or installed by AppInstaller into the user's tools folder, as FBX2glTF is; its npm package was weighed: it needs Node, which the DCC hosts and the Python CI legs lack): resolve(auto_install, prompt), validate(path), validate_document(document, folder), messages(report, worst). The published surface gains GltfValidator (test/surface_snapshot.json, regenerated; it also lists the working tree's SceneExportHandoff). CI gets it the same way: the test installs it on first run (auto_install=True, prompt=False), and skips with its reason only where no release exists for the platform or the network is down. WebXR viewer parity (audited HEAD vs working tree on a real Maya and a real Blender export, loaded in the live page): every material property three.js reads is SAME, except the packed image's name (orm_<map> -> <base>_ORM, the same pixels) and a tiled map, whose UV transform the viewer now shows (version 1 dropped it).
    • Test(s): test_material_record.py new TestTheRecordIsLiteralGltf (7), TestPacking (4), TestTheValidatorReadsIt (2: a record of every feature, wrapped as a minimal glTF document, validates with 0 errors and 0 warnings; version 1's emission above 1 is a validator error), test_tiling_is_stated_as_a_texture_transform, and the v2 shape in the existing ones (red first against HEAD: 15 failed, 2 errors of 31); test_mesh_convert.py TestMaterialsRecord and TestMaterialsRecordThroughTheConverter to v2, new test_apply_copies_the_record_material_whole, test_a_texture_transform_rides_each_map_and_the_extension_is_listed, test_a_packed_map_it_cannot_find_reads_the_absent_values, test_the_glbs_materials_are_the_records_and_the_validator_reads_them (a GLB built from an FBX carrying every feature: its materials are the record's, and the validator reads it with 0 errors), version 1 refused with its cure (red first against HEAD: 26 failed of 31); test_fbx_media.py StateMaterialsTestCase to v2, new test_emission_above_one_is_stated_whole, test_a_version_1_record_is_refused.
  • 2026-11-05 -- A written FBX's takes declare what they hold, and the shotless take's window reaches the producers (file_utils/mesh_convert/fbx_media.py, fbx_file.py, _sidecar.py, core_utils/engines/scene_export/export_snapshot.py, audio_utils/_audio_utils.py). New FbxMedia.fit_take_windows(path, logger=None) rewrites each take's declared window -- its Takes entry's LocalTime / ReferenceTime and its AnimationStack's LocalStart / LocalStop / ReferenceStart / ReferenceStop -- to the keys it holds, measured off the file (new FbxFile.take_ticks, take_spans in exact ticks), in place, and returns each take's window: Maya's writer declares a shotless take over the playback range whatever it holds (measured on Maya 2025 / FBX 2020.3.6: keys 10-100 under 1-120 declared 1-120, the bake on or off), Unity cuts its clip by the declared window and a GLB plays the keys. A take with no keys keeps its window; a file that already fits is not rewritten; never raises (an unreadable file is warned, {}). New ExportContext.take_window: the shotless take's window as the written file declares it, which a host's post-write step hands the producers that count from it (the audio record's cues). AudioUtils.clip_cues takes that one window (was held, a union of predicted spans; new in this release, no moved-names row). The GLB's copy of a record leaves out what it states about the FBX container (_Sidecar.GLB_CONTAINER_FIELDS: audio's media, the digests of the sound files the FBX embeds -- a GLB embeds none), where it had carried it verbatim. clip_cues, keep_takes and fit_take_windows name what was weighed (CODE_STANDARD section 15).
    • Test(s): test_fbx_media.py new FitTakeWindowsTestCase (3: each take declares the keys it holds, a fitted file left as it is, an unreadable one warned; red first: AttributeError, no fit_take_windows; the fixture builder build_curve_fbx takes windows=); test_mesh_convert.py TestTheGlbCarriesTheAudioRecord.test_the_record_rides_as_it_stands_and_the_carrier_goes now pins the copy without media (red first: both subtests, media carried); test_audio_utils.py TestClipCues and test_audio_record_shape.py to window.
  • 2026-11-05 -- A Scene Exporter hand-off keeps the send's exporter (core_utils/engines/scene_export/scene_exporter.py SceneExportHandoff.exporter). What an app's check-failure dialog words itself with, as the Scene Exporter's own panel does (check_failure_html, CHECK_FAILURE_CHOICES), instead of a second dialog.
    • Test(s): test_scene_exporter.py TestSceneExportHandoff.test_the_payload_is_the_exporters_file (+1 assertion).
  • 2026-11-05 -- A hand-off whose payload is the Scene Exporter's deliverable, and the job queue's layout as data (core_utils/engines/scene_export/scene_exporter.py, file_utils/job_queue.py). New SceneExportHandoff (a mixin over a HandoffBridge): produce_scene_export(objects, request) exports the resolved scope with the host's exporter (SCENE_EXPORTER, a class or a "module:qualified.name" target imported on use) as a fresh panel would, a few rows changed (SCENE_EXPORT_OVERRIDES), into the run's scratch folder, asking decide_check_failure on a failed check; a bridge's _produce returns it, so what the target app gets is exactly what the Scene Exporter writes. SceneExporterBase.export_with_values(export_dir, objects, values, output_name, overrides, output_format) runs it (overrides by row name, an unknown row refused; the given objects are the scope); panel_defaults() reads every row at rest through the host's ROW_DEFAULT reader (uitk's Qt-free WidgetSpec.default): pythontk still reads no widget. JobQueue.SUFFIXES (was private) and WORKER_STATES declare the queue's layout, which a worker in another language generates its names from; JobQueue.outcome(job_id) returns a finished job's whole record with its state, what such a worker wrote beside the result included.
    • Test(s): test_scene_exporter.py new TestExportWithValues (2) and TestSceneExportHandoff (4); test_job_queue.py test_a_finished_jobs_whole_record_reads_back; all red first.
  • 2026-11-05 -- Script templates in tiers: a person's own scripts beside the built-ins (core_utils/handoff/script_template.py). ScriptTemplate.list_templates / list_template_modes take one folder or an ordered list of them, the first folder holding a name winning; new user_dir(app) (<user config root>/scripts/<app>: one folder per app, unnamespaced, so a script written once shows in every host and the standalone app), search_dirs(builtin_dir, app) (the person's folder first, then the shipped one), find(dirs, name, ext) and tier(path, dirs). A single folder reads as before.
    • Test(s): test_bridge.py new ScriptTiersTest (4: a user script shadows the built-in of its name, a missing folder or name is no error, modes across the tiers, the one user folder per app first), red first.
  • 2026-11-05 -- The audio record v3: whoever owns the animation owns its cues -- each sound cut into cues per clip, in seconds from the clip's start, with its sound (the delivered file's name), its offset into the sound and its stop, and a GLB carries the record itself (audio_utils/audio_record.py, _audio_utils.py, core_utils/engines/scene_export/scene_records.py, file_utils/mesh_convert/fbx_media.py, _sidecar.py, _fbx2gltf.py, export_verify.py). The record is {version: 3, cues: [{clip, sound, time, offset, stop}], media?}; fps and the frame fields retire (the animation record keeps the scene's rate). A sound that spans several shots is a cue per clip, each starting at its offset into the sound and stopping at the cut; a sound longer than its clip stops at the clip's end; every cue has a stop. The record's help text says who owns the cues (the source) and that what a Unity user adds in the model importer's Events tab is Unity's.
    • One rule, both producers: new AudioUtils.clip_cues(sounds, takes, fps, window=None) cuts the sounds' timeline spans per take; a shotless file's one take is cut over the window the file declares for it (window: measured off the written file once its window is fitted to what it holds, FbxMedia.fit_take_windows; before a write, what the host's writer declares), so a scene whose keys run wider than its bake range no longer plays its cues early (the S2 case: keys 0-100, bake range 20-80, a cue 20 frames early). AudioUtils.scope_events is removed (moved-names row -> AudioUtils.clip_cues). AudioUtils.media_digests(cues, files) digests by the cue's sound, the file name, not by stem.
    • The FBX reader: FbxMedia.audio_events is removed (moved-names row -> new FbxMedia.audio_sounds), which names the delivered sound files the cues play and refuses a record of another version, warned (re-export); new FbxMedia.audio_files(path, track_files, log=None) resolves those names through a host's track resolver (the body both hosts' FbxUtils._shipped_audio held, written once); the dependency pass's digests key by sound and skip a record of another version.
    • One layout, two containers: SceneRecords.AUDIO is glb_verbatim, consumers=("unity", "glb"); a new pass copies every record a GLB carries as it stands (MeshConvert._carry_glb_records, run in the conversion and in finish_glb) from the FBX's carrier into the root extras, refusing another version. A GLB carries no sound file, so its copy has no media (_Sidecar.GLB_CONTAINER_FIELDS, below). The WebXR viewer plays no audio and reads none of the record (audited: no viewer module reads audio; records.js now lists the audio block, whose stale-version check cannot fire on a GLB written before it, since none carried one). ExportVerifier's published rate no longer reads the audio record. Versions 1 and 2 are refused by every reader that checks versions: re-export.
    • Test(s): test_audio_record_shape.py (v3 shape, the producers' composition with and without shots, no audio -> no record, v1/v2 refused, the GLB carries the record; red first: 7 failures, 17 errors of 28); test_audio_utils.py new TestClipCues (contiguous shots, a gap, a sound across a cut, one starting before its shot, one longer than its clip, an open end, a head trim, the shotless take, a take with no range) and TestMediaDigests by sound; test_fbx_media.py new test_audio_sounds_names_the_files_the_cues_play, test_audio_files_resolves_each_sound_through_the_hosts_tracks, test_audio_sounds_refuses_a_record_of_another_version, test_audio_sounds_reads_the_carrier_the_readers_read; test_mesh_convert.py new TestTheGlbCarriesTheAudioRecord (red by mutation: the carry stubbed out, 2 failures).
  • 2026-11-05 -- FbxMedia.keep_takes(path, names, logger=None) leaves a written FBX only its declared takes (file_utils/mesh_convert/fbx_media.py). The one body both hosts' exporters ran after a write (mayatk FbxUtils.drop_undeclared_takes, blendertk TaskManager.ship_declared_takes), written once: every take names does not hold is dropped in place (drop_takes); nothing is dropped for no names (a scene with no shots), a file with nothing undeclared, or one with nothing declared (a file the split never reached); never raises (warned on logger). Both hosts now call it with their declared take names. Also: the WebXR viewer's clip picker and scrub tooltips (net_utils/preview/viewer.html) and the core_utils README name the one-take-per-shot design (no "(full range)" clip, no gap holds, no AnimationBlock); ShotStore.publish_export_view's docstring and ExportProfile's bake-range comment no longer name retired clip ranges, the Animation Clips mode or the clip origin.
    • Test(s): test_fbx_media.py new test_keep_takes_leaves_only_the_declared_ones, test_keep_takes_never_raises (red first: AttributeError, no keep_takes).
  • 2026-11-05 -- Palette.status() is the ecosystem's one severity scheme: success and critical tiers, per-theme variants, and the log colors read it (core_utils/color.py Palette.STATUS_THEMES, Palette.status(theme=), Palette.log() new; core_utils/logging_mixin/logger_ext.py; str_utils/report_doc.py; core_utils/engines/textures/mat_report.py; core_utils/engines/scene_export/scene_exporter.py). status(theme="dark") takes "light" and "high-contrast" (the values uitk's themes kept as their own tokens, now read from here; an unknown name is dark), and every theme adds success (sage) and critical (strong red) to valid / locked / info / warn / error. Palette.log() maps the log levels onto it (WARNING = warn, ERROR = error, SUCCESS = success, CRITICAL = critical, DEBUG = locked; INFO / PROGRESS / RESULT / NOTICE are the log's own), and LoggingMixin.LOG_COLORS is a plain-dict view of it, so the log colors change: WARNING #FFF5B7 -> #D4B878, ERROR #FFCCCC -> #D4908F, SUCCESS #CCFFCC -> #9CC69B, DEBUG #AAAAAA -> #888888. ReportDoc's ok tone and MatReport's heading / error / budget colors read the tiers.
    • Test(s): test_color.py test_every_status_theme_has_every_tier, test_the_log_colors_are_the_status_tiers; test_logging_mixin.py's characterization strings carry the new hexes.

... and 8 more entries: the full notes are in https://github.com/m3trik/pythontk/blob/v0.21.0/CHANGELOG.md

Don't miss a new pythontk release

NewReleases is sending notifications on new releases.