Spike boolean-weld round 4: UV0 seam protection, end-state guard, results, renders and note
- Weld steps never drag UVs across a hull UV0 seam: seam crossings and seam vertices are protected like corners, flips stay inside one source UV island. - Short seam merge and slide are judged by their end state (local worst angle), per target r4's wording. - Stand-in UV0 on the hand cage (export_uv.py, hull_uv.obj); bevel strip UVs measured on loop strips only. - Note: round-4 section with the flat-split before/after pair first, tables per call, open questions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
@ -7,6 +7,247 @@ Agent `spike-bt-boolean-weld`, 2026-10-12. A spike, not a cut: the code under `s
|
|||
Her words, the spec of the rule: "the surface with the tighter curve defines the silhouette of the cut, and the spare
|
||||
vertices that come from the flatter surface all get merged away."
|
||||
|
||||
## Round 4: Self's calls (a) to (f) under target r4
|
||||
|
||||
Agent `hands-bt-weld-spike-r4`, session `self-2026-10-13-ag`, 2026-10-13. Target r4 (`brush-tree:target:r4`, doc
|
||||
@ 40faab6) is in force; rulings `weld-owner-local-corners-kept`, `brush-modes-add-subtract-split`,
|
||||
`weld-runs-as-live-result-object`, `blender-evaluates-cages`, `paint-after-commit`; follow-up
|
||||
`aetheria-release:follow_up:weld-result-uv0-ownership`.
|
||||
|
||||
How it was run (all on Starfire, Windows; one job at a time):
|
||||
|
||||
- **Input:** Blender 5.2.2's evaluated mesh without the Bevel, as before (`fixtures/hull_nobevel.obj`). For UVs,
|
||||
`py/export_uv.py` gives the hand cage a stand-in UV0 (Smart UV Project on the cage, 66 deg, mirrored half offset
|
||||
by 1 in U; she has no unwrap yet: the cage's `UVMap` layer was there but unused) and exports the evaluated mesh with
|
||||
per-corner UVs (`fixtures/hull_uv.obj`). Its positions equal the fixture's to 2e-7 (the OBJ's 7 decimals): 3,010
|
||||
vertices, 3,008 quads, 11 UV islands. Nothing was saved to any .blend.
|
||||
- **Kernel:** boolmesh 0.2.1 through the spike driver, now with `add` (union).
|
||||
- **CDT:** the driver's new `cdt` subcommand over **spade 2.15.1**. Its crate metadata reads
|
||||
`license = "MIT OR Apache-2.0"` (`Cargo.toml` of the downloaded crate; `cargo info spade` agrees). Settings:
|
||||
angle limit 20 deg, `keep_constraint_edges()` (no constraint edge is split), `exclude_outer_faces(true)`. The driver
|
||||
asserts that spade keeps the input vertices in order and unmoved. 177 calls, all `refinement_complete`, 1,051
|
||||
Steiner points. Triangle is gone from the spike: `py/round3.py` is deleted and `py/round4.py` replaces it.
|
||||
- **Weld:** `py/round4.py` with guard floor 5 deg; `py/owner_weld.py` without the `snap` kind (b).
|
||||
- **Finishing and renders:** `py/render_blender.py` headless, the cage's own Bevel and Weighted Normal settings
|
||||
(0.001, one segment, clamp overlap on), Workbench. Loop edges and hull crease edges carry bevel weight 1; brush
|
||||
edges carry none in these renders (see the add-mode note).
|
||||
- **Tables:** `spikes/boolean-weld/results/round4/` (`table4.md`, `measures4.json`, `bevel_uv.json`).
|
||||
|
||||
### (a) Slide onto the seam: flat split before and after
|
||||
|
||||
Look at these first: same pipeline (short seam merge, flips, spade cap CDT), without and with the slide.
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
What the slide does, as built:
|
||||
|
||||
- A hull vertex H, never a crease vertex, a corner or a UV0 seam vertex, whose own edges cross the seam at
|
||||
consecutive seam vertices C(H), slides inside its own surface to the nearest point M of the seam between them,
|
||||
if that is closer than the bevel width. C(H) merge into it, so the seam passes through H's new position.
|
||||
- M lies on the intersection, so the seam stays on the plane (off-plane 0 in every row). In the other piece of the
|
||||
split (where H is absent) the first C(H) vertex moves to M and the rest merge into it. The two seams stay identical
|
||||
(crack 0.0).
|
||||
- Every operation is judged on its end state over both pieces: no touched face inverts, and the worst angle over
|
||||
the touched faces (deleted ones included) does not end below 5 deg if it got worse. Round 3's per-step guard
|
||||
refused all 7 candidates on the split, because the first step (moving H) flattens a face that the merges then
|
||||
delete. The short seam merge now uses the same guard.
|
||||
- Round 3's diagnosis was half wrong. The split's 0.68 deg needle is two boolean-inserted seam vertices 0.00034
|
||||
apart (crossings of two edges of one hull vertex), not a hull vertex on a seam vertex. That hull vertex lies on the
|
||||
removed side, in the other piece. The short merge (round 3's call, now with the end-state guard) or the slide
|
||||
removes it.
|
||||
|
||||
| flat split | variant | hull slivers | hull worst deg | hull p5 | cap slivers | cap worst | seam-adjacent edges < bevel width | shortest seam-adjacent edge | crack |
|
||||
|---|---|---|---|---|---|---|---|---|---|
|
||||
| panel split, subtract piece | naive | 37 | 0.68 | 3.9 | 60 | 0.058 | 15 | 0.00026 | 0 |
|
||||
| | before (no slide) | 23 | 1.37 | 5.7 | 6 | 7.6 | 6 | 0.00030 | 0 |
|
||||
| | after (slide) | 19 | 1.37 | 6.8 | 8 | 6.8 | 4 | 0.00030 | 0 |
|
||||
| panel split, intersect piece | before | 16 | 2.51 | 6.7 | 6 | 7.6 | 5 | 0.00079 | 0 |
|
||||
| | after | 18 | 2.51 | 5.6 | 8 | 6.8 | 5 | 0.00079 | 0 |
|
||||
| crease box, subtract piece | naive | 22 | 0.38 | 3.7 | 22 | 0.033 | 12 | 1.5e-5 | 0 |
|
||||
| | before | 12 | 2.36 | 6.8 | 0 | 6.9 | 6 | 1.3e-4 | 0 |
|
||||
| | after | 9 | 2.51 | 7.3 | 0 | 7.4 | 1 | 9.9e-4 | 0 |
|
||||
| crease box, intersect piece | before | 10 | 1.40 | 7.1 | 0 | 6.9 | 5 | 1.5e-4 | 0 |
|
||||
| | after | 7 | 2.08 | 7.3 | 0 | 7.4 | 0 | 1.0e-3 | 0 |
|
||||
|
||||
- **Moves:** split 4 slides (10 seam vertices merged), crease box 3 (6 merged). The largest move is 0.00087 on the
|
||||
split and 0.00084 on the crease box, below the 0.001 bevel width. Each moved vertex stays on its own hull edges.
|
||||
- **Without UV0 seam protection** the split took 5 slides and the subtract piece reached worst 2.1 deg, 2
|
||||
short edges. The extra slide sat on a UV0 seam and tore the UVs (stretch 820x), so the protected run is the one
|
||||
reported. Geometry and UV seams compete at that one spot.
|
||||
- **Render:** the slide removes the dark smear at the lower end of the seam. A light wedge remains in the middle.
|
||||
It sits where seam-adjacent edges stay under the bevel width and the overlap clamp narrows the groove.
|
||||
- **Her reading to confirm:** the moved vertices are the hull's own (the owner's) on a flat split. They keep their
|
||||
identity and leave their position by under the bevel width. Her words were "so they survive". The pair above is
|
||||
for her eye.
|
||||
|
||||
### (b) No snapping on any stretch
|
||||
|
||||
`owner_weld.py` no longer has the `snap` kind or its knobs. Along-loop merges (`loop`) and, where the cutter
|
||||
owns, `ring` merges remain.
|
||||
|
||||
| case | variant | hull slivers | hull worst | silhouette dev max % | corners kept |
|
||||
|---|---|---|---|---|---|
|
||||
| ownership switch r 0.08 | round 3 (snap on hull stretches) | 53 | 1.2e-6 | 0.323 | 4 / 4 |
|
||||
| | owner-r4 (no snap) | 44 | 1.2e-6 | 0.0196 | 4 / 4 |
|
||||
| | r4 (+ slide, flips, facet CDT) | 23 | 0.144 | 0.0196 | 4 / 4 |
|
||||
| gun port 16 | owner-r4 | 5 | 5.09 | 0.0198 | |
|
||||
| | r4 | 4 | 5.40 | 0.0198 | |
|
||||
|
||||
- The switch probe's loop no longer moves on hull-owned stretches: 0.32 % to 0.0196 %. The 0.0196 % is the
|
||||
cutter-owned `loop` merges, as in round 1.
|
||||
- The switch keeps a needle on the owner side (0.14 deg after flips). The port is unchanged.
|
||||
|
||||

|
||||

|
||||
|
||||
### (c) spade replaces Triangle
|
||||
|
||||
- spade caps match or beat round 3's Triangle caps:
|
||||
- split: cap worst 0.058 to 6.8 to 7.6 deg (round 3, Triangle: 5.5), cap slivers 4 to 8;
|
||||
- crease box: cap slivers 0, cap worst 6.9 to 7.4 deg (round 3: 3 slivers, 0.71 deg).
|
||||
- No seam vertex was moved or split (driver assertion; seam off-plane 0; crack 0).
|
||||
- Licence: MIT OR Apache-2.0, quoted above. It satisfies `no-unownable-tools-in-loop`.
|
||||
|
||||
### (d) Planar brush facets re-triangulated
|
||||
|
||||
Each planar brush facet the hull trimmed (one holding a loop edge) is re-triangulated in its own plane by spade.
|
||||
Its boundary edges (loop and brush edges) are constraints, with interior Steiner points only. No boundary edge
|
||||
was lost in any case (`constraint_edges_missing` 0), so loop and brush edge weights survive.
|
||||
|
||||
| case | variant | brush slivers | brush worst | brush p5 | seam-adjacent edges < bw |
|
||||
|---|---|---|---|---|---|
|
||||
| box across ridge | naive | 48 | 0.070 | 0.41 | 4 |
|
||||
| | r4 (facet CDT, Steiner inside only) | 48 | 0.19 | 0.47 | 3 |
|
||||
| | r4 + split brush edges (variant) | 5 | 4.91 | 18.1 | 5 |
|
||||
| box in flank | naive / r4 / split variant | 1 / 0 / 0 | 0.29 / 6.9 / 13.7 | | 0 |
|
||||
| add box | naive / r4 / split variant | 4 / 1 / 0 | 3.0 / 5.0 / 17.8 | | 0 |
|
||||
| switch (cylinder walls) | owner-r4 / r4 / split variant | 11 / 16 / 36 | 0.06 / 0.30 / 0.30 | | 16 / 22 / 28 |
|
||||
|
||||
- **As called, (d) does not fix the ridge box.** Its 48 slivers are fans from a dense trimmed loop edge to the two
|
||||
ends of one long brush edge. Under `keep_constraint_edges` no Steiner point may land on that edge, so spade added
|
||||
only 3 points.
|
||||
- **The variant** puts evenly spaced collinear points on long brush edges (never loop edges), shared by both facets
|
||||
on that edge. It removes them: 48 to 5 slivers, worst 4.9 deg. The edge stays where it is and both halves keep its
|
||||
weight. The neighbouring untrimmed facet is re-triangulated too.
|
||||
- **On the curved cutters' planar wall quads it makes things worse** (switch 11 to 16 to 36 slivers), and more
|
||||
seam-adjacent edges fall under the bevel width. Those quads are narrow strips, and the sliver test flags any
|
||||
triangulation of them.
|
||||
|
||||

|
||||

|
||||

|
||||
|
||||
### (e) Add mode
|
||||
|
||||
Cases: an oriented box raised panel (half-width 0.025, 0.02 proud) at the flank box's placement, and a 16-segment
|
||||
cylinder boss (r 0.015, 0.02 proud) at the gun port.
|
||||
|
||||
| case | variant | hull slivers | hull worst | brush slivers | brush worst | seam-adjacent edges < bw | corners kept |
|
||||
|---|---|---|---|---|---|---|---|
|
||||
| add box | naive | 10 | 0.44 | 4 | 3.0 | 0 | |
|
||||
| | owner-r4 | 10 | 0.44 | 2 | 3.0 | 0 | 4 / 4 |
|
||||
| | r4 | 4 | 2.37 | 1 | 5.0 | 0 | 4 / 4 |
|
||||
| add cylinder | naive | 19 | 0.11 | 16 | 0.15 | 6 | |
|
||||
| | owner-r4 | 4 | 3.92 | 0 | 7.6 | 0 | |
|
||||
| | r4 | 4 | 5.47 | 0 | 7.8 | 0 | |
|
||||
|
||||
- **The same rule holds on the union loop.** The hull owns every stretch of the box (28 hull-owned loop vertices,
|
||||
its 4 corners protected) and the cylinder owns its loop (38 / 38), exactly as for subtract.
|
||||
- **The concave loop's bevel:** 25 strips on the box loop and 28 on the cylinder loop, none collapsed, no edge
|
||||
under the bevel width, so the clamp does not narrow it.
|
||||
- **The render's box walls are smooth-shaded into the floor**, a dark gradient. The brush's own edges carry no
|
||||
weight in this render, and Weighted Normal smooths across the 90 deg box edges. Production gives brush edges
|
||||
their row weight (`bevel-weights-carry`). This is a render-setup gap, not a weld result.
|
||||
|
||||

|
||||

|
||||
|
||||
### (f) UV0 carry-through
|
||||
|
||||
The operator asked: "Isn't every face present in either mesh operand?"
|
||||
|
||||
- **Yes, out of the boolean.** Every one of every naive result's faces (4,404 to 6,238 per mesh, 11 meshes) is a
|
||||
fragment of one operand face: a hull quad or a planar brush facet. Each takes its UVs exactly by barycentric
|
||||
interpolation in that face. boolmesh carries only one per-corner scalar, so the spike rebuilds UVs from face
|
||||
provenance plus position. Manifold would carry UVs as properties.
|
||||
- **After the weld, some faces are no longer single-face fragments.** Merges, slides and flips join corners from
|
||||
two neighbouring operand faces: 5 to 88 hull faces per mesh (`not_fragments_hull`). Each corner still lies on the
|
||||
hull surface and takes its UV from the operand face it lies on.
|
||||
- With UV0 seams protected, their stretch stays within 0.25x to 3.9x of the hull's density on the panel split, box
|
||||
cut-ins and adds. The crease box's intersect piece has one face nearly collapsed in UV (sigma_min 3e-5). Before protection the split reached 820x.
|
||||
- The switch (88x) and the crease notch (109x) still show it: cutter-owned `loop` and `ring` merges there pull a
|
||||
corner across a UV seam that no protected vertex marks.
|
||||
- **Hull UV0 islands:** unchanged in count on the gun port, box cut-ins, adds and the switch (11 of 11). Hull-side UV
|
||||
flips are 0 everywhere except the crease box's intersect piece (1).
|
||||
- The crease box's pieces gain islands: 11 source islands appear as 14 and 4 in place of 11 and 3. Some welded
|
||||
faces there no longer share UVs with their neighbours along an edge.
|
||||
- Not solved: the protection covers seam crossings and seam vertices, not every corner that a merge pulls into
|
||||
another island's face.
|
||||
- **Brush-side UV flips** (58 to 433) are subtract and split caps whose faces are reversed relative to the operand
|
||||
face. Their UVs are mirrored relative to the face. A brush chart for a cut wall needs a mirrored placement or a
|
||||
flip at assignment.
|
||||
- **Split caps:** both pieces' caps are fragments of the same cutter face, so carried UVs coincide exactly (max
|
||||
difference 1e-15) and the two caps overlap in UV0. `uv-bar` wants unique UV0, so one cap's chart must be placed
|
||||
apart. That is a placement rule, and the follow-up's question.
|
||||
- **Bevel strips** (`bmesh.ops.bevel`, the modifier's own BM bevel, with its settings, on a copy; loop strips only):
|
||||
- Every strip on every mesh takes the hull side's UVs (spans: hull 100 %, including hull-to-cap strips on
|
||||
splits). That holds wherever this spike looked, though BMesh documents no rule for which side a strip takes.
|
||||
- Stretch, relative to the hull's density: the narrow direction is compressed (sigma_min median 0.46 to 0.81;
|
||||
p5 0.22 to 0.67). The long direction is near 1 (sigma_max median 0.95 to 1.22; p95 1.05 to 2.9).
|
||||
- Outliers: 19.8 on the split's intersect piece, 96 to 156 on the crease box, at strips beside the welded faces
|
||||
above. No strip collapsed except 1 on the crease box.
|
||||
- So strips need no UV placement of their own. They inherit a slightly compressed copy of the hull chart, which a
|
||||
livery mask sampling UV0 will show as the hull's paint running into the groove.
|
||||
- The one measure that failed: the switch's owner-r4 mesh returned zero density (`collapsed` 80 of 80). It is a
|
||||
measuring fault on that mesh; its r4 row is normal.
|
||||
|
||||

|
||||

|
||||
|
||||
### Did each call hold
|
||||
|
||||
- (a) Built and measured. The split's needle goes (0.68 to 1.37 deg; edges under the bevel width 15 to 4) and
|
||||
the crease box's short edges go (12 to 1 and 0). It is not uniform yet: one slide is refused to keep UV0 whole, and
|
||||
the light wedge remains. Her eye decides the reading.
|
||||
- (b) Held. The loop no longer moves on hull stretches.
|
||||
- (c) Held. spade (MIT OR Apache-2.0) replaces Triangle and does as well or better.
|
||||
- (d) Held as specified but does not fix the ridge box. It needs brush edges split collinearly (variant measured:
|
||||
48 to 5 slivers).
|
||||
- (e) Held. The rule and corners work on the union loop, and its concave bevel is clean.
|
||||
- (f) Answered yes for the boolean. The weld must not move UVs across UV0 seams: partly solved here.
|
||||
|
||||
### Open questions for Self (round 4), with a recommendation each
|
||||
|
||||
1. **Brush edges split for the CDT.** May the facet CDT put collinear points on a brush edge (never a loop or crease
|
||||
edge), shared by both facets, each half keeping the weight? Recommendation: yes for planar brush facets only,
|
||||
with a minimum spacing near the loop's. It is the only measured fix for the ridge box, and it moves no surface. Do
|
||||
not apply it to curved-cutter wall quads; it worsened them.
|
||||
2. **UV0 seams as protected features.** Should a loop vertex on a UV0 seam, and a hull UV0 seam vertex, be
|
||||
protected like corners for every weld step (merges, slide, flips)? Recommendation: yes, and extend it to
|
||||
cutter-owned `loop` and `ring` merges, which still tear UVs on the switch and the notch. Her unwrap is authored
|
||||
state, and the weld must not cut through it. This costs one slide on the split.
|
||||
3. **Split caps and reversed cut walls in UV0.** Recommendation: give each brush a UV chart (`brushes-own-surfaces`)
|
||||
and place the intersect piece's cap as a mirrored copy in its own tile. Then a carried cap UV is never shared, and
|
||||
a cut wall's mirrored winding is fixed at placement, not by the weld. That answers the follow-up's "who owns UV0"
|
||||
for created faces: the brush's chart. The hull's UV0 rides through by interpolation, so no unwrap after the weld
|
||||
is needed.
|
||||
4. **The guard.** Round 4 judges compound operations by their end state, with a local worst-angle rule (never
|
||||
ending below 5 deg if it got worse). A per-step guard refuses operations whose intermediate state is degenerate.
|
||||
Recommendation: adopt the end-state guard in the weld's spec. It is target r4's own wording, "drops the band's
|
||||
worst angle below the floor".
|
||||
5. **Her reading of "so they survive".** The split pair at the top of this section shows owner (hull) vertices
|
||||
moved by under the bevel width. Recommendation: ask her with that image. If she says no, the slide applies only to
|
||||
the yielding side, and the short merge alone takes the needle (the before image).
|
||||
|
||||
What remains unmeasured:
|
||||
|
||||
- Manifold's property carry (UVs through the kernel).
|
||||
- A real unwrap of hers in place of the stand-in.
|
||||
- The light wedge's exact clamp edges on the split.
|
||||
|
||||
## Round 3: Self's calls and ruling weld-owner-local-corners-kept
|
||||
|
||||
Inputs to this round:
|
||||
|
|
|
|||
BIN
docs/research/spike-boolean-weld/r4_addbox_r4.jpg
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
docs/research/spike-boolean-weld/r4_addcyl_r4.jpg
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
docs/research/spike-boolean-weld/r4_adduv_r4.jpg
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
docs/research/spike-boolean-weld/r4_boxflank_r4.jpg
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
docs/research/spike-boolean-weld/r4_boxridge_r4.jpg
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
docs/research/spike-boolean-weld/r4_boxridgewire_r4.jpg
Normal file
|
After Width: | Height: | Size: 54 KiB |
BIN
docs/research/spike-boolean-weld/r4_crease_r4.jpg
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
docs/research/spike-boolean-weld/r4_port_r4.jpg
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
docs/research/spike-boolean-weld/r4_split_r4.jpg
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
docs/research/spike-boolean-weld/r4_splituv_r4.jpg
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
docs/research/spike-boolean-weld/r4_splitwide_r4.jpg
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
docs/research/spike-boolean-weld/r4_splitwire_r4.jpg
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
docs/research/spike-boolean-weld/r4_switch_r4.jpg
Normal file
|
After Width: | Height: | Size: 32 KiB |
18050
spikes/boolean-weld/fixtures/hull_uv.obj
Normal file
15
spikes/boolean-weld/py/compose4.py
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
"""Compose render sheets: <case>_<tag>.png files side by side per case, labelled, saved as JPEG.
|
||||
Usage: compose4.py <render-dir> <out-dir> [prefix]"""
|
||||
import sys, os
|
||||
from PIL import Image, ImageDraw
|
||||
rd, out = sys.argv[1], sys.argv[2]; pre = sys.argv[3] if len(sys.argv) > 3 else ''; os.makedirs(out, exist_ok=True)
|
||||
rows = {}
|
||||
for f in sorted(x for x in os.listdir(rd) if x.endswith('.png')):
|
||||
case, tag = f[:-4].rsplit('_', 1); rows.setdefault(case, []).append((tag, f))
|
||||
for case, items in rows.items():
|
||||
ims = [Image.open(os.path.join(rd, f)).convert('RGB') for t, f in items]
|
||||
W = sum(i.width for i in ims); H = max(i.height for i in ims) + 28
|
||||
c = Image.new('RGB', (W, H), (255, 255, 255)); d = ImageDraw.Draw(c); x = 0
|
||||
for (t, f), im in zip(items, ims):
|
||||
c.paste(im, (x, 28)); d.text((x + 8, 6), f'{case}: {t}', fill=(0, 0, 0)); x += im.width
|
||||
c.save(os.path.join(out, pre + case + '.jpg'), quality=82); print(case, [t for t, f in items])
|
||||
27
spikes/boolean-weld/py/export_uv.py
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
"""Round 4: stand-in UV0 on the hand cage (Smart UV Project on the cage, mirrored half offset by 1 in U), then export
|
||||
Blender's evaluated mesh (Mirror + Subdivision, Bevel and Weighted Normal off) with per-corner UVs. Never saved."""
|
||||
import bpy, sys, math
|
||||
d = sys.argv[-1]
|
||||
cage = bpy.data.objects['Dexter Quiet Cage']
|
||||
print('MODS', [(m.type, m.name) for m in cage.modifiers], 'UVLAYERS', [u.name for u in cage.data.uv_layers])
|
||||
for m in cage.modifiers:
|
||||
if m.type in ('BEVEL', 'WEIGHTED_NORMAL'): m.show_viewport = False; m.show_render = False
|
||||
if m.type == 'MIRROR': m.use_mirror_u = False; m.offset_u = 1.0; print('MIRROR uv', m.use_mirror_u, m.offset_u)
|
||||
if m.type == 'SUBSURF': print('SUBSURF', m.levels, m.render_levels, m.uv_smooth, getattr(m, 'use_limit_surface', None))
|
||||
vl = bpy.context.view_layer
|
||||
for o in vl.objects: o.select_set(False)
|
||||
vl.objects.active = cage; cage.select_set(True)
|
||||
if not cage.data.uv_layers: cage.data.uv_layers.new(name='UVMap')
|
||||
bpy.ops.object.mode_set(mode='EDIT'); bpy.ops.mesh.select_all(action='SELECT')
|
||||
bpy.ops.uv.smart_project(angle_limit=math.radians(66), island_margin=0.02)
|
||||
bpy.ops.object.mode_set(mode='OBJECT')
|
||||
dg = bpy.context.evaluated_depsgraph_get(); src = cage.evaluated_get(dg); me = src.to_mesh()
|
||||
uv = me.uv_layers.active.data
|
||||
with open(d + '/hull_uv.obj', 'w') as f:
|
||||
for v in me.vertices:
|
||||
p = cage.matrix_world @ v.co; f.write(f"v {p.x:.7f} {p.y:.7f} {p.z:.7f}\n")
|
||||
for l in me.loops: f.write(f"vt {uv[l.index].uv.x:.9f} {uv[l.index].uv.y:.9f}\n")
|
||||
for poly in me.polygons:
|
||||
f.write('f ' + ' '.join(f'{me.loops[li].vertex_index + 1}/{li + 1}' for li in poly.loop_indices) + '\n')
|
||||
print('EXPORTED', len(me.vertices), len(me.polygons), 'loops', len(me.loops))
|
||||
src.to_mesh_clear()
|
||||
|
|
@ -136,8 +136,9 @@ def candidates(P, info, loops, hull, tol, scope_ring=True):
|
|||
return cand
|
||||
|
||||
|
||||
def owner_weld(pieces, hull, cut, tol):
|
||||
"""pieces: list of (V, T, prov); one for a cut-in, two for a split. Returns welded pieces, stats, done ops, info."""
|
||||
def owner_weld(pieces, hull, cut, tol, extra_protected=()):
|
||||
"""pieces: list of (V, T, prov); one for a cut-in, two for a split. extra_protected: more positions that are never a
|
||||
merge source (round 4: loop vertices on a UV0 seam). Returns welded pieces, stats, done ops, info."""
|
||||
Ps = [Piece(*p) for p in pieces]
|
||||
infos = []
|
||||
cand = []; corners = []
|
||||
|
|
@ -145,14 +146,14 @@ def owner_weld(pieces, hull, cut, tol):
|
|||
loops, le, info = analyse_loops(P.V, np.array([f for f in P.faces]), np.array(P.prov), hull, cut, 'along', tol)
|
||||
infos.append((loops, info)); cand += candidates(P, info, loops, hull, tol)
|
||||
corners.extend(corners_of(P, info, hull, cut, tol))
|
||||
cand.sort(key=lambda z: z[0])
|
||||
cand.sort(key=lambda z: z[0]); protected = corners + list(extra_protected)
|
||||
stats = defaultdict(int); done = []; seen = set()
|
||||
for d, pv, pw, kind in cand:
|
||||
key = (tuple(np.round(pv, 9)), tuple(np.round(pw, 9)))
|
||||
if key in seen:
|
||||
continue
|
||||
seen.add(key); stats['cand_' + kind] += 1
|
||||
if any(np.linalg.norm(pv - q) < tol for q in corners):
|
||||
if any(np.linalg.norm(pv - q) < tol for q in protected):
|
||||
stats['protected_corner'] += 1; continue
|
||||
plan, reason = [], None
|
||||
for P in Ps:
|
||||
|
|
|
|||
|
|
@ -66,9 +66,9 @@ def load(stem):
|
|||
return V, F, loop, VT, FT
|
||||
|
||||
|
||||
def bevel_uv(m, bev):
|
||||
def bevel_uv(m, bev, loop_segs):
|
||||
"""Strip faces from bmesh.ops.bevel on the weighted edges (all weights are 1 here), with the modifier's settings.
|
||||
Per strip: singular values of its 3D-to-UV map in units of the mesh's median hull density, and which charts its
|
||||
Loop strips only (centre within 2.5 bevel widths of a loop edge). Per strip: singular values of its 3D-to-UV map in units of the mesh's median hull density, and which charts its
|
||||
corners lie in (hull UVs at u < 2.5, brush UVs at u >= 3)."""
|
||||
bm = bmesh.new(); bm.from_mesh(m)
|
||||
bw = bm.edges.layers.float.get('bevel_weight_edge'); uvl = bm.loops.layers.uv.active
|
||||
|
|
@ -99,8 +99,15 @@ def bevel_uv(m, bev):
|
|||
res = bmesh.ops.bevel(bm, geom=edges, offset=bev.width, offset_type=bev.offset_type, segments=bev.segments, profile=bev.profile,
|
||||
affect='EDGES', clamp_overlap=bev.use_clamp_overlap, loop_slide=bev.loop_slide, miter_outer=bev.miter_outer.replace('MITER_', ''),
|
||||
miter_inner=bev.miter_inner.replace('MITER_', ''), profile_type='SUPERELLIPSE')
|
||||
# only the strips of loop edges (crease strips are the cage's own and not the weld's business)
|
||||
lk = kdtree.KDTree(sum(max(2, int((a - b).length / 0.0004) + 1) for a, b in loop_segs)); n = 0
|
||||
for a, b in loop_segs:
|
||||
k = max(2, int((a - b).length / 0.0004) + 1)
|
||||
for i in range(k): lk.insert(a.lerp(b, i / (k - 1)), n); n += 1
|
||||
lk.balance()
|
||||
rows = []
|
||||
for f in [f for f in res['faces'] if f.is_valid]:
|
||||
if lk.find(f.calc_center_median())[2] > 2.5 * bev.width: continue
|
||||
us = [l[uvl].uv.x for l in f.loops]; smin, smax = sig(f)
|
||||
rows.append((smin / rho, smax / rho, 'both' if min(us) < 2.5 <= max(us) else ('hull' if max(us) < 2.5 else 'brush')))
|
||||
bm.free()
|
||||
|
|
@ -155,7 +162,7 @@ def build(stem, tubes, uvgrid=False):
|
|||
setattr(w, k, getattr(wn_src, k))
|
||||
print('BUILT', stem, 'loop edges', nloop, 'hull weighted edges', nhull)
|
||||
if stem not in MEAS:
|
||||
MEAS[stem] = bevel_uv(m, b); print('BEVELUV', stem, MEAS[stem])
|
||||
MEAS[stem] = bevel_uv(m, b, [(Vector(V[a]), Vector(V[bb])) for a, bb, o in loop]); print('BEVELUV', stem, MEAS[stem])
|
||||
objs = [ob]
|
||||
if tubes:
|
||||
cu = bpy.data.curves.new(stem + '_own', 'CURVE'); cu.dimensions = '3D'; cu.bevel_depth = 0.0006
|
||||
|
|
|
|||
|
|
@ -79,6 +79,25 @@ def uv_area(UV):
|
|||
|
||||
HFN, HFA = face_normals(hull.V, hull.T)
|
||||
H_ISL = uv_islands(hull.T, HUV)
|
||||
# UV0 seams of the hull: edges whose two triangles give an endpoint different UVs. A loop vertex on one is protected like
|
||||
# a corner (never merged or moved), and a hull vertex on one never slides, so no weld step drags UVs across a seam.
|
||||
_uvat = defaultdict(set)
|
||||
for _fi, _t in enumerate(hull.T):
|
||||
for _k in range(3): _uvat[(int(_t[_k]), _fi)] = tuple(np.round(HUV[_fi, _k], 7))
|
||||
UV_SEAM = set()
|
||||
for (_a, _b), _fs in edge_faces(hull.T).items():
|
||||
if len(_fs) == 2 and (_uvat[(_a, _fs[0])] != _uvat[(_a, _fs[1])] or _uvat[(_b, _fs[0])] != _uvat[(_b, _fs[1])]): UV_SEAM.add((_a, _b))
|
||||
UV_SEAM_V = {v for e in UV_SEAM for v in e}
|
||||
PROTECT_UV_SEAMS = os.environ.get('PROTECT_UV_SEAMS', '1') == '1'
|
||||
|
||||
|
||||
def uv_seam_points(V, verts):
|
||||
"""Positions of the given vertices that lie on a hull UV0 seam edge (or are a seam vertex)."""
|
||||
out = []
|
||||
for v in verts:
|
||||
he = hull.edge_of(V[v], TOL); hi = hull_index(V[v])
|
||||
if (he is not None and he in UV_SEAM) or (hi is not None and hi in UV_SEAM_V): out.append(V[v].copy())
|
||||
return out
|
||||
RHO = float(np.median(np.sqrt(np.abs(uv_area(HUV)) / np.maximum(HFA, 1e-300)))) # UV units per world unit
|
||||
|
||||
|
||||
|
|
@ -306,7 +325,7 @@ def hull_index(p):
|
|||
d, i = hull.kd.query(p); return int(i) if d < TOL else None
|
||||
|
||||
|
||||
def short_loop_merge(Ps):
|
||||
def short_loop_merge(Ps, protected=()):
|
||||
"""Split only (round 3): consecutive seam vertices closer than the bevel width merge, both pieces jointly; only
|
||||
boolean-inserted seam vertices are merge sources. Round 4 guards it like the slide (compound(): local worst angle)."""
|
||||
L = boundary_loops(np.array([f for f in Ps[0].faces])); st = defaultdict(int); n = 0
|
||||
|
|
@ -317,6 +336,7 @@ def short_loop_merge(Ps):
|
|||
if not (Ps[0].alive[a] and Ps[0].alive[b]) or np.linalg.norm(pa - pb) >= BW: continue
|
||||
src, dst = (pb, pa) if hull_index(pb) is None else (pa, pb)
|
||||
if hull_index(src) is not None: st['refused_both_hull_vertices'] += 1; continue
|
||||
if any(np.linalg.norm(src - q) < TOL for q in protected): st['protected'] += 1; continue
|
||||
trial = []
|
||||
for P in Ps:
|
||||
v, w = P.at(src, TOL), P.at(dst, TOL)
|
||||
|
|
@ -379,7 +399,7 @@ def slide(Ps, corners, joint_absent=True):
|
|||
if he is not None and hull.kd.query(P0.V[v])[0] > TOL:
|
||||
for h in he: cross[int(h)].append(v)
|
||||
for h, C in cross.items():
|
||||
if h in hull.crease_v or any(np.linalg.norm(hull.V[h] - q) < TOL for q in corners): continue
|
||||
if h in hull.crease_v or (PROTECT_UV_SEAMS and h in UV_SEAM_V) or any(np.linalg.norm(hull.V[h] - q) < TOL for q in corners): continue
|
||||
idx = sorted(pos[v] for v in C)
|
||||
# consecutive along the loop (allow wrap-around)
|
||||
span = None
|
||||
|
|
@ -484,11 +504,12 @@ for base in ('split_fwd', 'probe_crease'):
|
|||
for pk, (V, T, p) in pieces.items():
|
||||
finish(f'{base}_{pk}', 'naive', V, T, p, srcs, refl, plane)
|
||||
corners = [V0[v] for v in {v for L in L0 for v in L} if (lambda e: e is not None and e in hull.crease)(hull.edge_of(V0[v], TOL))]
|
||||
seam_pts = uv_seam_points(V0, {v for L in L0 for v in L}) if PROTECT_UV_SEAMS else []
|
||||
capuv = {}
|
||||
for variant in ('r4-noslide', 'r4'):
|
||||
Ps = [OW.Piece(V, T[p == 0], np.zeros(int((p == 0).sum()), int)) for V, T, p in pieces.values()]
|
||||
stm = short_loop_merge(Ps)
|
||||
sls = slide(Ps, corners) if variant == 'r4' else {}
|
||||
stm = short_loop_merge(Ps, corners + seam_pts)
|
||||
sls = slide(Ps, corners + seam_pts) if variant == 'r4' else {}
|
||||
res = {}
|
||||
for pk, P in zip(pieces, Ps):
|
||||
V, T, _ = P.result(); L = boundary_loops(T)
|
||||
|
|
@ -566,12 +587,14 @@ for name in ('port_flank_s16', 'probe_switch_s48', 'probe_crease_cyl_s16', 'prob
|
|||
else:
|
||||
ref = densify(V, loops_of(T, p)[0], 64)
|
||||
finish(name, 'naive', V, T, p, srcs, ref)
|
||||
welded, st, done, infos = OW.owner_weld([(V, T, p)], hull, cut, TOL)
|
||||
seam_pts = (uv_seam_points(V, {v for L in loops_of(T, p)[0] for v in L}) + [hull.V[v].copy() for v in UV_SEAM_V]) if PROTECT_UV_SEAMS else []
|
||||
welded, st, done, infos = OW.owner_weld([(V, T, p)], hull, cut, TOL, extra_protected=seam_pts)
|
||||
Vw, Tw, pw = welded[0]; info = infos[0][1]
|
||||
own = dict(hull=sum(1 for i in info.values() if i['owner'] == 0), brush=sum(1 for i in info.values() if i['owner'] == 1))
|
||||
finish(name, 'owner-r4', Vw, Tw, pw, srcs, ref, extra=dict(weld=st, owners=own), info=info)
|
||||
corners = OW.corners_of(OW.Piece(Vw, Tw, pw), {v: i for v, i in info.items()}, hull, cut, TOL)
|
||||
PL = [OW.Piece(Vw, Tw, pw)]; sls = slide(PL, corners, joint_absent=False); Vs, Ts, ps = PL[0].result()
|
||||
corners_all = corners + seam_pts
|
||||
PL = [OW.Piece(Vw, Tw, pw)]; sls = slide(PL, corners_all, joint_absent=False); Vs, Ts, ps = PL[0].result()
|
||||
L, le = loops_of(Ts, ps); lset = {(min(a, b), max(a, b)) for a, b in le}
|
||||
T1, nf = flip_hull_all(Vs, Ts, ps, lset, band_of(Vs, Ts, L))
|
||||
_, _, srcf, _ = assign_uv(Vs, T1, ps, srcs)
|
||||
|
|
|
|||
338
spikes/boolean-weld/results/round4/bevel_uv.json
Normal file
|
|
@ -0,0 +1,338 @@
|
|||
{
|
||||
"split_fwd_sub_r4-noslide": {
|
||||
"weighted_edges": 213,
|
||||
"strips": 119,
|
||||
"spans": {
|
||||
"hull": 119,
|
||||
"brush": 0,
|
||||
"both": 0
|
||||
},
|
||||
"sigma_min_p5": 0.5559103600842981,
|
||||
"sigma_min_median": 0.6006641464443517,
|
||||
"sigma_max_median": 1.012244010175649,
|
||||
"sigma_max_p95": 1.3257632586378112,
|
||||
"sigma_max_max": 1.4519281726906736,
|
||||
"collapsed_lt_0p05": 0,
|
||||
"rho": 0.7786364604528639
|
||||
},
|
||||
"split_fwd_int_r4-noslide": {
|
||||
"weighted_edges": 167,
|
||||
"strips": 121,
|
||||
"spans": {
|
||||
"hull": 121,
|
||||
"brush": 0,
|
||||
"both": 0
|
||||
},
|
||||
"sigma_min_p5": 0.6639783186718765,
|
||||
"sigma_min_median": 0.8053487647491278,
|
||||
"sigma_max_median": 1.0269892228232627,
|
||||
"sigma_max_p95": 1.592942385474405,
|
||||
"sigma_max_max": 19.759848434398624,
|
||||
"collapsed_lt_0p05": 0,
|
||||
"rho": 0.7828996128569288
|
||||
},
|
||||
"split_fwd_sub_r4": {
|
||||
"weighted_edges": 207,
|
||||
"strips": 113,
|
||||
"spans": {
|
||||
"hull": 113,
|
||||
"brush": 0,
|
||||
"both": 0
|
||||
},
|
||||
"sigma_min_p5": 0.567845231715393,
|
||||
"sigma_min_median": 0.598648635114075,
|
||||
"sigma_max_median": 1.004172334804791,
|
||||
"sigma_max_p95": 1.3231907672853587,
|
||||
"sigma_max_max": 1.4467505120304691,
|
||||
"collapsed_lt_0p05": 0,
|
||||
"rho": 0.7781098869120235
|
||||
},
|
||||
"split_fwd_int_r4": {
|
||||
"weighted_edges": 161,
|
||||
"strips": 115,
|
||||
"spans": {
|
||||
"hull": 115,
|
||||
"brush": 0,
|
||||
"both": 0
|
||||
},
|
||||
"sigma_min_p5": 0.628435091990023,
|
||||
"sigma_min_median": 0.8056384559091093,
|
||||
"sigma_max_median": 1.0280980309489414,
|
||||
"sigma_max_p95": 1.6391209295028293,
|
||||
"sigma_max_max": 19.760249316234898,
|
||||
"collapsed_lt_0p05": 0,
|
||||
"rho": 0.7828837299482976
|
||||
},
|
||||
"probe_crease_sub_r4-noslide": {
|
||||
"weighted_edges": 205,
|
||||
"strips": 81,
|
||||
"spans": {
|
||||
"hull": 81,
|
||||
"brush": 0,
|
||||
"both": 0
|
||||
},
|
||||
"sigma_min_p5": 0.26901418243977715,
|
||||
"sigma_min_median": 0.6038627417029491,
|
||||
"sigma_max_median": 1.0448854417729168,
|
||||
"sigma_max_p95": 2.936957748457272,
|
||||
"sigma_max_max": 3.420733737619598,
|
||||
"collapsed_lt_0p05": 0,
|
||||
"rho": 0.7799139400671607
|
||||
},
|
||||
"probe_crease_int_r4-noslide": {
|
||||
"weighted_edges": 99,
|
||||
"strips": 82,
|
||||
"spans": {
|
||||
"hull": 82,
|
||||
"brush": 0,
|
||||
"both": 0
|
||||
},
|
||||
"sigma_min_p5": 0.283000404255425,
|
||||
"sigma_min_median": 0.6477061052780194,
|
||||
"sigma_max_median": 1.0053191829184496,
|
||||
"sigma_max_p95": 2.5348480313226016,
|
||||
"sigma_max_max": 106.7407227476398,
|
||||
"collapsed_lt_0p05": 1,
|
||||
"rho": 0.8216081798830339
|
||||
},
|
||||
"probe_crease_sub_r4": {
|
||||
"weighted_edges": 202,
|
||||
"strips": 78,
|
||||
"spans": {
|
||||
"hull": 78,
|
||||
"brush": 0,
|
||||
"both": 0
|
||||
},
|
||||
"sigma_min_p5": 0.2543718602129436,
|
||||
"sigma_min_median": 0.6058423723837795,
|
||||
"sigma_max_median": 1.0617852014367863,
|
||||
"sigma_max_p95": 2.8642537717951546,
|
||||
"sigma_max_max": 96.70426025185124,
|
||||
"collapsed_lt_0p05": 0,
|
||||
"rho": 0.7798718545417279
|
||||
},
|
||||
"probe_crease_int_r4": {
|
||||
"weighted_edges": 96,
|
||||
"strips": 79,
|
||||
"spans": {
|
||||
"hull": 79,
|
||||
"brush": 0,
|
||||
"both": 0
|
||||
},
|
||||
"sigma_min_p5": 0.24847685858084642,
|
||||
"sigma_min_median": 0.6478097965850917,
|
||||
"sigma_max_median": 1.0189539375264776,
|
||||
"sigma_max_p95": 2.5027807549119183,
|
||||
"sigma_max_max": 156.10241622866766,
|
||||
"collapsed_lt_0p05": 1,
|
||||
"rho": 0.8216081798830339
|
||||
},
|
||||
"probe_box_ridge_naive": {
|
||||
"weighted_edges": 213,
|
||||
"strips": 69,
|
||||
"spans": {
|
||||
"hull": 49,
|
||||
"brush": 20,
|
||||
"both": 0
|
||||
},
|
||||
"sigma_min_p5": 0.33631861174325606,
|
||||
"sigma_min_median": 0.5551461939868237,
|
||||
"sigma_max_median": 1.13306716622604,
|
||||
"sigma_max_p95": 1.9473462016468455,
|
||||
"sigma_max_max": 2.1020349562664,
|
||||
"collapsed_lt_0p05": 0,
|
||||
"rho": 0.7804752094523281
|
||||
},
|
||||
"probe_box_ridge_r4": {
|
||||
"weighted_edges": 212,
|
||||
"strips": 68,
|
||||
"spans": {
|
||||
"hull": 68,
|
||||
"brush": 0,
|
||||
"both": 0
|
||||
},
|
||||
"sigma_min_p5": 0.22029824053908,
|
||||
"sigma_min_median": 0.4794487832907782,
|
||||
"sigma_max_median": 1.223045641183478,
|
||||
"sigma_max_p95": 2.2517820671976176,
|
||||
"sigma_max_max": 3.448574027246261,
|
||||
"collapsed_lt_0p05": 0,
|
||||
"rho": 0.7805691118739982
|
||||
},
|
||||
"probe_box_ridge_r4-split-brush-edges": {
|
||||
"weighted_edges": 212,
|
||||
"strips": 68,
|
||||
"spans": {
|
||||
"hull": 68,
|
||||
"brush": 0,
|
||||
"both": 0
|
||||
},
|
||||
"sigma_min_p5": 0.253080552540435,
|
||||
"sigma_min_median": 0.5166797004586319,
|
||||
"sigma_max_median": 1.1780423953464851,
|
||||
"sigma_max_p95": 2.165182957428059,
|
||||
"sigma_max_max": 2.7223892123281335,
|
||||
"collapsed_lt_0p05": 0,
|
||||
"rho": 0.7805691118739982
|
||||
},
|
||||
"probe_box_flank_naive": {
|
||||
"weighted_edges": 160,
|
||||
"strips": 16,
|
||||
"spans": {
|
||||
"hull": 16,
|
||||
"brush": 0,
|
||||
"both": 0
|
||||
},
|
||||
"sigma_min_p5": 0.5049878658366774,
|
||||
"sigma_min_median": 0.5557614975983612,
|
||||
"sigma_max_median": 1.0123657708540117,
|
||||
"sigma_max_p95": 1.109397147248141,
|
||||
"sigma_max_max": 1.109397147248141,
|
||||
"collapsed_lt_0p05": 0,
|
||||
"rho": 0.7804191043821342
|
||||
},
|
||||
"probe_box_flank_r4": {
|
||||
"weighted_edges": 158,
|
||||
"strips": 14,
|
||||
"spans": {
|
||||
"hull": 14,
|
||||
"brush": 0,
|
||||
"both": 0
|
||||
},
|
||||
"sigma_min_p5": 0.5048395540369254,
|
||||
"sigma_min_median": 0.601392596373524,
|
||||
"sigma_max_median": 0.9916464245604661,
|
||||
"sigma_max_p95": 1.116148419189798,
|
||||
"sigma_max_max": 1.116148419189798,
|
||||
"collapsed_lt_0p05": 0,
|
||||
"rho": 0.7804161647918386
|
||||
},
|
||||
"add_box_flank_naive": {
|
||||
"weighted_edges": 172,
|
||||
"strips": 28,
|
||||
"spans": {
|
||||
"hull": 28,
|
||||
"brush": 0,
|
||||
"both": 0
|
||||
},
|
||||
"sigma_min_p5": 0.4272978533194162,
|
||||
"sigma_min_median": 0.5648272758573571,
|
||||
"sigma_max_median": 1.0061648404384418,
|
||||
"sigma_max_p95": 1.1659367702191834,
|
||||
"sigma_max_max": 1.1971252332723785,
|
||||
"collapsed_lt_0p05": 0,
|
||||
"rho": 0.7803679883091147
|
||||
},
|
||||
"add_box_flank_r4": {
|
||||
"weighted_edges": 169,
|
||||
"strips": 25,
|
||||
"spans": {
|
||||
"hull": 25,
|
||||
"brush": 0,
|
||||
"both": 0
|
||||
},
|
||||
"sigma_min_p5": 0.4722516016006122,
|
||||
"sigma_min_median": 0.5674256193326942,
|
||||
"sigma_max_median": 0.9955813369857089,
|
||||
"sigma_max_p95": 1.1380028449226138,
|
||||
"sigma_max_max": 1.1508924225297812,
|
||||
"collapsed_lt_0p05": 0,
|
||||
"rho": 0.78025133783223
|
||||
},
|
||||
"add_cyl_flank_s16_naive": {
|
||||
"weighted_edges": 182,
|
||||
"strips": 38,
|
||||
"spans": {
|
||||
"hull": 38,
|
||||
"brush": 0,
|
||||
"both": 0
|
||||
},
|
||||
"sigma_min_p5": 0.4715522482744641,
|
||||
"sigma_min_median": 0.5914817019247257,
|
||||
"sigma_max_median": 0.9548259508898389,
|
||||
"sigma_max_p95": 1.0656062115495635,
|
||||
"sigma_max_max": 1.0772098620217407,
|
||||
"collapsed_lt_0p05": 0,
|
||||
"rho": 0.7802089130493258
|
||||
},
|
||||
"add_cyl_flank_s16_r4": {
|
||||
"weighted_edges": 172,
|
||||
"strips": 28,
|
||||
"spans": {
|
||||
"hull": 28,
|
||||
"brush": 0,
|
||||
"both": 0
|
||||
},
|
||||
"sigma_min_p5": 0.5194175420289796,
|
||||
"sigma_min_median": 0.6077328255097608,
|
||||
"sigma_max_median": 0.949949384780418,
|
||||
"sigma_max_p95": 1.0548267559577422,
|
||||
"sigma_max_max": 1.05490871581146,
|
||||
"collapsed_lt_0p05": 0,
|
||||
"rho": 0.78025133783223
|
||||
},
|
||||
"port_flank_s16_owner-r4": {
|
||||
"weighted_edges": 170,
|
||||
"strips": 26,
|
||||
"spans": {
|
||||
"hull": 26,
|
||||
"brush": 0,
|
||||
"both": 0
|
||||
},
|
||||
"sigma_min_p5": 0.4733270830519463,
|
||||
"sigma_min_median": 0.5774967076689069,
|
||||
"sigma_max_median": 0.9505966884972816,
|
||||
"sigma_max_p95": 1.050081782182277,
|
||||
"sigma_max_max": 1.0668485913899926,
|
||||
"collapsed_lt_0p05": 0,
|
||||
"rho": 0.7803876325738552
|
||||
},
|
||||
"port_flank_s16_r4": {
|
||||
"weighted_edges": 170,
|
||||
"strips": 26,
|
||||
"spans": {
|
||||
"hull": 26,
|
||||
"brush": 0,
|
||||
"both": 0
|
||||
},
|
||||
"sigma_min_p5": 0.48206283982886683,
|
||||
"sigma_min_median": 0.5896513742377147,
|
||||
"sigma_max_median": 0.9506206179424794,
|
||||
"sigma_max_p95": 1.0502663973314634,
|
||||
"sigma_max_max": 1.0670231353029065,
|
||||
"collapsed_lt_0p05": 0,
|
||||
"rho": 0.7803679883091147
|
||||
},
|
||||
"probe_switch_s48_owner-r4": {
|
||||
"weighted_edges": 224,
|
||||
"strips": 80,
|
||||
"spans": {
|
||||
"hull": 49,
|
||||
"brush": 31,
|
||||
"both": 0
|
||||
},
|
||||
"sigma_min_p5": 0.0,
|
||||
"sigma_min_median": 0.0,
|
||||
"sigma_max_median": 0.0,
|
||||
"sigma_max_p95": 0.0,
|
||||
"sigma_max_max": 6877202.242647851,
|
||||
"collapsed_lt_0p05": 80,
|
||||
"rho": 0.7806610735107642
|
||||
},
|
||||
"probe_switch_s48_r4": {
|
||||
"weighted_edges": 224,
|
||||
"strips": 80,
|
||||
"spans": {
|
||||
"hull": 80,
|
||||
"brush": 0,
|
||||
"both": 0
|
||||
},
|
||||
"sigma_min_p5": 0.2525619658869366,
|
||||
"sigma_min_median": 0.45557442821140026,
|
||||
"sigma_max_median": 1.0541966673569765,
|
||||
"sigma_max_p95": 2.4136132894259807,
|
||||
"sigma_max_max": 2.85372623422774,
|
||||
"collapsed_lt_0p05": 0,
|
||||
"rho": 0.7806704664216929
|
||||
}
|
||||
}
|
||||
1617
spikes/boolean-weld/results/round4/measures4.json
Normal file
153
spikes/boolean-weld/results/round4/table4.md
Normal file
|
|
@ -0,0 +1,153 @@
|
|||
## Geometry (band = within 2 local edge lengths of the loop)
|
||||
|
||||
| case | variant | hull_slivers | hull_worst | hull_p5 | brush_slivers | brush_worst | brush_p5 | hull_flipped | dev_max_pct | seam_off_plane | loop_edges_under_bw | shortest_loop_edge |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| split_fwd_sub | naive | 37 | 0.676 | 3.86 | 60 | 0.0584 | 0.197 | 0 | 0 | 0 | 15 | 0.000263 |
|
||||
| split_fwd_int | naive | 32 | 0.539 | 4.36 | 60 | 0.0555 | 0.192 | 0 | 1.9e-15 | 0 | 14 | 0.000263 |
|
||||
| split_fwd_sub | r4-noslide | 23 | 1.37 | 5.72 | 6 | 7.57 | 13.5 | 0 | 0.00692 | 0 | 6 | 0.000295 |
|
||||
| split_fwd_int | r4-noslide | 16 | 2.51 | 6.69 | 6 | 7.57 | 13.5 | 0 | 0.00692 | 0 | 5 | 0.000786 |
|
||||
| split_fwd_sub | r4 | 19 | 1.37 | 6.83 | 8 | 6.79 | 12.5 | 0 | 0.00925 | 0 | 4 | 0.000295 |
|
||||
| split_fwd_int | r4 | 18 | 2.51 | 5.62 | 8 | 6.79 | 12.5 | 0 | 0.00925 | 0 | 5 | 0.000786 |
|
||||
| probe_crease_sub | naive | 22 | 0.377 | 3.73 | 22 | 0.0326 | 1.19 | 0 | 0 | 0 | 12 | 1.46e-05 |
|
||||
| probe_crease_int | naive | 25 | 0.0405 | 5.61 | 22 | 0.0326 | 1.64 | 0 | 0 | 0 | 11 | 1.46e-05 |
|
||||
| probe_crease_sub | r4-noslide | 12 | 2.36 | 6.77 | 0 | 6.85 | 11 | 0 | 0.00404 | 0 | 6 | 0.000127 |
|
||||
| probe_crease_int | r4-noslide | 10 | 1.4 | 7.14 | 0 | 6.85 | 11 | 0 | 0.00404 | 0 | 5 | 0.000151 |
|
||||
| probe_crease_sub | r4 | 9 | 2.51 | 7.26 | 0 | 7.42 | 14.3 | 0 | 0.00779 | 0 | 1 | 0.000993 |
|
||||
| probe_crease_int | r4 | 7 | 2.08 | 7.29 | 0 | 7.42 | 14.3 | 0 | 0.00779 | 0 | 0 | 0.00101 |
|
||||
| port_flank_s16 | naive | 20 | 0.108 | 2.09 | 12 | 0.00707 | 0.778 | 0 | 0.0198 | | 6 | 5.29e-05 |
|
||||
| port_flank_s16 | owner-r4 | 5 | 5.09 | 5.78 | 0 | 6.68 | 6.68 | 0 | 0.0198 | | 0 | 0.00226 |
|
||||
| port_flank_s16 | r4-split-brush-edges | 4 | 5.4 | 6.09 | 0 | 19.2 | 21.5 | 0 | 0.0198 | | 0 | 0.00226 |
|
||||
| port_flank_s16 | r4 | 4 | 5.4 | 6.09 | 0 | 6.68 | 6.68 | 0 | 0.0198 | | 0 | 0.00226 |
|
||||
| probe_switch_s48 | naive | 71 | 1.21e-06 | 1.06 | 41 | 0.0104 | 0.443 | 0 | 0.0128 | | 31 | 6.38e-06 |
|
||||
| probe_switch_s48 | owner-r4 | 44 | 1.21e-06 | 2.04 | 11 | 0.0592 | 4.73 | 0 | 0.0196 | | 16 | 4.71e-05 |
|
||||
| probe_switch_s48 | r4-split-brush-edges | 23 | 0.144 | 4.42 | 36 | 0.304 | 4.02 | 0 | 0.0196 | | 28 | 4.71e-05 |
|
||||
| probe_switch_s48 | r4 | 23 | 0.144 | 4.42 | 16 | 0.304 | 5.24 | 0 | 0.0196 | | 22 | 4.71e-05 |
|
||||
| probe_crease_cyl_s16 | naive | 20 | 0.208 | 2.69 | 7 | 0.848 | 2.15 | 0 | 0.0434 | | 4 | 0.000247 |
|
||||
| probe_crease_cyl_s16 | owner-r4 | 15 | 2.65 | 5.78 | 2 | 4.31 | 5.38 | 0 | 0.0609 | | 0 | 0.00104 |
|
||||
| probe_crease_cyl_s16 | r4-split-brush-edges | 7 | 2.65 | 7.52 | 1 | 4.47 | 10.4 | 0 | 0.0609 | | 0 | 0.00104 |
|
||||
| probe_crease_cyl_s16 | r4 | 7 | 2.65 | 7.52 | 2 | 4.47 | 5.81 | 0 | 0.0609 | | 0 | 0.00104 |
|
||||
| probe_box_flank | naive | 2 | 0.952 | 8.55 | 1 | 0.285 | 6.49 | 0 | 0 | | 0 | 0.0025 |
|
||||
| probe_box_flank | owner-r4 | 1 | 4.92 | 11.9 | 1 | 0.285 | 6.59 | 0 | 0.0108 | | 0 | 0.0025 |
|
||||
| probe_box_flank | r4-split-brush-edges | 0 | 6 | 14.6 | 0 | 13.7 | 21.4 | 0 | 0.0108 | | 0 | 0.0025 |
|
||||
| probe_box_flank | r4 | 0 | 6 | 14.6 | 0 | 6.92 | 8.98 | 0 | 0.0108 | | 0 | 0.0025 |
|
||||
| probe_box_ridge | naive | 19 | 0.715 | 4.9 | 48 | 0.0703 | 0.407 | 0 | 0 | | 4 | 0.000637 |
|
||||
| probe_box_ridge | owner-r4 | 19 | 0.715 | 4.9 | 47 | 0.0703 | 0.4 | 0 | 0.00142 | | 3 | 0.000637 |
|
||||
| probe_box_ridge | r4-split-brush-edges | 7 | 1.75 | 7.8 | 5 | 4.91 | 18.1 | 0 | 0.00142 | | 5 | 0.000637 |
|
||||
| probe_box_ridge | r4 | 7 | 1.75 | 7.8 | 48 | 0.192 | 0.469 | 0 | 0.00142 | | 3 | 0.000637 |
|
||||
| add_box_flank | naive | 10 | 0.444 | 4.07 | 4 | 3.01 | 5.86 | 0 | 0 | | 0 | 0.00114 |
|
||||
| add_box_flank | owner-r4 | 10 | 0.444 | 4.23 | 2 | 3.01 | 5.74 | 0 | 0.00402 | | 0 | 0.00114 |
|
||||
| add_box_flank | r4-split-brush-edges | 4 | 2.37 | 7.32 | 0 | 17.8 | 22.4 | 0 | 0.00402 | | 0 | 0.00114 |
|
||||
| add_box_flank | r4 | 4 | 2.37 | 7.32 | 1 | 4.97 | 6.52 | 0 | 0.00402 | | 0 | 0.00114 |
|
||||
| add_cyl_flank_s16 | naive | 19 | 0.108 | 1.91 | 16 | 0.15 | 2.23 | 0 | 0.0198 | | 6 | 5.29e-05 |
|
||||
| add_cyl_flank_s16 | owner-r4 | 4 | 3.92 | 6.68 | 0 | 7.64 | 8.08 | 0 | 0.0198 | | 0 | 0.00283 |
|
||||
| add_cyl_flank_s16 | r4-split-brush-edges | 4 | 5.47 | 6.68 | 0 | 21.1 | 23.4 | 0 | 0.0198 | | 0 | 0.00282 |
|
||||
| add_cyl_flank_s16 | r4 | 4 | 5.47 | 6.68 | 0 | 7.8 | 8.16 | 0 | 0.0198 | | 0 | 0.00283 |
|
||||
|
||||
## UV0 carry-through
|
||||
|
||||
| case | variant | uv_faces | uv_not_fragments_hull | uv_not_fragments_brush | uv_uv_flipped_hull | uv_uv_flipped_brush | uv_hull_islands | uv_hull_src_islands | uv_hull_uv_area | uv_moved_face_sigma_min | uv_moved_face_sigma_max | uv_moved_face_aniso_min |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| split_fwd_sub | naive | 4404 | 0 | 0 | 0 | 122 | 11 | 11 | 0.523 | | | |
|
||||
| split_fwd_int | naive | 2104 | 0 | 0 | 0 | 0 | 5 | 4 | 0.112 | | | |
|
||||
| split_fwd_sub | r4-noslide | 4692 | 23 | 0 | 0 | 417 | 11 | 11 | 0.523 | 0.867 | 1.33 | 0.668 |
|
||||
| split_fwd_int | r4-noslide | 2392 | 39 | 0 | 0 | 0 | 5 | 4 | 0.112 | 0.476 | 1.32 | 0.393 |
|
||||
| split_fwd_sub | r4 | 4654 | 32 | 0 | 0 | 393 | 11 | 11 | 0.523 | 0.867 | 1.33 | 0.668 |
|
||||
| split_fwd_int | r4 | 2362 | 46 | 0 | 0 | 0 | 5 | 4 | 0.112 | 0.476 | 1.32 | 0.393 |
|
||||
| probe_crease_sub | naive | 5890 | 0 | 0 | 0 | 82 | 11 | 11 | 0.589 | | | |
|
||||
| probe_crease_int | naive | 458 | 0 | 0 | 0 | 0 | 5 | 3 | 0.0459 | | | |
|
||||
| probe_crease_sub | r4-noslide | 6006 | 41 | 0 | 0 | 203 | 15 | 11 | 0.589 | 0.273 | 2.93 | 0.131 |
|
||||
| probe_crease_int | r4-noslide | 574 | 57 | 0 | 1 | 0 | 4 | 3 | 0.0459 | 3.34e-05 | 3.25 | 1.08e-05 |
|
||||
| probe_crease_sub | r4 | 5982 | 43 | 0 | 0 | 184 | 14 | 11 | 0.589 | 0.273 | 2.92 | 0.131 |
|
||||
| probe_crease_int | r4 | 548 | 63 | 0 | 1 | 0 | 4 | 3 | 0.0459 | 3.34e-05 | 3.25 | 1.08e-05 |
|
||||
| port_flank_s16 | naive | 6118 | 0 | 0 | 0 | 68 | 11 | 11 | 0.635 | | | |
|
||||
| port_flank_s16 | owner-r4 | 6094 | 14 | 0 | 0 | 58 | 11 | 11 | 0.635 | 0.623 | 1.14 | 0.602 |
|
||||
| port_flank_s16 | r4-split-brush-edges | 6246 | 12 | 0 | 0 | 210 | 11 | 11 | 0.635 | 0.67 | 1.09 | 0.633 |
|
||||
| port_flank_s16 | r4 | 6094 | 12 | 0 | 0 | 58 | 11 | 11 | 0.635 | 0.67 | 1.09 | 0.633 |
|
||||
| probe_switch_s48 | naive | 6238 | 0 | 0 | 0 | 186 | 11 | 11 | 0.627 | | | |
|
||||
| probe_switch_s48 | owner-r4 | 6120 | 37 | 6 | 0 | 133 | 11 | 11 | 0.627 | 0.467 | 88 | 0.0112 |
|
||||
| probe_switch_s48 | r4-split-brush-edges | 6426 | 88 | 60 | 0 | 433 | 11 | 11 | 0.627 | 0.249 | 2.45e+03 | 0.000158 |
|
||||
| probe_switch_s48 | r4 | 6200 | 88 | 6 | 0 | 213 | 11 | 11 | 0.627 | 0.249 | 88 | 0.0112 |
|
||||
| probe_crease_cyl_s16 | naive | 6086 | 0 | 0 | 0 | 39 | 11 | 11 | 0.633 | | | |
|
||||
| probe_crease_cyl_s16 | owner-r4 | 6046 | 24 | 1 | 0 | 23 | 11 | 11 | 0.633 | 0.365 | 109 | 0.00335 |
|
||||
| probe_crease_cyl_s16 | r4-split-brush-edges | 6056 | 31 | 1 | 0 | 33 | 11 | 11 | 0.633 | 0.365 | 109 | 0.00335 |
|
||||
| probe_crease_cyl_s16 | r4 | 6046 | 31 | 1 | 0 | 23 | 11 | 11 | 0.633 | 0.365 | 109 | 0.00335 |
|
||||
| probe_box_flank | naive | 6052 | 0 | 0 | 0 | 22 | 11 | 11 | 0.634 | | | |
|
||||
| probe_box_flank | owner-r4 | 6048 | 0 | 0 | 0 | 20 | 11 | 11 | 0.634 | | | |
|
||||
| probe_box_flank | r4-split-brush-edges | 6076 | 5 | 0 | 0 | 48 | 11 | 11 | 0.634 | 0.647 | 1.1 | 0.59 |
|
||||
| probe_box_flank | r4 | 6048 | 5 | 0 | 0 | 20 | 11 | 11 | 0.634 | 0.647 | 1.1 | 0.59 |
|
||||
| probe_box_ridge | naive | 6080 | 0 | 0 | 0 | 71 | 11 | 11 | 0.629 | | | |
|
||||
| probe_box_ridge | owner-r4 | 6078 | 0 | 0 | 0 | 70 | 11 | 11 | 0.629 | | | |
|
||||
| probe_box_ridge | r4-split-brush-edges | 6342 | 61 | 0 | 0 | 334 | 11 | 11 | 0.629 | 0.249 | 3.86 | 0.102 |
|
||||
| probe_box_ridge | r4 | 6084 | 61 | 0 | 0 | 76 | 11 | 11 | 0.629 | 0.249 | 3.86 | 0.102 |
|
||||
| add_box_flank | naive | 6074 | 0 | 0 | 0 | 0 | 11 | 11 | 0.634 | | | |
|
||||
| add_box_flank | owner-r4 | 6068 | 0 | 0 | 0 | 0 | 11 | 11 | 0.634 | | | |
|
||||
| add_box_flank | r4-split-brush-edges | 6194 | 0 | 0 | 0 | 0 | 11 | 11 | 0.634 | | | |
|
||||
| add_box_flank | r4 | 6068 | 0 | 0 | 0 | 0 | 11 | 11 | 0.634 | | | |
|
||||
| add_cyl_flank_s16 | naive | 6122 | 0 | 0 | 0 | 0 | 11 | 11 | 0.635 | | | |
|
||||
| add_cyl_flank_s16 | owner-r4 | 6098 | 14 | 0 | 0 | 0 | 11 | 11 | 0.635 | 0.623 | 1.14 | 0.602 |
|
||||
| add_cyl_flank_s16 | r4-split-brush-edges | 6276 | 11 | 0 | 0 | 0 | 11 | 11 | 0.635 | 0.67 | 1.09 | 0.633 |
|
||||
| add_cyl_flank_s16 | r4 | 6098 | 11 | 0 | 0 | 0 | 11 | 11 | 0.635 | 0.67 | 1.09 | 0.633 |
|
||||
|
||||
## Operations
|
||||
|
||||
- split_fwd_sub r4-noslide: {"short_merges": 7, "slide": {}, "flips": 126}
|
||||
- split_fwd_int r4-noslide: {"short_merges": 7, "slide": {}, "flips": 95}
|
||||
- split_fwd r4-noslide pieces: {"crack": 0.0, "cap_uv_overlap": 9.485749680535094e-16, "cap_uv_area_sub": 0.03215925424058465, "cap_uv_area_int": 0.03215925424058465}
|
||||
- split_fwd_sub r4: {"short_merges": 7, "slide": {"applied": 4, "loop_vertices_merged": 10, "skip_overlap": 2, "candidates": 6, "max_move": 0.0008734691178165358, "max_move_over_bw": 0.8734691178165358}, "flips": 118}
|
||||
- split_fwd_int r4: {"short_merges": 7, "slide": {"applied": 4, "loop_vertices_merged": 10, "skip_overlap": 2, "candidates": 6, "max_move": 0.0008734691178165358, "max_move_over_bw": 0.8734691178165358}, "flips": 88}
|
||||
- split_fwd r4 pieces: {"crack": 0.0, "cap_uv_overlap": 9.485749680535094e-16, "cap_uv_area_sub": 0.032159390160617016, "cap_uv_area_int": 0.032159390160617016}
|
||||
- probe_crease_sub r4-noslide: {"short_merges": 5, "slide": {}, "flips": 60}
|
||||
- probe_crease_int r4-noslide: {"short_merges": 5, "slide": {}, "flips": 78}
|
||||
- probe_crease r4-noslide pieces: {"crack": 0.0, "cap_uv_overlap": 9.155133597044475e-16, "cap_uv_area_sub": 0.005371482651150788, "cap_uv_area_int": 0.005371482651150788}
|
||||
- probe_crease_sub r4: {"short_merges": 5, "slide": {"applied": 3, "loop_vertices_merged": 6, "candidates": 3, "max_move": 0.0008445767319343955, "max_move_over_bw": 0.8445767319343954}, "flips": 59}
|
||||
- probe_crease_int r4: {"short_merges": 5, "slide": {"applied": 3, "loop_vertices_merged": 6, "candidates": 3, "max_move": 0.0008445767319343955, "max_move_over_bw": 0.8445767319343954}, "flips": 77}
|
||||
- probe_crease r4 pieces: {"crack": 0.0, "cap_uv_overlap": 9.155133597044475e-16, "cap_uv_area_sub": 0.005371328187600327, "cap_uv_area_int": 0.0053713281876003275}
|
||||
- port_flank_s16 owner-r4: {"weld": {"cand_loop": 10, "applied_loop": 10, "cand_ring": 44, "refused_angle": 5, "refused_flip": 21, "refused_target_gone": 12, "applied_ring": 2, "refused_empty": 4, "corners": 0, "corners_kept_in_place": 0}, "owners": {"hull": 0, "brush": 36}}
|
||||
- port_flank_s16 r4-split-brush-edges: {"facet_cdt": {"brush_edge_points": 76, "facets": 16, "old_tris": 42, "new_tris": 194, "constraint_edges": 226, "constraint_edges_missing": 0, "steiner": 0}}
|
||||
- port_flank_s16 r4: {"slide": {"candidates": 0, "max_move": 0.0, "max_move_over_bw": 0.0}, "weld": {"cand_loop": 10, "applied_loop": 10, "cand_ring": 44, "refused_angle": 5, "refused_flip": 21, "refused_target_gone": 12, "applied_ring": 2, "refused_empty": 4, "corners": 0, "corners_kept_in_place": 0}, "flips": 18, "facet_cdt": {"facets": 16, "old_tris": 42, "new_tris": 42, "constraint_edges": 74, "constraint_edges_missing": 0, "steiner": 0}, "corners": 0, "corners_kept": 0}
|
||||
- probe_switch_s48 owner-r4: {"weld": {"cand_loop": 56, "applied_loop": 52, "refused_angle": 36, "cand_ring": 133, "refused_flip": 37, "refused_link": 2, "refused_target_gone": 46, "applied_ring": 7, "refused_empty": 9, "corners": 4, "corners_kept_in_place": 4}, "owners": {"hull": 24, "brush": 108}}
|
||||
- probe_switch_s48 r4-split-brush-edges: {"facet_cdt": {"brush_edge_points": 67, "facets": 30, "old_tris": 134, "new_tris": 440, "constraint_edges": 326, "constraint_edges_missing": 0, "steiner": 86}}
|
||||
- probe_switch_s48 r4: {"slide": {"candidates": 0, "max_move": 0.0, "max_move_over_bw": 0.0}, "weld": {"cand_loop": 56, "applied_loop": 52, "refused_angle": 36, "cand_ring": 133, "refused_flip": 37, "refused_link": 2, "refused_target_gone": 46, "applied_ring": 7, "refused_empty": 9, "corners": 4, "corners_kept_in_place": 4}, "flips": 112, "facet_cdt": {"facets": 30, "old_tris": 134, "new_tris": 214, "constraint_edges": 192, "constraint_edges_missing": 0, "steiner": 40}, "corners": 4, "corners_kept": 4}
|
||||
- probe_crease_cyl_s16 owner-r4: {"weld": {"cand_loop": 22, "applied_loop": 15, "protected_corner": 20, "refused_angle": 7, "cand_ring": 50, "refused_flip": 5, "refused_not_edge": 3, "refused_target_gone": 9, "applied_ring": 5, "refused_empty": 8, "corners": 2, "corners_kept_in_place": 2}, "owners": {"hull": 6, "brush": 35}}
|
||||
- probe_crease_cyl_s16 r4-split-brush-edges: {"facet_cdt": {"brush_edge_points": 3, "facets": 8, "old_tris": 24, "new_tris": 34, "constraint_edges": 46, "constraint_edges_missing": 0, "steiner": 2}}
|
||||
- probe_crease_cyl_s16 r4: {"slide": {"skip_not_consecutive": 2, "candidates": 0, "max_move": 0.0, "max_move_over_bw": 0.0}, "weld": {"cand_loop": 22, "applied_loop": 15, "protected_corner": 20, "refused_angle": 7, "cand_ring": 50, "refused_flip": 5, "refused_not_edge": 3, "refused_target_gone": 9, "applied_ring": 5, "refused_empty": 8, "corners": 2, "corners_kept_in_place": 2}, "flips": 27, "facet_cdt": {"facets": 8, "old_tris": 24, "new_tris": 24, "constraint_edges": 40, "constraint_edges_missing": 0, "steiner": 0}, "corners": 2, "corners_kept": 2}
|
||||
- probe_box_flank owner-r4: {"weld": {"cand_loop": 6, "protected_corner": 4, "applied_loop": 2, "corners": 4, "corners_kept_in_place": 4}, "owners": {"hull": 16, "brush": 0}}
|
||||
- probe_box_flank r4-split-brush-edges: {"facet_cdt": {"brush_edge_points": 13, "facets": 5, "old_tris": 20, "new_tris": 48, "constraint_edges": 56, "constraint_edges_missing": 0, "steiner": 1}}
|
||||
- probe_box_flank r4: {"slide": {"skip_not_consecutive": 2, "candidates": 0, "max_move": 0.0, "max_move_over_bw": 0.0}, "weld": {"cand_loop": 6, "protected_corner": 4, "applied_loop": 2, "corners": 4, "corners_kept_in_place": 4}, "flips": 17, "facet_cdt": {"facets": 4, "old_tris": 18, "new_tris": 18, "constraint_edges": 26, "constraint_edges_missing": 0, "steiner": 0}, "corners": 4, "corners_kept": 4}
|
||||
- probe_box_ridge owner-r4: {"weld": {"cand_loop": 9, "protected_corner": 6, "applied_loop": 1, "refused_angle": 2, "corners": 6, "corners_kept_in_place": 6}, "owners": {"hull": 69, "brush": 0}}
|
||||
- probe_box_ridge r4-split-brush-edges: {"facet_cdt": {"brush_edge_points": 59, "facets": 5, "old_tris": 70, "new_tris": 334, "constraint_edges": 198, "constraint_edges_missing": 0, "steiner": 73}}
|
||||
- probe_box_ridge r4: {"slide": {"skip_not_consecutive": 9, "candidates": 0, "max_move": 0.0, "max_move_over_bw": 0.0}, "weld": {"cand_loop": 9, "protected_corner": 6, "applied_loop": 1, "refused_angle": 2, "corners": 6, "corners_kept_in_place": 6}, "flips": 107, "facet_cdt": {"facets": 5, "old_tris": 70, "new_tris": 76, "constraint_edges": 80, "constraint_edges_missing": 0, "steiner": 3}, "corners": 6, "corners_kept": 6}
|
||||
- add_box_flank owner-r4: {"weld": {"cand_loop": 8, "protected_corner": 4, "applied_loop": 3, "refused_angle": 1, "corners": 4, "corners_kept_in_place": 4}, "owners": {"hull": 28, "brush": 0}}
|
||||
- add_box_flank r4-split-brush-edges: {"facet_cdt": {"brush_edge_points": 36, "facets": 5, "old_tris": 31, "new_tris": 157, "constraint_edges": 113, "constraint_edges_missing": 0, "steiner": 27}}
|
||||
- add_box_flank r4: {"slide": {"skip_not_consecutive": 9, "candidates": 0, "max_move": 0.0, "max_move_over_bw": 0.0}, "weld": {"cand_loop": 8, "protected_corner": 4, "applied_loop": 3, "refused_angle": 1, "corners": 4, "corners_kept_in_place": 4}, "flips": 25, "facet_cdt": {"facets": 4, "old_tris": 29, "new_tris": 29, "constraint_edges": 37, "constraint_edges_missing": 0, "steiner": 0}, "corners": 4, "corners_kept": 4}
|
||||
- add_cyl_flank_s16 owner-r4: {"weld": {"cand_loop": 10, "applied_loop": 10, "cand_ring": 46, "refused_angle": 8, "refused_flip": 20, "refused_target_gone": 12, "applied_ring": 2, "refused_empty": 4, "corners": 0, "corners_kept_in_place": 0}, "owners": {"hull": 0, "brush": 38}}
|
||||
- add_cyl_flank_s16 r4-split-brush-edges: {"facet_cdt": {"brush_edge_points": 86, "facets": 17, "old_tris": 60, "new_tris": 238, "constraint_edges": 264, "constraint_edges_missing": 0, "steiner": 3}}
|
||||
- add_cyl_flank_s16 r4: {"slide": {"candidates": 0, "max_move": 0.0, "max_move_over_bw": 0.0}, "weld": {"cand_loop": 10, "applied_loop": 10, "cand_ring": 46, "refused_angle": 8, "refused_flip": 20, "refused_target_gone": 12, "applied_ring": 2, "refused_empty": 4, "corners": 0, "corners_kept_in_place": 0}, "flips": 18, "facet_cdt": {"facets": 16, "old_tris": 44, "new_tris": 44, "constraint_edges": 76, "constraint_edges_missing": 0, "steiner": 0}, "corners": 0, "corners_kept": 0}
|
||||
- spade cdt calls: {"calls": 177, "complete": 177, "steiner": 1057}
|
||||
- uv fixture: {"uv_fixture_max_diff": 2.0000000000575113e-07, "hull_islands": 11, "rho": 0.7804576905498148}
|
||||
|
||||
## Bevel strips (bmesh.ops.bevel with the modifier settings; sigma = 3D-to-UV singular values / hull median density)
|
||||
|
||||
| mesh | weighted_edges | strips | spans | sigma_min_p5 | sigma_min_median | sigma_max_median | sigma_max_p95 | sigma_max_max | collapsed_lt_0p05 |
|
||||
|---|---|---|---|---|---|---|---|---|---|
|
||||
| split_fwd_sub_r4-noslide | 213 | 119 | {"hull": 119, "brush": 0, "both": 0} | 0.556 | 0.601 | 1.01 | 1.33 | 1.45 | 0 |
|
||||
| split_fwd_int_r4-noslide | 167 | 121 | {"hull": 121, "brush": 0, "both": 0} | 0.664 | 0.805 | 1.03 | 1.59 | 19.8 | 0 |
|
||||
| split_fwd_sub_r4 | 207 | 113 | {"hull": 113, "brush": 0, "both": 0} | 0.568 | 0.599 | 1 | 1.32 | 1.45 | 0 |
|
||||
| split_fwd_int_r4 | 161 | 115 | {"hull": 115, "brush": 0, "both": 0} | 0.628 | 0.806 | 1.03 | 1.64 | 19.8 | 0 |
|
||||
| probe_crease_sub_r4-noslide | 205 | 81 | {"hull": 81, "brush": 0, "both": 0} | 0.269 | 0.604 | 1.04 | 2.94 | 3.42 | 0 |
|
||||
| probe_crease_int_r4-noslide | 99 | 82 | {"hull": 82, "brush": 0, "both": 0} | 0.283 | 0.648 | 1.01 | 2.53 | 107 | 1 |
|
||||
| probe_crease_sub_r4 | 202 | 78 | {"hull": 78, "brush": 0, "both": 0} | 0.254 | 0.606 | 1.06 | 2.86 | 96.7 | 0 |
|
||||
| probe_crease_int_r4 | 96 | 79 | {"hull": 79, "brush": 0, "both": 0} | 0.248 | 0.648 | 1.02 | 2.5 | 156 | 1 |
|
||||
| probe_box_ridge_naive | 213 | 69 | {"hull": 49, "brush": 20, "both": 0} | 0.336 | 0.555 | 1.13 | 1.95 | 2.1 | 0 |
|
||||
| probe_box_ridge_r4 | 212 | 68 | {"hull": 68, "brush": 0, "both": 0} | 0.22 | 0.479 | 1.22 | 2.25 | 3.45 | 0 |
|
||||
| probe_box_ridge_r4-split-brush-edges | 212 | 68 | {"hull": 68, "brush": 0, "both": 0} | 0.253 | 0.517 | 1.18 | 2.17 | 2.72 | 0 |
|
||||
| probe_box_flank_naive | 160 | 16 | {"hull": 16, "brush": 0, "both": 0} | 0.505 | 0.556 | 1.01 | 1.11 | 1.11 | 0 |
|
||||
| probe_box_flank_r4 | 158 | 14 | {"hull": 14, "brush": 0, "both": 0} | 0.505 | 0.601 | 0.992 | 1.12 | 1.12 | 0 |
|
||||
| add_box_flank_naive | 172 | 28 | {"hull": 28, "brush": 0, "both": 0} | 0.427 | 0.565 | 1.01 | 1.17 | 1.2 | 0 |
|
||||
| add_box_flank_r4 | 169 | 25 | {"hull": 25, "brush": 0, "both": 0} | 0.472 | 0.567 | 0.996 | 1.14 | 1.15 | 0 |
|
||||
| add_cyl_flank_s16_naive | 182 | 38 | {"hull": 38, "brush": 0, "both": 0} | 0.472 | 0.591 | 0.955 | 1.07 | 1.08 | 0 |
|
||||
| add_cyl_flank_s16_r4 | 172 | 28 | {"hull": 28, "brush": 0, "both": 0} | 0.519 | 0.608 | 0.95 | 1.05 | 1.05 | 0 |
|
||||
| port_flank_s16_owner-r4 | 170 | 26 | {"hull": 26, "brush": 0, "both": 0} | 0.473 | 0.577 | 0.951 | 1.05 | 1.07 | 0 |
|
||||
| port_flank_s16_r4 | 170 | 26 | {"hull": 26, "brush": 0, "both": 0} | 0.482 | 0.59 | 0.951 | 1.05 | 1.07 | 0 |
|
||||
| probe_switch_s48_owner-r4 | 224 | 80 | {"hull": 49, "brush": 31, "both": 0} | 0 | 0 | 0 | 0 | 6.88e+06 | 80 |
|
||||
| probe_switch_s48_r4 | 224 | 80 | {"hull": 80, "brush": 0, "both": 0} | 0.253 | 0.456 | 1.05 | 2.41 | 2.85 | 0 |
|
||||