Repository navigation
feat(examples): add solidify-even-thickness and boolean-exact-volume - #305
Merged
Merged
Conversation
solidify-even-thickness: a strip folded at 60, 90 and 120 degrees, solidified in Simple mode (offset -1, t = 0.16). - Without use_even_offset, each fold vertex's copy moves t along the bisector of its face normals, so the shell is t*cos(phi/2) thick: 0.1386, 0.1131 and 0.0800. - With use_even_offset, the copy moves t/cos(phi/2) and the shell is exactly t thick. - Both closed forms are derived from the profile geometry and match to 3.7e-8. Exits: 4 even shell, 5 plain-shell closed form, 6 thinning floor. - --no-even exits 4 (0.0800 against 0.1600). - The ROADMAP candidate's "1/cos(theta/2)" was imprecise; the shipped line states the cos(phi/2) factor on the bend angle. boolean-exact-volume: the Boolean modifier's EXACT solver on a 2 m cube and a 2x1x1 m slab whose top face is coplanar with the cube's top. Both operands are translated and turned 18 degrees about Z. - Union, difference and intersection measure 9, 7 and 1 m^3 by the divergence theorem, to 1e-6 relative (exit 3). - Each result is a closed 2-manifold with no loose geometry (exit 4). - --float-solver exits 3 with a 7.708 m^3 union. - The floating-point solver is named 'FAST' on 4.5 and 'FLOAT' on 5.x, so the script branches on bpy.app.version. Both default runs exit 0 on Blender 4.5.11, 5.1.2 and 5.2.1. Both falsifiers are proven on 4.5.11 and 5.2.1 (boolean's also on 5.1.2). tests/smoke/run_example.py reports [PASS] for both on 5.2.1 and 4.5.11. Contact sheets are committed; every criterion passes for both. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: TMHSDigital <154358121+TMHSDigital@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds two rendered gallery examples taken from the ROADMAP candidate pool.
solidify-even-thickness
Contract: a strip folded at 60°, 90° and 120°, solidified in Simple mode with offset −1 and t = 0.16.
use_even_offset, the shell is t·cos(φ/2) thick: 0.1386, 0.1131 and 0.0800.use_even_offset, the shell is exactly t thick.Falsifier:
--no-evenexits 4 (0.0800 measured against 0.1600).boolean-exact-volume
Contract: the EXACT solver on a 2 m cube and a 2 × 1 × 1 m slab whose top face is coplanar with the cube's. Both operands are translated and turned 18° about Z.
Falsifier:
--float-solverexits 3 with a 7.708 m³ union.The floating-point solver is named
'FAST'on 4.5 and'FLOAT'on 5.x, so the script branches onbpy.app.version.'EXACT'has the same name on all versions.Evidence: live local runs
All binaries are under
.scratch/, and every run went through the single-Blender lock.--no-even--float-solverrun_example.py(both examples)Contact sheets (
docs/gallery/contact-sheets/)Wiring
examples/gallery.json, the smoke catalog andplugin.json.docs/gallery/is regenerated. The alt text and witnesses callouts matchgallery.jsoncharacter for character.Local checks:
check_site_links(133 pages, 0 failures),check_exit_code_readme,check_engine_id,check_gallery_imagesandcheck_falsifier_targetsall pass.🤖 Generated with Claude Code