github m3trik/pythontk v0.29.0
pythontk v0.29.0

one hour ago
  • 2026-12-05 -- Fixed: the USD light pass names two entries on one path and writes neither (core_utils/engines/lighting/light_transfer.py LightTransfer.distinct; file_utils/usd/lights.py UsdLightPass.author). Only LightTransfer.match, the sidecar importers' reader, noticed a path two entries name; the USD pass read the entries alone, so the second statement was written over the first, unsaid. LightTransfer.distinct(entries) keeps the entries whose path no other names and says each path several do; match and the USD pass both read through it.

    • Tests: tests/test_usd_lights.py test_two_entries_on_one_path_are_named_and_neither_written failed first (nothing said); with test_light_transfer, test_light_statement and test_handoff_manifest, 100 passed.
  • 2026-12-05 -- Added: a kelvin light's statement color, written once (core_utils/engines/lighting/light_factors.py LightFactors.kelvin_color; _light_rig_upgrade.py). The color that turns USD's blackbody into what a renderer that replaces the color with its temperature draws (MtoA writes the Rec.709 blackbody as its rendering space's primaries) was computed twice, by the version 1 rig upgrade and by mayatk's light read; only the upgrade stated a channel the blackbody does not carry (blue, at or below about 1500 K) as 1.0, so a 1000 K rig upgraded and then mayatk divided by zero building it. Both now call LightFactors.kelvin_color(kelvin, space), beside kelvin_factor.

    • Tests: tests/test_light_factors.py test_a_kelvin_lights_color_turns_usds_blackbody_into_what_the_space_renders failed first (no kelvin_color); the lighting modules 87 passed.
  • 2026-12-05 -- Fixed: a round names the lights its bake left out (core_utils/engines/lighting/look_match/loop.py LookLoop.iterate). A layer the statement could hold only in part bakes without the light it cannot (mayatk's LightLayerBaker names it in the layer's notices); the round dropped the worker's result, so the light's absence showed only in the worker's log. The report (and report.json) now carries notices, per layer, as the worker wrote them; rebake already returned them with each layer's result.

    • Tests: tests/test_look_loop.py test_a_light_the_bake_left_out_is_named_in_the_report failed first (no notices); the module 11 passed.
  • 2026-12-05 -- Docs: the USD light pass says what it was weighed against (file_utils/usd/lights.py UsdLightPass). Its docstring names the prior art the design weighed and did not adopt: each host exporter's own extension point (an export chaser, an export hook), which is a writer per host where one pass over the file is one writer for every host; and switching the exporter's light writer off, which drops the light's transform too (measured).

    • Tests: none reach a docstring; test_usd_lights and test_surface_snapshot 20 passed; check_layers.py --check pythontk passes.
  • 2026-12-05 -- Fixed: a probe map two views hold is said once, as held (net_utils/preview/kernel/probe.js loadProbe); docs follow lightmaps 4 (docs/webxr_preview.md; geo_utils/shadow_horizon.py). The viewer's probe load said a probe or highlight copy that several bufferViews hold was missing, with the cure to export again, beside the lightmaps' bind saying it is held by several views; it passes the tie through and says nothing more, as bindFile does. The WebXR guide described lightmaps 3: the probe placed in the record's unit times unit_scale, the highlights drawn from the record's lights, a version 3 sample; it states meters, the export's lights handed to the highlight pass in memory, probe.environment, and a version 4 sample. HeightFieldMap.alpha's docstring names ShadowRecord.GROUND_LIFT, not the rigs' retired GROUND_OFFSET.

    • Tests: tests/test_preview_viewer_live.py test_a_probe_two_views_hold_is_said_once_as_held failed first (the unfound error on the console); its probe tests 12 passed.
  • 2026-12-05 -- Fixed: a capture reads its environment once (net_utils/preview/look_capture.py LookCapture._environment). Every relight with lights decoded the environment its record names beside the lit probe again, and a file that does not carry it said so on every relight. It is decoded on the first relight and kept on the capture, as the probe is, a missing one said once.

    • Tests: tests/test_look_capture.py test_the_environment_is_read_once_per_capture (two reads) and test_an_environment_the_template_does_not_carry_is_said_once (two warnings) failed first; the module 44 run, 40 passed, 4 skipped.
  • 2026-12-05 -- Fixed: a conversion that is no delivery keeps its lights (file_utils/mesh_convert/_mesh_convert.py MeshConvert.fbx_to_glb(strip_lights=); _fbx2gltf.py). fbx_to_glb took every GLB's KHR_lights_punctual ("a delivery GLB carries no light", below), so extapps' Mesh Converter, which converts a person's file, dropped the file's lights unasked. strip_lights (True by default) states it: the delivery paths keep the default and strip and name each light (GlbPipeline.build, so both hosts' Scene Exporters and the preview; the highlight pass's geometry in _highlights.py; mayatk's EnvUtils scene save as GLB), and the Mesh Converter passes False, keeping the lights and their animation channels, its report's lights_left_out empty.

    • Tests: tests/test_mesh_convert.py test_a_conversion_that_keeps_lights_keeps_them_and_their_animation failed first (an unexpected keyword); TestBakedLightsLeaveTheGlb 7 passed.
  • 2026-12-05 -- Fixed: a rig whose version is no number is refused with its cure (core_utils/engines/lighting/light_rig.py LightRig.normalize, load, apply). A "version" written as text raised a TypeError at the library's door. A version that is no whole number of 1 or more (text, null, a fraction, a bool, 0) is refused as the door's other refusals are, naming the rig and the cure (make it the version it was saved as, 1 to 2); a whole number written as a float (2.0) reads as that version.

    • Tests: tests/test_light_rig.py test_a_version_that_is_no_number_is_refused_with_its_cure failed first; with test_light_rig_payload and test_look_match, 85 passed.
  • 2026-12-05 -- Fixed: no host light states a CylinderLight yet (core_utils/engines/lighting/light_factors.json; light_statement.py LightStatement.TYPES' comment). Maya's aiAreaLight listed CylinderLight among what it states, through the rect's factor, unmeasured; the design has a cylinder join when a consumer builds it, and both hosts' adapters report one as not stated. It leaves states, so to_statement(..., statement_type="CylinderLight") is refused, naming the light and what it states; the table's about says when a cylinder joins.

    • Tests: tests/test_light_factors.py test_a_cylinder_is_stated_by_no_host_light_yet failed first; the lighting modules 123 passed.
  • 2026-12-05 -- Fixed: the sidecar's lights build each node once, from an entry whose placement reads (core_utils/engines/lighting/light_transfer.py LightTransfer.match, read, entry, AXES_UP). Two entries naming one path built the node twice, the second over the first, unsaid: they are named in one notice and neither is built (the node is not then reported as a light without a statement). read took any aim, right and axis_up: each of aim and right is three finite numbers and axis_up is "Y" or "Z" (AXES_UP), and an entry with another is named and not built, the rest read; entry refuses what the reader would, naming the light.

    • Tests: tests/test_light_transfer.py test_two_entries_on_one_path_are_named_and_neither_is_built, test_a_bad_aim_right_or_up_axis_is_named_and_not_built, test_a_writer_refuses_what_the_reader_would failed first (14 run, 5 failed), then 14 passed; with test_handoff_manifest and test_usd_lights, 88 passed.
  • 2026-12-05 -- Fixed: a light statement holds only a light, and a schema declares a number's range once (core_utils/engines/lighting/light_statement.py LightStatement.validate, AREAS; core_utils/schema_spec.py spec_field(bounds=)). LightStatement.validate took a negative size, a cone softness of 1.5, a temperature of 0 K and a NaN intensity. Each size (radius, width, height, length, angle) is 0 or more, shaping:cone:softness 0 to 1, shaping:cone:angle past 0 to 180 (UsdLux allows a cone past 90), colorTemperature above 0, and every number of the statement finite (attrs are the host's own); a RectLight, DiskLight or CylinderLight with a size of 0, its sizes resolved through UsdLux's fallbacks, has no area and is refused (a SphereLight of radius 0 is a point, a DistantLight of angle 0 a hard sun). The ranges are declared with the new spec_field(bounds=), JSON Schema's own range keywords (minimum, maximum, exclusiveMinimum, exclusiveMaximum): validate holds a number to them, a number that is not finite failing every range, and json_schema writes them beside the type, so the statement's published schema carries each range; an unknown keyword is refused where it is declared.

    • Tests: tests/test_light_statement.py test_a_value_that_is_no_light_is_an_error, test_its_json_schema_carries_each_range and tests/test_schema_spec.py BoundsTest (6) failed first (no bounds; the statement took each value); test_a_light_at_its_ranges_ends_fits holds a point, a hard sun and a cone at 180; the lighting modules and test_schema_spec 217 passed; sync_scene_records.py --check in sync.
  • 2026-12-05 -- Fixed: a version 1 rig keeps loading when one light is one the statement does not hold, and a kelvin below 1500 K upgrades (core_utils/engines/lighting/_light_rig_upgrade.py; light_rig_payload.py LightRigPayload.upgrade; look_match/_look_match.py LookMatch.to_rig). As the design's upgrade says, a light the statement does not hold yet (a gobo, textures or filters, a photometric light, a shape UsdLux has none for, a type or a key version 1 does not declare) is left out of the upgraded rig and named in the notice with why and its cure, and the rest upgrades; the whole rig was refused. to_rig kept no upgrade notice: each version 1 layer's notice rides source.notices (the command line prints them), and a layer whose every light was left out is listed under source.unbuilt. A Maya light at or below about 1500 K divided by the blackbody's blue, which USD's blackbody holds at 0 there: that channel of the statement's color multiplies zero and is stated as 1.0, and a renderer drawing in the blackbody's own space (Rec.709) states white without dividing.

    • Tests: tests/test_light_rig_payload.py test_a_light_the_statement_does_not_hold_is_left_out_and_named (was ..._is_refused_with_its_cure), test_a_rig_with_one_light_the_statement_does_not_hold_stays_loadable, test_a_kelvin_whose_blackbody_has_no_blue_upgrades (1000 K, 1200 K), test_a_kelvin_in_the_blackbodys_own_space_is_white, and tests/test_look_match.py test_a_layer_light_no_version_2_light_holds_is_left_out_and_said (was test_a_rig_outside_the_payload_contract_is_refused) failed first; the lighting modules 105 passed.
  • 2026-12-05 -- Changed: the light factor table is its own module, beside its data (core_utils/engines/lighting/light_factors.py LightFactors, LightConversion; light_statement.py). LightFactors and its conversion lived in light_statement.py; they live beside light_factors.json now, and ptk.LightFactors resolves there (new this release, so no moved-names row). Its docstring's example ran without a normalize for a light with a factor per normalize, and raised; it names one and runs as a doctest.

    • Tests: tests/test_light_factors.py (the factor table's tests, moved from test_light_statement.py; TestItsHome failed first: no module), tests/test_surface_snapshot.py (the snapshot names the new module): the lighting modules 113 passed.
  • 2026-12-05 -- Fixed: a refused hand-off names the side that must change (core_utils/handoff/manifest.py HandoffManifest.refused, OLDEST_RELEASE). A sidecar older than OLDEST told the reader to update its own toolkit, which was already the newer one. A version above VERSION says it was sent by a newer toolkit and to update the toolkit on this side; one below OLDEST says it was sent by an older toolkit and to "export the hand-off again with pythontk 0.29.0 or later" (OLDEST_RELEASE, the release that writes version 5); a version that is no whole number gets that cure alone, as SceneRecords.accepted words a delivery's.

    • Tests: tests/test_handoff_manifest.py test_an_older_sidecar_names_the_sender_and_the_release_that_writes_this, test_a_newer_sidecar_says_update_this_reader, test_a_version_that_is_no_number_names_no_age failed first (57 run, 2 failed, 1 error), then 57 passed.
  • 2026-12-05 -- Fixed: the release keeps what its notices still hold (__init__.py MOVED_NAMES LightmapBakedLight; core_utils/engines/scene_export/material_reading.py MaterialReading.from_entry). LightmapBakedLight left with lightmaps 4 without a moved-names row: its row names LightStatement (a delivery's record carries no light; the highlight pass takes the export's lights in memory). from_entry had dropped its branch for the entry manifests 1 and 2 wrote, and that branch's Deprecation, inside the notice's window (not before 2027-01-03): both are back, remove_in 0.30.0, the window unchanged.

    • Tests: tests/test_material_reading.py TestTheOlderEntry (7) and test_the_older_shape_is_placed_as_it_was failed first (55 run, 7 failed), then 55 passed; check_api_surface.py pythontk --semver (it exited 1, one removal unaccounted and one held) and --check pass.
  • 2026-12-05 -- Fixed: a preview's GLB draws the probe's highlights again (net_utils/preview/bridge.py PreviewBridge.highlight_lights; deliverer.py PreviewDeliverer). Lightmaps version 4 names no light, so the preview's build was handed none. A host hook, like lightmap_search_dirs, answers the lights (mayatk's: LightmapRecords.highlight_lights), read once per push and handed to GlbPipeline.build(lights=) for every part; None draws none.

    • Tests: tests/test_preview_server.py test_the_glb_is_built_by_the_pipeline_the_exporters_run (the build was handed no lights first): 264 passed, 1 skipped; test_bridge, test_surface_snapshot (radians_per_unit recorded): 394 run, 0 failed after the snapshot update.
  • 2026-12-05 -- Changed: a delivery GLB carries no light, baked or not, and the build names each it leaves out once (file_utils/mesh_convert/_lightmaps.py strip_glb_baked_lights; _mesh_convert.py MeshConvert.LIGHTS_LEFT_OUT; _fbx2gltf.py fbx_to_glb's report lights_left_out; glb/pipeline.py GlbPipeline.build(lights=); math_utils/_math_utils.py MathUtils.ANGLE_UNIT_RADIANS, radians_per_unit). An unbaked GLB kept its KHR_lights_punctual; every GLB now loses them, each light's node kept (a shadow cast from a light follows it). fbx_to_glb names them in its report, or on its logger without one; GlbPipeline.build says them once on the caller's logger and hands the export's lights to the highlight pass. The angle table both hosts' Units read is declared once here.

    • Tests: tests/test_mesh_convert.py TestBakedLightsLeaveTheGlb, tests/test_glb_pipeline.py (two), tests/test_math.py (one), each red first: the three modules 750 run, 749 passed, 1 skipped; the 28 modules the change reaches pass.
  • 2026-12-05 -- Changed: lightmaps and shadows are version 4, in glTF's frame (every length in meters, +Y up, no unit_scale); lightmaps carries no light list and names its probe's environment-only map, and the highlight pass takes the export's lights in memory (core_utils/engines/scene_export/lightmap_record.py LightmapRecord; scene_records.py RecordSpec.since, SceneRecords.accepted, SceneRecords.unfound; geo_utils/shadow_record.py ShadowRecord.GROUND_LIFT, SOURCE_RAMP; geo_utils/shadow_projection.py; file_utils/mesh_convert/_highlights.py, _mesh_convert.py MeshConvert.drawn_lights, HIGHLIGHT_MAX_LIGHTS, HIGHLIGHT_ENVIRONMENT_NAME, embed_fbx_highlight_probes(lights=), finish_fbx_deliverable(lights=); _lightmaps.py apply_glb_lightmaps(lights=); _fbx2gltf.py fbx_to_glb(lights=); fbx_media.py; net_utils/preview/kernel/probe.js, lightmaps.js, extras.js, records.js, features/shadow_rig/shadow_rig.js; net_utils/preview/look_capture.py; core_utils/engines/scene_export/material_reading.py MaterialReading.from_entry). A delivery's records now state lengths as the frame does, so no reader multiplies a unit back in and none can take one unit for another. A version 3 record is refused, its cure naming the release that writes version 4: "export the delivery again with pythontk 0.29.0 or later" (RecordSpec.since; the viewer's records.js and Unity carry it too). LightmapRecord.payload takes no lights (LightmapBakedLight goes), and its unit_scale (1.0 by default) turns a host's probe into meters at the door; the probe's environment names the panorama as captured, before the highlight pass drew the lights in ({stem}_Environment.hdr, a Radiance re-encode, beside the lit {stem}_Lights.hdr). The highlight pass's lights are one in-memory input, [{"name", "light": a LightStatement dict, "matrix": the node's world transform}] (16 floats or 4x4 rows, row vectors, position last, meters, +Y up; a light faces its -Z row, a rect's width runs along its X row); MeshConvert.drawn_lights turns them into what the pass draws, at most HIGHLIGHT_MAX_LIGHTS (16), the strongest at the baked bounds' center, a DistantLight or CylinderLight skipped and named. shadows' ground lift (0.0001 m, GROUND_LIFT) and source ramp (0.01 m, SOURCE_RAMP, the field's default) are lengths, where they were counts of the rig's or the record's unit: a Maya rig and the readers lifted 9.9 mm apart in a meter scene, and Blender ramped over 1 m where Maya ramped over 1 cm. Every version 4 reader refuses a record whose named map the delivery does not carry, naming the cure (SceneRecords.unfound; the viewer's unfound); LookCapture builds its highlight copies on the environment map the record names instead of subtracting the drawn lights from the lit probe. HandoffManifest.OLDEST 5 refuses the documents of manifests 1 and 2 whole; MaterialReading.from_entry still reads the entry they wrote, under its Deprecation, until that window closes. Record descriptions spell American (color, center, meter).

    • Tests: The version 4 fixtures replace the version 3 ones in every module that read them; the refusal tests keep version 3. New: tests/test_mesh_convert.py (drawn_lights: each statement drawn as UsdLux defines it, a light the pass cannot draw named and left out, the strongest at the baked geometry kept), tests/test_scene_records.py (a past version's cure names the release that writes the one read). The affected selection, 59 modules, playwright present: 4309 run, 4295 passed, 12 skipped, 2 failed in tests/test_preview_server.py (they pinned the page's records table and refusal without the release); those assertions follow, and the module passes (264 passed, 1 skipped).
  • 2026-12-05 -- Changed: Blender's light factors, as the proof measured them (core_utils/engines/lighting/light_factors.json; light_statement.py LightFactors.to_statement, from_statement radius=, LightFactors.cards). A Blender point or spot light with normalize off has a factor now: 1 / pi, its sphere's radiance, free of the scene's unit (measured at 5 and 10 cm, scale_length 1 and 0.01). At radius 0, or a radius unsaid, it is refused by name (radius_0, "point normalize off"): Cycles draws it as a normalized point at four times its energy, UsdLux and Arnold give it no light. Blender's kelvin (2700, 4500 and 9000 K; Rec.709 and ACEScg) and a scene not in meters are measured, so neither is pending; the cone edge stays pending, its note holding the measured profiles. measured.cards holds the proof's cards (a statement, the irradiance it lights a card with at 1 m, its chromaticity), read by LightFactors.cards.

    • Tests: tests/test_light_statement.py (test_a_point_not_normalized_is_refused_at_radius_0, test_each_card_is_a_statement_with_its_light; a pending entry's refusal on a patched table) and tests/test_light_rig_payload.py (the second host's kelvin no longer said): run_tests.py test_light_rig_payload test_light_statement test_light_rig 75 passed.
  • 2026-12-05 -- Added: UsdLightPass writes an animated light's samples and says what it stills (file_utils/usd/lights.py UsdLightPass.samples_of; light_readers.json). samples_of({time: statement}) gives the keys that vary as [[time, value], ...], an entry's samples; an input the exporter animated that the entry has no samples for is written still and said; a size under an animated scale is written at each of its transforms' samples. light_readers.json names two more departures of Arnold's USD reader: a DiskLight's radius is drawn unscaled by its transform, and a light's color is read in the rendering space, its colorSpace unread.

    • Tests: tests/test_usd_lights.py test_a_lights_samples_are_the_keys_that_vary and test_an_exporters_animation_left_unstated_is_said, test_a_size_holds_under_an_animated_scale (each red first): 17 passed.
  • 2026-12-05 -- Changed: the light rig is version 2, each light its statement in UsdLux's terms, placed in meters, +Y up (core_utils/engines/lighting/light_rig.py LightRig, LightRigHost; light_rig_payload.py LightRigPayload.VERSION 2, LightRigStatement; _light_rig_upgrade.py; light_rig_v1.json; look_match/_look_match.py LookMatch.to_rig). A version 2 light is a LightStatement (intensity in nits through LightFactors, color linear Rec.709, sizes in meters) with translate in meters, +Y up, and rotateXYZ in degrees, emitting along its local -Z; the payload's source names the host and renderer version that wrote it and the factor table's version. A host's capture_lights and build_light go through its light statement adapter (LightRigStatement.from_world / to_world change the up axis) and return what they could not state or build: apply reports it under notices, save logs it. A version 1 rig is upgraded at the door (load, apply, normalize), its notice logged once and first in the report; the library file becomes version 2 when the rig is saved, and a rig of overrides alone upgrades without naming a host. A light's host attributes upgrade to what that host's version 2 read states (light_rig_v1.json unsaid, builds, radians): each own setting off the value the read leaves unsaid, Blender's area spread in radians, Maya's node type where the statement builds another (an aiAreaLight quad); any other attribute is named in the notice and not carried. A library rig stating an area light's spread at its default compared as changed once applied; it compares clean. LightRigStatement.whitened is a bake layer's light: its color and temperature dropped, its intensity times a gain. LookMatch.to_rig writes version 2, each layer's lights whitened at the mix's weight and tinted by its kelvin in Rec.709; its color_space keyword is gone (a statement's color is Rec.709). Overrides keep version 1's terms (a host's attribute names, centimeters, degrees): a pure upgrade cannot tell which override is a length. light_rig_v1.json's Blender radius default is 0, a fresh Blender 5.1 light's: it said 25 cm, so a point a 5.1 rig left at 0 upgraded at 25 cm. Removed, each with a MOVED_NAMES row: LightRigHost.defaults and gobo_filter (and PureLightRigHost's), LightRig.TYPES, HOST_TYPES, KELVIN_ATTRS, NOTES.

    • Tests: tests/test_light_rig.py (rewritten for version 2), tests/test_light_rig_payload.py (version 2's schema, units and placement; test_a_rig_of_overrides_alone_needs_no_host and the Blender radius failed first) and tests/test_look_match.py (to_rig's version 2 lights; a version 2 layer spec used as stated): 80 passed; test_a_hosts_own_setting_is_carried_as_its_read_states_it failed first. mayatk's and blendertk's test_light_rig hold each library rig, built as version 1 built it, against its version 2 rebuild within 5% (measured: under 1e-7 in either host).
  • 2026-12-05 -- Fixed: Maya's light factors and the version 1 rig upgrade, as Arnold measured them (core_utils/engines/lighting/light_factors.json, light_rig_v1.json, _light_rig_upgrade.py). A Maya point or spot light with normalize off has a factor now: 1, its sphere's own radiance (a 5 cm radius measured in MtoA 5.4.5: 7.8528e-3 against π·25e-4); it raised before. Maya's color-temperature level is no longer pending: 1 / max(rgb) of the Rec.709 blackbody held at 2700 K, 4500 K and 9000 K within 0.03 percent. The upgrade reads a version 1 Arnold disk as a DiskLight (its radius 1 cm times its X scale, measured at scales 3 and 25) instead of refusing it. A light whose color temperature replaces its color upgrades with the color that turns USD's blackbody into what the renderer draws: MtoA writes the temperature's Rec.709 blackbody as its rendering space's primaries, so in an ACEScg scene the color is no longer white (rendered with kick, within 0.04 percent and equal chromaticity to 4 decimals at all three temperatures).

    • Tests: tests/test_light_statement.py (the point and spot rows with normalize off; a Maya kelvin light no longer pending, Blender's still) and tests/test_light_rig_payload.py (a kelvin light's color in ACEScg; test_a_disk_and_a_point_with_normalize_off_upgrade_as_measured); mayatk's test_light_rig holds light_rig_v1.json's Maya tables and defaults against a fresh Maya. The affected selection: 60 run, 59 passed; the one failure is the published-surface snapshot, changed by the sidecar's LightTransfer and LightMatch and the USD light pass's UsdLightPass, not by this change.
  • 2026-12-05 -- Added: the USD light pass (file_utils/usd/lights.py UsdLightPass, light_readers.json; core_utils/engines/lighting/light_transfer.py LightTransfer.SAMPLES, entry(samples=)). UsdLightPass.apply(usd_path, entries) makes each light prim a host's USD export wrote the light its LightTransfer entry states: the statement's UsdLux type, every input it states and no other authored light input (a shadow or shaping API it does not state goes, with its inputs), each size divided by the stage's metersPerUnit and the prim's world scale, the color in linear Rec.709 with colorSpace lin_rec709_scene (UsdAttribute.SetColorSpace, in USD 23.11, 25.08 and 26.05), an entry's samples as time samples converted alike, and the extent recomputed. A normalized light other than a DistantLight, and a SphereLight drawn as a point, is written at its intensity / metersPerUnit squared: Arnold's USD reader ignores metersPerUnit and draws those lights 1e-4 as bright on a centimeter stage (13 cases at 0.01 and 1, each within 1e-6; light_readers.json holds them, the readers that differ and the reader's departures from UsdLux). It names a statement whose prim is missing or is no light, and a light prim no statement names (left as written), and never raises on one light. Its part sits above core_utils/engines in the layer order. No host's export runs it yet.

    • Tests: tests/test_usd_lights.py (14; written after the pass, so not red first, except a retyped DistantLight's stale extent) passes under usd-core 26.05 and, in instances this run launched, Maya 2025's USD 23.11 and Blender 5.1's 25.08; tests/test_light_transfer.py test_samples_ride_only_when_given failed first.
  • 2026-12-05 -- Changed: the deliverable format states its rule and each fact by container, and each record what a USD carries of it (core_utils/engines/scene_export/scene_records.py Frame, RecordSpec.usd, RecordSpec.outside_frame, SceneRecords.json_schema; DELIVERABLE_FORMAT.md, scene_records.schema.json). The frame spells its length meter and states angles in radians and colors in linear Rec.709. Every deliverable record declares what a USD export carries of it (RecordSpec.usd, x-usd) and, out of the frame, what departs until its next version (RecordSpec.outside_frame, x-outside-frame; set with in_frame it raises). articulation v2, whose rotations and limits are degrees, is out of the frame until version 3 (it read as in); lightmaps and shadows state their lengths in the record's unit. The format document opens with the rule, each fact by container (FBX, GLB, USD) and the USD light convention; its records table gains In the USD and Frame.

    • Tests: tests/test_scene_records.py (three new) and m3trik's tests/test_sync_scene_records.py (two new) failed first; tests/test_articulation.py follows the frame. The 143 modules both changes reach: 8515 run, 8478 passed, 36 skipped, 1 failed: test_surface_snapshot, on UsdLightPass and on LightTransfer and LightMatch (added at sidecar version 5); the snapshot is updated and passes.
  • 2026-12-05 -- Changed: the hand-off sidecar is version 5, its lights stated as light statements by node path (core_utils/handoff/manifest.py HandoffManifest.VERSION 5, OLDEST 5; core_utils/engines/lighting/light_transfer.py LightTransfer, LightMatch). A lights entry held Blender's watts at 1000 W per unit of Maya intensity, 796 to 3.2 million times off for point, spot and normalized area lights (measured); it now holds the node's path (root to node, a list of names) and its LightStatement, with hidden and the route's aim and roll as before. LightTransfer.entry refuses a statement that does not validate, naming the light; read names each bad entry and reads the rest; match meets each statement with the node that arrived on its path, so two lights sharing a leaf name stay apart, and names a statement whose node is missing, a light node no statement names, and a path two nodes arrived on. A version 4 sidecar is refused: its lights would build in the wrong units, and both sides of a hand-off run one release.

    • Tests: tests/test_light_transfer.py (10, failed first: no module) and tests/test_handoff_manifest.py test_a_version_4_sidecar_is_refused; with the sidecar's readers: 829 passed, 1 skipped.
  • 2026-12-04 -- Added: one light stated in UsdLux's terms, the factor table between each host's light and it, USD's blackbody, and a version 1 light rig read as version 2 (core_utils/engines/lighting/light_statement.py LightStatement, LightFactors over light_factors.json; light_rig_payload.py LightRigStatement, LightRigPayload.upgrade over _light_rig_upgrade.py and light_rig_v1.json; img_utils/_img_utils.py ImgUtils.blackbody_rgb; core_utils/schema_spec.py spec_field(key=)). LightStatement declares a light once: its keys are UsdLux's input names without inputs: (shadow:enable, shaping:cone:angle), its fallbacks UsdLux's, its intensity in nits and its color linear Rec.709, and nothing imports USD. A SchemaSpec field may declare the JSON key it is read and written by (spec_field(key=...)), so a key no Python name spells validates, loads, saves and publishes like any other; two fields on one key raise. LightFactors (version 1, its data in light_factors.json) converts each host's light, per normalize, to the statement's intensity and back, as measured on the card; an entry the proof has not reached (a spot's soft edge, a point light with normalize off, a color temperature's level away from 4500 K, a scene that is not one meter per unit) is named in the conversion's pending, and one with no factor yet raises naming it. A renderer that keeps a color temperature's brightest channel at white is read at 1 / max(rgb) (kelvin_factor). ImgUtils.blackbody_rgb is USD's blackbody, vendored. LightRigPayload.upgrade(payload, name) returns (payload, notice): each light becomes a LightRigStatement (a statement, its name, and its transform in meters, +Y up), its intensity read through the table as the host that saved it rendered it, its color from that host's rendering space to Rec.709, a spot's cone as its half angle, an area light's size from its plate; what the statement does not hold rides in attrs under the host's name; the rig's other keys are carried and source records the host and the table. A rig whose host nothing names is refused in one sentence with the cure; a photometric light, a gobo and a shape UsdLux lacks are left out of it, each named in the notice with its cure. VERSION stays 1 and LightRig loads as before.

    • Tests: tests/test_light_statement.py (17), tests/test_light_rig_payload.py TestTheVersion1Upgrade (13, on copies of two library rigs with their private names replaced, and rigs spelled each host's way), tests/test_schema_spec.py DeclaredKeyTest (6) and tests/test_img.py BlackbodyRgbTest (4, one against pxr.UsdLux, skipped without it) failed first; the chain from one host through the statement to the other gives 4π·1e-4 (point, spot), π·1e-4 (normalized area), π (area) and 1 (sun) within 1e-9. The affected pythontk run, with ProgramFiles pointed away so no host started: 8310 run, 8262 passed, 40 skipped, 8 failed in test_file: six listed the new fixtures' folder under tests/test_files (they moved to tests/fixtures) and two read the override; test_file then passed whole (211). The Unity models under dotnet test: 33 passed.
  • 2026-12-04 -- Fixed: the USD-to-GLB conversion names each light and record it leaves out, and Blender's USD is labeled with the scene's unit (file_utils/mesh_convert/_usd2glb.py; core_utils/engines/scene_export/export_snapshot.py ExportContext.WRITER_UNITS). A light was said by its kind alone, one under a scope that draws nothing not at all, and a record (a userProperties: value: a host's custom attribute, a data_export carrier's record) was dropped unsaid; each is now named by its path, in one warning per file. blendertk's USD export now states the scene's unit (apply_unit_scale, on by default), so the ("blender", "usd") row answers the scene's meters per unit, and one meter with apply_unit_scale off.

    • Tests: tests/test_usd2glb.py test_each_light_and_record_left_out_is_named_once (failed first: only SphereLight was said) and tests/test_export_snapshot.py test_each_writer_states_the_metres_one_scene_unit_is_in_its_file (failed first: 1.0 != 0.01): 39 and 31 passed; the affected run: pythontk 3504 run, 3492 passed, 12 skipped; mayatk 2272, blendertk 2435 checks, the material corpus 11 and the Unity e2e 8 passed.
  • 2026-12-04 -- Fixed: a refused record is said once, a verifier reads a GLB as a viewer does, and a whole number written as a float is that integer (core_utils/schema_spec.py SchemaSpec.whole_numbers; core_utils/engines/scene_export/scene_records.py SceneRecords.accepted, RecordSpec.is_current; file_utils/mesh_convert/_mesh_convert.py MeshConvert.glb_record (carrier), highlight_probe_layers (record); _sidecar.py, _fbx2gltf.py, _highlights.py, _articulation.py, _lightmaps.py, export_verify.py; net_utils/preview/look_capture.py). A conversion said a refused record once per pass that read it (the animation record three times: the prune, the manifest, the carry; render_effects three; articulation, shadows twice); within one conversion each refusal is now said once (said_once, scoped to the running context). LookCapture said its template's refusal again on every relight: highlight_probe_layers takes the record its caller has read. glb_record(carrier=False) reads the root extras alone, as a viewer reads the GLB, and the shot-clip and animation-rate gates and verify_glb's articulation notes read so: a record only a converted carrier holds no longer passes them. A number whose fractional part is zero is an integer (JSON Schema's rule, and every generated reader's): SchemaSpec.validate admits 3.0 where it expects an integer, accepted reads version 4.0 as 4 (a boolean as no version), and a record it accepts holds each such value its shape declares an integer as one (SchemaSpec.whole_numbers, new), so a Python reader that indexes by it reads what the others do. The text null on a carrier is no record. The private MeshConvert._lightmap_manifest, read by a test alone, goes.

    • Tests: tests/test_mesh_convert.py TestARefusalIsSaidOncePerConversion and tests/test_shadow_web.py test_a_conversion_says_a_refused_record_once (said two and three times), tests/test_look_capture.py test_a_refused_record_is_said_once_however_often_it_relights (three sentences), tests/test_export_verify.py test_a_record_only_a_carrier_holds_is_not_what_a_viewer_reads (PASS), tests/test_articulated_rig_web.py test_verify_glb_notes_only_the_record_a_viewer_reads, TestGlbRecord's root-only case, tests/test_schema_spec.py test_a_whole_number_is_an_integer and test_whole_numbers_reads_a_declared_integer_as_one, tests/test_scene_records.py test_a_whole_number_written_as_a_float_is_that_number and test_json_null_is_no_record, tests/test_shadow_record_shape.py test_a_whole_number_written_as_a_float_is_that_integer failed first. New tests pin what already held: TestGlbRecord (root first, a refused root behind a valid carrier read in silence, both refused saying the carrier's sentence, say off and callable, shape off, root text ignored), the rate gate failing a refused sidecar record, and the highlight probes of another version's record. The affected rows without a browser or DCC (playwright withheld): 3794 run, 3596 passed, 198 skipped.
  • 2026-12-04 -- Changed: a delivered record is accepted or refused in one place, its refusal one sentence (core_utils/engines/scene_export/scene_records.py SceneRecords.accepted; file_utils/mesh_convert/_mesh_convert.py MeshConvert.glb_record; _sidecar.py, _shadow_rigs.py, _articulation.py, _lightmaps.py, _media.py, _highlights.py, _fbx_materials.py, fbx_media.py, export_verify.py; net_utils/preview/look_capture.py). SceneRecords.accepted(item, payload, *, reader="pythontk", shape=True) returns the record or the one sentence a reader says, with its cure: another version (a newer one asks to update reader, an older one or none to export the delivery again), text that is not JSON, or, with shape, a shape the declaration refuses. It replaces "<key> record not applied -- ...; re-export the file." MeshConvert.glb_record is the one read of a record in a glTF document: the root extras' copy, else the carrier's, each held by accepted, a refusal said once. The passes that read a record their own way read through them (_shadow_record goes). Silent skips now say why: a look-capture template or highlight probe pass of another version, export_verify's GLB shot-clip and animation-rate gates (they FAIL a refused record where they skipped). An empty render-effects channel is no record, not a "not JSON" failure; the lightmap pass holds the root copy to its shape, as it held the carrier's.

    • Tests: tests/test_scene_records.py test_accepted_is_the_record_or_the_one_sentence_its_reader_says (no accepted), test_look_capture.py test_a_template_whose_record_is_of_another_version_says_why_it_has_none and test_mesh_convert.py test_a_record_of_another_version_draws_nothing_and_says_why (nothing logged) failed first; the tests pinning the old sentence moved to the new one. The affected rows without a browser or DCC: 2870 run, 2862 passed, 8 skipped; test_articulated_rig_web and test_shadow_web without their live classes: 41 passed.
  • 2026-12-04 -- Removed: the round trip whose target edits the payload in place (core_utils/handoff/app_handoff.py ScriptRoundTripDeliverer, ScriptLaunchBridge.round_trip_spec; script_run.py REWRITTEN and CREATED, and the expect of ScriptRunner.run_script_to_artifact and ScriptRunDeliverer.run). No bridge in the ecosystem declared round_trip_spec, so the deliverer and the judge only it used (a run succeeds when its input file changed) had no caller outside their tests; with one way left to judge a run, expect had one value and goes too. A round trip is declared on run_spec (its modes naming ROUND_TRIP): the target writes a new file, passed as out, that the bridge's _ingest reads, as mayatk's lightmap bake does. A bridge that still sets round_trip_spec gets no deliverer from it, and round_trip says to declare it on run_spec. Each name has its MOVED_NAMES row. ScriptLaunchBridge.round_trip now requires out: with the in-place target gone, a round trip without one could only fail after its export and launch.

    • Tests: test_a_round_trip_names_the_file_its_target_writes, test_the_created_judge_is_a_moved_name (both failed first); tests/test_bridge.py test_the_in_place_deliverer_is_a_moved_name and test_a_round_trip_spec_is_not_read, tests/test_script_run.py test_the_in_place_judge_is_a_moved_name failed on the old code; the in-place tests went with the code, the tests of round_trip itself run on run_spec. With test_surface_snapshot: 164 passed; the 134 modules the change reaches, run with ProgramFiles pointed away so no mayapy started: 8008 passed, 40 skipped, 2 failed on that override (test_file, which then passed whole: 211).
  • 2026-12-04 -- Fixed: names the hand-off and the deliverable declare were restated as literals (core_utils/handoff/manifest.py HandoffManifest.NODE_TYPE_KEY; core_utils/engines/scene_export/record_transfer.py, scene_records.py, scene_data_sidecar.py; file_utils/mesh_convert/export_verify.py, _fbx2gltf.py, _lightmaps.py, glb/fades.py). RecordTransfer.RECORDS_SECTION and the shots spec's section read HandoffManifest; the sidecar writer and ExportVerifier read the deliverable carrier as SceneStoreBase.name(Scope.DELIVERABLE); GlbFades' extension and _fbx2gltf's channel reads are SceneRecords.TRANSPORT.glb. The Empty's node-type field, spelled in both bridges, is declared once as HandoffManifest.NODE_TYPE_KEY. The viewer's kernel/animation.js keeps its literal, held to TRANSPORT.glb by a test.

    • Tests: tests/test_scene_records.py test_the_viewer_reads_pointer_channels_by_the_declared_transport (failed with TRANSPORT.glb changed); NODE_TYPE_KEY's spelling is pinned in mayatk's test, which may name the host; the affected row without its three browser modules: 3073 run, 3050 passed, 23 skipped.
  • 2026-12-04 -- Fixed: an occlusion multiplied into the base color reads as two maps (core_utils/engines/scene_export/material_walk.py MaterialWalk: the kind multiply, MULTIPLIED, holders, graph; material_corpus.py). A shader with no occlusion input is given one by multiplying the occlusion into its base color. The walk read that multiply as a mix, so two images there were "two images mixed into one channel": the base color went unread, and a delivery of the material stated no base color texture. A multiply is a kind of its own now: into the base color, the image its host reads as data is the ambientOcclusion map and the other the base color's, never by which input each is on (two images read alike stay unread); into any other channel it reads as a mix. A host's table says when an image is data (an image row's data, an answer that follows the color space the listing states with the image). A plug one output feeds each of the three components of is fed whole by it too, beside its lanes: a packed image's red wired into all three of a multiply's input was three lanes, and the whole node unfed, so the occlusion was not seen. Where the occlusion is over no image, what the multiply's other input holds is the base color's value: read states it, and holders(graph, row, props) names the node and input a host sets it on (it was not set, the shader's own input being fed, and the occlusion image read back as the base color map). The corpus gains occlusion_into_base_color and packed_occlusion.

    • Tests: tests/test_material_walk.py TestAnOcclusionMultipliedIntoBaseColor and TestAnOcclusionFromADocument (20 cases: 13 failed on the old code, 7 hold what must not change); with test_material_corpus.py and test_material_reading.py: 188 passed.
  • 2026-12-04 -- Added: a shader input may hold more than one channel, one of them read by an output of its image that no link names (core_utils/engines/scene_export/material_walk.py MaterialWalk.graph, asks, _answer). A shader that binds an image whole and samples what it wants of it could not be read: a row gave an input one channel, read by the output its link names, so a game shader whose opacity is its color map's alpha while a selector is 1 read back opaque. A row's answer for an input may be a list of channels, one naming the output it reads of the image on that input ({"name": "opacity", "output": "a"}), each following a selector like any answer; what is no image there is said in unread. A switch a host keeps as a float answers as its whole number (1.0 is "1"), and asks lists a selector inside a list.

    • Tests: tests/test_material_walk.py TestAnInputThatHoldsMoreThanOneChannel (seven cases).
  • 2026-12-04 -- Fixed: a managed tool is found at the version asked, and Windows' null device is no console (core_utils/app_installer.py AppInstaller.get_path, ensure, _console_can_answer, _remove_replaced). A tool was found by name alone. Every resolver asks get_path first, which took no version, so a tool cataloged at an older pin kept answering after the pin moved and ensure's install was never reached: a bumped pin never reinstalled for an existing user (the narrator qualified its tool's name with the version to get around it). get_path takes version and answers from the catalog only at that version (a tool on PATH answers any: it is the person's own); each resolver passes its pin (audio_utils/narrator.py, file_utils/mesh_convert/gltf_validator.py, _fbx2gltf.py, file_utils/uv_unwrap.py, img_utils/ktx2_encoder.py); and ensure removes the folder of the version it replaced, where that folder is one it made under the install directory. With stdin on NUL, isatty() is true on Windows, so under ops apply the consent question was printed into the JSON on stdout and its empty answer read as declined: _console_can_answer asks GetConsoleMode on the stdin handle there.

    • Tests: tests/test_app_installer.py (six new; five failed on the old code); the file passes (55, 2 skipped); the 32 modules the change reaches: 3005 passed, 1 failed, 17 skipped. The failure was a resolver test in tests/test_mesh_convert.py (TestResolveBinary) that faked a console by isatty alone: it answers through _console_can_answer now, and so does its decline twin, which had been passing on "no console" and now pins the decline; the file then passes.
  • 2026-12-04 -- Fixed: a USD material names only the maps a USD reader can open (file_utils/usd/materials.py UsdMaterials.author). An image's uri was written as the asset path as it stood, so a percent-encoded one (brick%20wall.png) named no file and a data: URI was written as a path; a texture whose image only an extension names (KTX2, WebP) raised KeyError: 'source'. The uri is percent-decoded, a data: image and an extension-only one are left out with a warning, and a texture that also has a source writes that fallback.

    • Tests: test_usd_materials.py test_an_image_is_the_file_its_uri_names and test_a_texture_whose_image_only_an_extension_names_is_left_out_and_said failed on the old code.
  • 2026-12-04 -- Changed: USD material names that spell alike stay separate prims, each keeping its name as displayName (file_utils/usd/materials.py UsdMaterials.author, usd/layers.py). "Steel A" and "Steel_A" were written to one prim, the later replacing the earlier. A prim the writer defines is now spelled by the rule the asset writer uses: the name itself when it is an identifier, else its sanitized form and eight hex of its SHA-1 (Brick wall becomes Brick_wall_9b90c375). A prim a host's exporter made is still found by the host's spelling (Material.001 as Material_001) and keeps its name; either way the name is the prim's displayName.

    • Tests: test_usd_materials.py test_names_that_spell_alike_as_prims_stay_two_materials and test_a_hosts_spelling_of_a_name_is_the_prim_written_over failed on the old code; the first replaces test_two_materials_on_one_prim_are_said, which held the merge.
  • 2026-12-04 -- Fixed: UsdMeshWriter layers pass USD's validation and keep their UVs on their corners (file_utils/usd/_usd.py). A bound mesh lacked MaterialBindingAPI; UVs and normals were called per point whenever their count equaled the point count, which scrambled an OBJ whose corners number as many as its points; a prim name kept letters outside ASCII, which USD before 24.03 does not read. write takes uv_interpolation and normal_interpolation (optional; an OBJ states faceVarying), applies the binding schema, and spells prim names in ASCII.

    • Tests: test_usd.py test_a_textured_mesh_passes_usds_validation, test_uvs_and_normals_stay_on_their_corners_when_counts_coincide and test_a_prim_name_is_one_every_usd_a_host_ships_reads failed on the old code.
  • 2026-12-04 -- Fixed: a USD asset's look layer adds opinions over the root prim instead of defining it, and an OBJ of another layout is refused (file_utils/usd/asset.py). Defining the material scope turned the look layer's root into a def, a second definition of the geometry layer's prim. An OBJ that is not triangles of a//a corners was read as other faces (three quads as four wrong triangles); it now raises ValueError naming the file.

    • Tests: test_usd_asset.py test_the_look_layer_adds_its_materials_over_the_root and test_an_obj_of_a_layout_the_reader_does_not_read_is_refused failed on the old code.
  • 2026-12-04 -- Fixed: a scoped export puts back a stored scene record that states a number JSON cannot carry (core_utils/engines/scene_export/export_snapshot.py ExportSnapshot._narrow_stored, _assemble_scene_wide, _keep_stored). The same day's fix that lets a record fail alone read the stored copy back through encode, which refuses NaN and Infinity: a scene whose stored record states one kept the narrowed copy after a scoped write, and kept the scoped copy where the whole scene's could not be written. The stored text is now put back as it was read; a narrowed copy that cannot be written ships nothing, and says so.

    • Tests: tests/test_export_snapshot.py TestAStoredCopyThatStatesNan (three cases, each failed on the old code).
  • 2026-12-04 -- Fixed: merging a record twice keeps one copy of an entry without an id (core_utils/engines/scene_export/record_transfer.py RecordTransfer.union). An entry whose merge key is missing, null or unhashable was appended on every merge. It is now told by its whole content.

    • Tests: tests/test_scene_records.py test_an_entry_without_an_id_is_merged_once (three copies on the old code).
  • 2026-12-04 -- Fixed: a rotation key that is not a number samples as not a number (math_utils/quaternion.py Quaternion.arc). It raised ZeroDivisionError in the slerp GlbReader.sample takes since the same day.

    • Tests: tests/test_quaternion.py test_a_key_that_is_not_a_number_reads_as_not_a_number.
  • 2026-12-04 -- Fixed: a USD export names a map whose file name holds a percent sign as the file is named (core_utils/engines/scene_export/scene_exporter.py _write_usd_materials). The record names a file as it is, and the USD writer percent-decodes a glTF uri since the same day, so bark%20side.png was written into the layer as bark side.png. The exporter percent-encodes the name where it builds the glTF document.

    • Tests: tests/test_scene_exporter.py test_a_map_whose_name_holds_a_percent_sign_is_named_as_the_file_is; with the snapshot, record, quaternion and USD material files: 499 passed.
  • 2026-12-04 -- Fixed: LOD switch heights are held to one per level, falling within 0..1 (file_utils/lod_chain.py LodChain.record_groups, lod_record.py LodGroupEntry.validate). record_groups wrote whatever its heights_of gave, and the record's validation passed any list. record_groups now raises ValueError naming the group (both hosts' readers already fall back to the default ladder), and validation reports a count that misses the levels or heights check_heights refuses.

    • Tests: test_lod_chain.py test_heights_that_miss_a_level_or_do_not_fall_within_the_screen_are_refused and the new test_lod_record.py (the error case) failed on the old code.
  • 2026-12-04 -- Fixed: a CAD part id no longer depends on file order when a part is named like a numbered copy (file_utils/cad_import/_cad_import.py _part_ids). Copies were numbered onto names met later, so parts a, a, a_2 became a, a_2, a_2_2 in one order and other ids in another. Every name is claimed before a copy is numbered: a, a_3, a_2. Ids change only where such a name met a numbered copy.

    • Tests: test_cad_import.py test_a_part_named_like_a_numbered_copy_keeps_its_name_in_any_order failed on the old code.
  • 2026-12-04 -- Fixed: a rotation read between two keys is a slerp along the shorter arc (file_utils/mesh_convert/glb/reader.py GlbReader.sample). A LINEAR rotation was interpolated component by component, so a 90 degree key read halfway came back at 0.92 of unit length, and a key stored as its negative (the same rotation) swung the long way round. glTF states a spherical interpolation, which Quaternion.slerp already gives.

    • Tests: test_export_verify.py test_sample_rotation_is_a_slerp_along_the_shorter_arc failed on the old code (two subtests).
  • 2026-12-04 -- Fixed: the files put into a GLB in one session build its BIN once (file_utils/mesh_convert/glb/edit.py GlbEdit.append_bin_views, _textures.py _lightmap_media). Each append rebuilt everything after the JSON chunk, so K files (a record's lightmaps, the probe, the shadow maps) copied the geometry K times. The appends are held as chunks and joined when the BIN is next read, and the lightmap re-encode reads every map from the BIN it opened instead of reading it back after each one. Twenty puts on a 200 MB BIN: 1.47 s of builds when built per put, 0.05 s built once; the written file is the same.

    • Tests: test_mesh_convert.py test_several_files_build_the_bin_once and test_several_media_lightmaps_build_the_bin_once failed on the old code (the second built it six times for four maps, now three).
  • 2026-12-04 -- Fixed: stripping baked lights drops the channels that animated them (file_utils/mesh_convert/_lightmaps.py strip_glb_baked_lights). A KHR_animation_pointer channel into a removed light pointed at nothing. It now goes with the light, with its sampler, the bytes only it read and a clip it was all of; the rest of the clip keeps playing.

    • Tests: test_mesh_convert.py test_a_channel_animating_a_dropped_light_goes_with_it failed on the old code.
  • 2026-12-04 -- Fixed: compacting a GLB leaves one whose views use a second buffer as found (file_utils/mesh_convert/glb/edit.py GlbEdit.compact_bin). The repack copied every live view out of the BIN, a view on another buffer too, whose offset then pointed at other bytes of its own file.

    • Tests: test_mesh_convert.py test_a_view_on_another_buffer_keeps_its_bytes failed on the old code.
  • 2026-12-04 -- Fixed: an external image's uri is read percent-decoded (file_utils/mesh_convert/glb/edit.py GlbEdit.image_bytes, _shadow_rigs.py _image_bytes). glTF writes a uri percent-encoded, so my%20map.png names my map.png beside the file. It was read as not there: the alpha and ORM probes left its material alone, and a shadow map held under such a name was not matched.

    • Tests: test_mesh_convert.py test_an_image_uri_is_read_percent_decoded and test_shadow_web.py test_an_external_image_is_matched_by_its_uri_percent_decoded failed on the old code.
  • 2026-12-04 -- Fixed: one record JSON cannot carry no longer stops an export (core_utils/engines/scene_export/export_snapshot.py, scene_records.py). A record's text was encoded outside the isolated write, so a payload JSON cannot carry (a key that is a tuple) raised out of ExportSnapshot.commit and skipped every later record and the handoff block; a scoped assembly raised the same way from its whole-scene comparison. That record now fails alone, left as stored and reported. A deliverable record holding NaN or Infinity was written as invalid JSON, which Unity and a browser refuse whole (in a GLB, the whole file): RecordSpec.encode and SceneRecords.put_glb_block now refuse it, naming the record.

    • Tests: test_export_snapshot.py TestEachWriteIsIsolated (four cases), test_scene_records.py test_a_deliverable_record_refuses_a_number_that_is_not_finite and test_put_glb_block_refuses_a_number_that_is_not_finite: each failed on the old code.
  • 2026-12-04 -- Fixed: an excluded record stays out of the export when the scene's stored copy cannot be decoded (core_utils/engines/scene_export/export_snapshot.py _withhold_stored). Presence was decided by what this reader made of the copy, so a copy of a newer version, or damaged text, read as none: the exclusion skipped it and it shipped on the carrier. It is cleared by presence, and the restore writes back the stored text exactly.

    • Tests: test_export_snapshot.py test_a_copy_this_reader_cannot_decode_ships_none_and_comes_back_whole failed on the old code (four subtests).
  • 2026-12-04 -- Fixed: an installed exporter module that fails to load says so (core_utils/engines/scene_export/scene_records.py SceneRecords.resolve_row). Any import failure was debug-logged as an uninstalled subsystem, so a syntax error or a broken import of its own silently dropped that tool's record. Only a module that is not installed stays quiet; any other failure is one warning naming the module and the error.

    • Tests: test_scene_record_rows.py test_an_installed_module_that_fails_to_load_warns_once failed on the old code.
  • 2026-12-04 -- Fixed: merging scenes keeps the other scene's entries that have no id (core_utils/engines/scene_export/record_transfer.py RecordTransfer.union). Every id-less entry matched this scene's first id-less one and was dropped, an arriving duplicate was kept twice, and an id that is a list raised TypeError. An entry without a usable id matches nothing and arrives; arriving entries are de-duplicated.

    • Tests: test_scene_records.py test_a_stack_entry_without_an_id_never_matches failed on the old code.
  • 2026-12-04 -- Fixed: a damaged or foreign export manifest reads as unreadable (core_utils/engines/scene_export/scene_data_sidecar.py _load_manifest). JSON that is not an object, or whose hierarchy paths are not a list of names, was returned as a manifest and crashed the hierarchy check (AttributeError, TypeError). It is skipped like text that does not parse, and the .prev baseline is tried.

    • Tests: test_scene_data_sidecar.py test_a_record_of_another_shape_reads_as_one_that_does_not_parse failed on the old code; with the three files above the four pass (259).
  • 2026-12-04 -- Fixed: a GLB rewrite that fails part way leaves the file as it was (file_utils/mesh_convert/glb/edit.py GlbEdit.write). A full rewrite opened the GLB for writing in place, so a write that failed (a full disk) left it truncated, and fbx_to_glb, usd_to_glb and GlbLods.merge returned it as a success. It is streamed into a .part beside the file and promoted once complete (FileUtils.atomic_write).

    • Tests: test_mesh_convert.py test_a_full_rewrite_that_fails_part_way_leaves_the_file_whole failed on the old code (the file was cut to 32 bytes).
  • 2026-12-04 -- Fixed: glTF validation reads the validator's report as UTF-8 and raises its documented error on a timeout (file_utils/mesh_convert/gltf_validator.py validate). The report was decoded with the system code page, so a name outside it lost the whole report (an AttributeError on Windows), and a run past TIMEOUT raised subprocess.TimeoutExpired where the docstring says RuntimeError.

    • Tests: test_mesh_convert.py TestGltfValidator (two cases; both failed on the old code).
  • 2026-12-04 -- Fixed: USD to GLB reads what the stage states: time-sampled values, hole faces, subdivision, and roughness and metallic as authored (file_utils/mesh_convert/_usd2glb.py, file_utils/usd/materials.py). A mesh or a transform held only as time samples vanished or sat at the origin: each value is read at its default, else at its first sample, and one warning names what was read that way. A face holeIndices lists is left out. A subdivision surface is written as its control cage, and that is said once. Roughness and metallic wired other than as glTF reads them (two maps, other channels, a map beside a constant) are packed into one image through UsdMaterials.read_material's new pack argument, where the roughness map's blue channel was read as metallic; without a packer the maps are left out, and that is said. The conversion's scratch (the expanded LOD layers, the packed maps) is a scoped store removed once the GLB is written, where each run left a copy of a layered stage in temp.

    • Tests: test_usd2glb.py TestWhatTheStageStates (five cases) and TestMetallicRoughness (three), test_usd_materials.py test_roughness_and_metallic_glTF_cannot_read_as_one_image_are_said: each failed on the old code; the two files pass (57).
  • 2026-12-04 -- Fixed: expanding LOD variant sets reads a layer this session holds from its file as it now is (file_utils/usd/layers.py expand_lod_variants). A held root layer, or a held layer the root depends on, whose file was rewritten (a re-export) was read stale, so its LOD sets were missed and an import kept one level. Each held layer is reloaded first, unless it holds unsaved edits, which are never discarded.

    • Tests: test_usd_layers.py test_a_layer_this_session_holds_is_read_from_the_file_it_became and test_a_held_layer_the_root_references_is_read_from_its_file_too failed on the old code (None); the file passes (17).
  • 2026-12-04 -- Changed: the FBX tick rate is stated once (file_utils/mesh_convert/_fbx_writer.py, file_utils/mesh_convert/export_fingerprint.py). The writer's FBX_TICKS_PER_SECOND and the fingerprint's are the reader's FbxFile.TICKS_PER_SECOND now, where each held its own copy of the number.

    • Tests: test_fbx_writer.py, test_gltf2fbx.py, test_export_verify.py and test_glb_lods.py pass (222).
  • 2026-12-04 -- Fixed: GLB to FBX names an animated property it does not convert (file_utils/mesh_convert/_gltf2fbx.py). A KHR_animation_pointer channel (an animated material or light property) names no node, so it fell out at the node check and the report's skipped said nothing; it is listed there now, by its pointer.

    • Tests: test_gltf2fbx.py test_a_pointer_channel_is_named_among_what_was_skipped failed on the old code (None); the file passes (37).
  • 2026-12-04 -- Fixed: a script template inserts each value exactly as given (str_utils/_str_utils.py StrUtils.replace_delimited). The fill ran one str.replace per key, so a value that spelled another placeholder (a typed value, a file path) was filled a second time, and with an empty suffix a short key ate the start of a longer one. It is one pass now: each value goes in as it is, and the longer token wins.

    • Tests: test_str.py test_replace_delimited_never_rescans_an_inserted_value and test_replace_delimited_prefers_the_longer_token failed on the old code ("A = '2'" != "A = '__B__'", '1B 1' != '2 1').
  • 2026-12-04 -- Fixed: a script not saved as UTF-8 no longer breaks a panel's script list (core_utils/handoff/script_template.py, core_utils/handoff/app_handoff.py). declared_values and declared_rows raised UnicodeDecodeError out of every listing; a declaration is ASCII, so both now read past a character that does not decode. Rendering stays strict (a replaced character inside a string literal would run a wrong script): ScriptLaunchDeliverer.render logs one error that says to save the script as UTF-8, and the send returns nothing.

    • Tests: test_bridge.py test_a_script_saved_in_another_encoding_still_lists and test_a_template_not_saved_as_utf8_is_refused_with_its_fix failed on the old code (UnicodeDecodeError).
  • 2026-12-04 -- Fixed: a folder delivery logs a subfolder it cannot make, and a file name in any script keeps its letters (core_utils/handoff/folder_delivery.py). os.makedirs sat outside the handled block, so a refused subfolder raised out of the send. sanitize_name kept ASCII only, so two files named in a non-Latin script both became Export and the second replaced the first; letters, the combining marks that ride them and digits of any script now stay, and an ASCII name comes out as before.

    • Tests: test_folder_delivery.py test_a_subfolder_that_cannot_be_made_is_a_logged_failure (FileExistsError) and test_a_name_in_any_script_keeps_its_letters ('Export', then a name without its vowel signs) failed on the old code; the file passes (17).
  • 2026-12-04 -- Fixed: an RPC client connects straight to its local plugin, never through a proxy (net_utils/rpc/client.py). urlopen sends a request through a configured proxy even when it is for 127.0.0.1: with HTTP_PROXY set, every call failed, and the bearer token and the script text went to the proxy. ping, invoke and describe now open through one proxy-free opener (RpcClient._open).

    • Tests: test_rpc.py test_a_loopback_call_never_goes_through_a_proxy failed on the old code (ping() returned False); with test_str.py, test_bridge.py, test_folder_delivery.py and test_plugin_core.py the five files pass (513, 2 skipped).

Don't miss a new pythontk release

NewReleases is sending notifications on new releases.