You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 34cdccb
Browse filesBrowse the repository at this point in the historyBrowse files
fix: gn-modifier-inputs presentation, cubes no longer interpenetrate
Layout and render only: XS overlapped the 2 m and 3 m cubes by 0.2 m; they
now stand 0.5 m apart. Frontal camera, duller finish. The check reads only
Z extents; contract and exit codes unchanged on 4.5.11, 5.1.2 and 5.2.1.
Also regenerates the gallery index for all four items.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: TMHSDigital <154358121+TMHSDigital@users.noreply.github.com>
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -562,7 +562,7 @@ verts = 72, faces = 54, and `Set Material` carries the lime accent.
562
562
</tr>
563
563
<tr>
564
564
<tdwidth="46%"valign="middle">
565
-
<ahref="examples/gn-modifier-inputs/"><imgsrc="examples/gn-modifier-inputs/preview.webp"alt="GN modifier inputs: three cubes in teal, copper, and coral scaled to 1, 2, and 3 meters by a shared Geometry Nodes tree, proving per-modifier Scale writes land on 5.2 RNA and on 4.5 dict assignment" /></a>
565
+
<ahref="examples/gn-modifier-inputs/"><imgsrc="examples/gn-modifier-inputs/preview.webp"alt="GN modifier inputs: three separate cubes in teal, copper, and coral scaled to 1, 2, and 3 meters by a shared Geometry Nodes tree, proving per-modifier Scale writes land on 5.2 RNA and on 4.5 dict assignment" /></a>
<metaproperty="og:image:alt" content="Three boxes stepping up in size from a small teal cube to an orange block to a large red block." />
19
+
<metaproperty="og:image:alt" content="Three separate cubes stepping up in size from left to right: a small teal cube, an orange block and a large red block." />
<metaname="twitter:image:alt" content="Three boxes stepping up in size from a small teal cube to an orange block to a large red block." />
25
+
<metaname="twitter:image:alt" content="Three separate cubes stepping up in size from left to right: a small teal cube, an orange block and a large red block." />
26
26
<style>
27
27
/* fonts are deployed by the landing build (docs/fonts/) */
<p>Per-modifier Geometry Nodes Float inputs on a shared tree — 4.5/5.1 write mod[identifier], 5.2 writes mod.properties.inputs.Socket_1.value.</p>
269
269
</header>
270
270
<mainid="main">
271
-
<buttonclass="detail-hero" id="heroZoom" type="button" aria-label="View full size: Three boxes stepping up in size from a small teal cube to an orange block to a large red block.">
272
-
<imgsrc="../assets/gn-modifier-inputs-hero.webp" alt="Three boxes stepping up in size from a small teal cube to an orange block to a large red block." width="1280" height="720" />
271
+
<buttonclass="detail-hero" id="heroZoom" type="button" aria-label="View full size: Three separate cubes stepping up in size from left to right: a small teal cube, an orange block and a large red block.">
272
+
<imgsrc="../assets/gn-modifier-inputs-hero.webp" alt="Three separate cubes stepping up in size from left to right: a small teal cube, an orange block and a large red block." width="1280" height="720" />
273
273
</button>
274
274
<pclass="zoom-hint">Rendered headless by the example itself — click to zoom.</p>
275
275
<divclass="callout"><spanclass="tag">witnesses</span> The 5.1 dict form raises TypeError on 5.2 rather than silently no-opping; RNA properties are AttributeError on 4.5. Readback and evaluated Z-extent match written scales 1/2/3.</div>
@@ -281,6 +281,7 @@ <h1>gn-modifier-inputs</h1>
281
281
<p>A runnable example that attaches one Geometry Nodes tree to three cubes and writes a per-modifier Float <strong>Scale</strong> input through the version-appropriate API. The tree scales a 1 m cube by that value and lifts it onto the floor. Evaluated Z-extent must match the written scale (1 / 2 / 3). That is the closed form: if the write did not land, the three cubes collapse to the socket default and the extents are no longer distinct.</p>
282
282
<p><strong>What it witnesses:</strong> Blender 5.2 removed ID-property assignment on <code>NodesModifier</code>. <code>mod["Socket_1"] = 2.0</code> raises <code>TypeError</code> rather than silently no-opping. 4.5 LTS and 5.1 still require that dict form; <code>mod.properties</code> does not exist there (<code>AttributeError</code>). 5.2+ writes <code>mod.properties.inputs.Socket_1.value</code>. After the write, the depsgraph must be updated or <code>evaluated_get</code> still sees the previous scale.</p>
<p>Staging: the carriers now stand 0.5 m apart (<code>XS</code>). The old spacing overlapped the 2 m and 3 m cubes by 0.2 m. The check reads only each cube's evaluated Z extent and zmin, never X, so this is layout only. The camera looks from the front, so small to large reads left to right, and a duller finish keeps the tops from blowing out.</p>
284
285
<h2>Run</h2>
285
286
<pre><code># Cheap correctness check (no render) — the CI check:
<imgsrc="../assets/gn-modifier-inputs-hero.webp" alt="Three boxes stepping up in size from a small teal cube to an orange block to a large red block." />
724
+
<imgsrc="../assets/gn-modifier-inputs-hero.webp" alt="Three separate cubes stepping up in size from left to right: a small teal cube, an orange block and a large red block." />
<imgsrc="assets/gn-modifier-inputs-hero.webp" alt="Three boxes stepping up in size from a small teal cube to an orange block to a large red block." loading="lazy" decoding="async" />
456
+
<imgsrc="assets/gn-modifier-inputs-hero.webp" alt="Three separate cubes stepping up in size from left to right: a small teal cube, an orange block and a large red block." loading="lazy" decoding="async" />
<imgsrc="assets/usd-export-evaluation-mode-hero.webp" alt="Two grey spheres: a coarse, flat-shaded one on the left and a smooth, subdivided one on the right." loading="lazy" decoding="async" />
863
+
<imgsrc="assets/usd-export-evaluation-mode-hero.webp" alt="Two steel balls resting on the floor: a coarse, flat-shaded one on the left and a smooth, subdivided one on the right." loading="lazy" decoding="async" />
<imgsrc="assets/campfire-hero.webp" alt="A campfire of crossed logs in a teepeeinside a ring of grey stone blocks." loading="lazy" decoding="async" />
940
+
<imgsrc="assets/campfire-hero.webp" alt="A campfire of crossed logs in a teepee, embers in the ash, inside a two-course ring of rounded grey fieldstones." loading="lazy" decoding="async" />
941
941
</a>
942
942
<divclass="card-body">
943
943
<h2><ahref="campfire/">campfire</a></h2>
944
944
<pclass="teaches">A procedural campfire through UVs, bake, LOD, collider, and Unity glTF, asserting recomputed budgets rather than an API contract.</p>
945
-
<pclass="witnesses"><spanclass="tag">witnesses</span> Recomputed: 2200 tris, three materials with 216 wood, 48 ash and 1304 stone faces, UVs in 0..1 with zero AABB overlap, outer AABB 0.807×0.808×0.404 m, LOD ratios in band, convex collider 198 tris, hygiene 0, 14 grounded bottom stones, teepee kiss 0.00001 m, course seat 0, non-empty glTF. --skip-decimate exits 9; --stray-vert 15; --lift-z/--short-stones 16; --float-logs 17; --gap-courses 18.</p>
945
+
<pclass="witnesses"><spanclass="tag">witnesses</span> Recomputed: 2760 tris, three materials with 216 wood, 48 ash and 1416 stone faces, UVs in 0..1 with zero AABB overlap, outer AABB 0.802×0.802×0.404 m, LOD ratios in band, convex collider 162 tris, hygiene 0, 14 grounded bottom stones, teepee kiss 0.00034 m, course seat 0, stone variation 0.01269 m, non-empty glTF. --skip-decimate exits 9; --stray-vert 15; --lift-z/--short-stones 16; --float-logs 17; --gap-courses 18; --uniform-stones 20.</p>
<imgsrc="assets/iron-cauldron-hero.webp" alt="A black iron cauldron hanging from a tripod of wooden poles." loading="lazy" decoding="async" />
1160
+
<imgsrc="assets/iron-cauldron-hero.webp" alt="A round-bellied black iron cauldron hanging by its bail from a tripod of wooden poles." loading="lazy" decoding="async" />
<pclass="teaches">A procedural hanging iron cauldron with a bulged open pot, bail, and timber tripod through UVs, bake, LOD, collider, and Unity glTF, asserting recomputed budgets rather than an API contract.</p>
1165
-
<pclass="witnesses"><spanclass="tag">witnesses</span> Recomputed: 3664 tris, two materials with 224 wood and 1768 metal faces, UVs in 0..1 with zero AABB overlap, outer AABB 0.987×0.961×0.860 m, pot–leg clearance 0.046 m, 3 coaxial ferrules at zmin 0, ferrule bite −0.00185 m, hook-bail join 0, mesh hygiene all zero, LOD ratios in band, convex collider 250 tris, non-empty glTF. --skip-decimate exits 9; --stray-vert 15; --lift-z/--short-legs 16; --float-hook 17; --pipe-ferrule 18.</p>
1164
+
<pclass="teaches">A procedural hanging iron cauldron with a round-bellied pot, a bail threaded through flat ear rings, and a timber tripod through UVs, bake, LOD, collider, and Unity glTF, asserting recomputed budgets rather than an API contract.</p>
1165
+
<pclass="witnesses"><spanclass="tag">witnesses</span> Recomputed: 3664 tris, two materials with 224 wood and 1768 metal faces, UVs in 0..1 with zero AABB overlap, outer AABB 0.987×0.961×0.860 m, pot–leg clearance 0.053 m, pot base radius 0.075 m, 3 coaxial ferrules at zmin 0, ferrule bite −0.00185 m, hook-bail join 0, bail threads both ear rings, mesh hygiene all zero, LOD ratios in band, convex collider 246 tris, non-empty glTF. --skip-decimate exits 9; --stray-vert 15; --lift-z/--short-legs 16; --float-hook/--edge-on-ears 17; --pipe-ferrule 18; --pointed-pot 19.</p>
Copy file name to clipboardExpand all lines: examples/gallery.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -139,7 +139,7 @@
139
139
"name": "gn-modifier-inputs",
140
140
"dir": "examples/gn-modifier-inputs",
141
141
"teaches": "Per-modifier Geometry Nodes Float inputs on a shared tree — 4.5/5.1 write mod[identifier], 5.2 writes mod.properties.inputs.Socket_1.value.",
142
-
"alt": "Three boxes stepping up in size from a small teal cube to an orange block to a large red block.",
142
+
"alt": "Three separate cubes stepping up in size from left to right: a small teal cube, an orange block and a large red block.",
143
143
"witnessesFix": "The 5.1 dict form raises TypeError on 5.2 rather than silently no-opping; RNA properties are AttributeError on 4.5. Readback and evaluated Z-extent match written scales 1/2/3.",
0 commit comments