Skip to content

Commit 44bae0a

Browse files
vipenzoclaude
andcommitted
Update docs: capped auto-fraction, adaptive steps in roadmap
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent b2bc970 commit 44bae0a

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

dev-docs/Roadmap.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,13 @@ The core turtle system, generative operations, boolean operations, anchor/naviga
629629

630630
---
631631

632+
## Pending Improvements
633+
634+
### Adaptive loft step density for shape-fn transitions
635+
The `capped` shape-fn concentrates shape changes in narrow transition zones (fraction of the path). With uniform loft steps, only 2-3 rings may fall in the cap zone, producing coarse faceting. Implement non-uniform `t` sampling: `capped` declares transition zones via shape-fn metadata, and the loft generates denser rings in those zones. Similar to the existing `walk-path-poses-adaptive` (curvature-based density for bloft), but driven by shape-fn change rate rather than path curvature.
636+
637+
---
638+
632639
## Enhancement Ideas
633640

634641
### 3D Lattice Structures (implicit surface / marching cubes)

dev-docs/Spec.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -717,9 +717,11 @@ operations (extrude, loft, revolve) correctly handle shapes with holes.
717717
(loft (capped shape radius :mode :chamfer) path) ; Chamfer both caps (linear)
718718
(loft (capped shape radius :start false) path) ; Fillet end cap only
719719
(loft (capped shape radius :end false) path) ; Fillet start cap only
720-
(loft (capped shape radius :fraction 0.15) path) ; Wider transition zone (default 0.08)
720+
(loft (capped shape radius :fraction 0.15) path) ; Override auto-fraction
721721
```
722722

723+
The transition `fraction` is auto-calculated as `radius / path-length` (geometrically correct fillet). Override with `:fraction` if needed. Radius is clamped to the shape's inradius to prevent degenerate geometry.
724+
723725
**Examples:**
724726

725727
```clojure
@@ -734,7 +736,7 @@ operations (extrude, loft, revolve) correctly handle shapes with holes.
734736
- `fillet-shape` / `chamfer-shape` operate on 2D corners (edges along extrusion direction)
735737
- `capped` operates on 3D cap edges (where profile meets top/bottom face)
736738
- Both compose freely with all shape-fns and with each other
737-
- Distance must be less than half the shortest adjacent edge to avoid overlapping cuts
739+
- Cap transition uses centroid scaling — shape proportions (including fillet radii) are preserved
738740
- Works on any shape including shapes with holes
739741

740742
**Pattern tiling:**

0 commit comments

Comments
 (0)