Commit 6ea4ed9
feat(examples): add solidify-even-thickness and boolean-exact-volume (#305)
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.
Signed-off-by: TMHSDigital <154358121+TMHSDigital@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent 9ac66bc commit 6ea4ed9
77 files changed
Lines changed: 3570 additions & 144 deletions
File tree
- .cursor-plugin
- docs
- gallery
- armature-bend
- assets
- attribute-domain-shear
- bake-normal-high-to-low
- bmesh-gear
- boolean-exact-volume
- car-mirror-symmetry
- collision-hull-proxy
- color-attribute-wheel
- compositor-glare
- contact-sheets
- cross-version-property-delete
- curve-bevel-arc
- custom-normals-shade
- damped-track-aim
- degenerate-bevel-weld
- depsgraph-export
- driver-wave
- export-preset-axis
- gltf-export-roundtrip
- gltf-skin-roundtrip
- gn-instance-grid
- gn-modifier-inputs
- gn-sdf-remesh
- gn-sim-fountain
- gn-socket-rename
- gn-zone-iterate
- gp-lineart-contour
- grease-pencil-rosette
- image-pixels-testcard
- lattice-deform
- light-link-studio
- lightmap-uv-channel
- lod-decimate-chain
- mesh-hygiene-audit
- modular-kit-snap
- parent-inverse-orrery
- png-exr-alpha
- prop-origin-transform
- ray-cast-space
- shader-node-group
- shape-key-blend
- sky-texture-sun-elevation
- soccer-ball-goldberg
- socket-attach-points
- solidify-even-thickness
- swatch-grid
- temp-override-join
- text-version-stamp
- triangulate-tangents
- turntable
- usd-export-evaluation-mode
- uv-layer-grid
- vertex-color-ao
- vertex-weight-limit
- vse-cut-list
- vse-gamma-cross
- wave-displace
- examples
- boolean-exact-volume
- solidify-even-thickness
- tests/smoke
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
142 | 144 | | |
143 | 145 | | |
144 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
461 | | - | |
| 461 | + | |
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
| |||
686 | 686 | | |
687 | 687 | | |
688 | 688 | | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
689 | 719 | | |
690 | 720 | | |
691 | 721 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
171 | | - | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
172 | 173 | | |
173 | 174 | | |
174 | 175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
1050 | 1050 | | |
1051 | 1051 | | |
1052 | 1052 | | |
1053 | | - | |
| 1053 | + | |
1054 | 1054 | | |
1055 | 1055 | | |
1056 | 1056 | | |
| |||
Loading
Loading
0 commit comments