Repository navigation
Conversation
The build grows the painted faces outward by a world-space width, fixes the new outer border instead of the painted edge, and gives every welded vertex a blend that the evaluator applies once in the welded world buffer. The model reports which faces and grid nodes are painted, and the seam readout and Close gap use painted vertices and nodes only.
A switch and a width for painted regions, off by default, starting at the brush radius and remembered for the page session. Handles can be added only on painted faces and rebinding drops the rest. The grid overlay draws nodes where the surface is written, and the panel says when the mesh beside the paint is too coarse for the width.
Warp's region brush starts at 3 % of the part's size and keeps what the user sets for that part. Its slider is logarithmic from 0.1 mm to a quarter of the part's size, and the cursor, region painting and the brush-size shortcuts all read it through warpBrushRadius. Align's brush radius, slider and shortcuts are unchanged.
Grid edges are fat lines from one shared endpoint buffer: a 2 px dark core over a 4.5 px light casing, so they reach 3:1 contrast over light, dark and Distinct colours in every lighting preset. On convex surfaces each edge is pulled toward the camera by its estimated dip under the surface, so its middle is no longer hidden. Pixel probes cover visible length, the far side and thin shells, and contrast.
Blend the band and restore the outer border's unindexed normals in short passes over cached lists, so the per-vertex and per-face loops stay as they were. Grow and blend over the vertices near the band rather than the whole mesh.
…adius and falloff Guides add one diagonal and one right-hand-side term per node. Their nodes and stiffnesses key the cached system and their targets do not, so a drag keeps the system; without guides the solve is unchanged. warp-handles turns handles into sample constraints and guides: reach, weights, baselines, rebuilding after a settings or grid change, and farthest-point distribution of new points.
… pins A control point is now a handle with one sample, a shared radius and falloff, an automatic mark and one target. The session solves the handles' guides with their samples, rebinds their reach after a density or region change, and records radius and falloff in session undo, one step per slider gesture. Distribute points adds evenly spread pins as one undo step. The first grid over effectively the whole part places them itself unless turned off, and Close gap releases untouched ones by the seam in the same step. Whole-part tests now choose their pin policy explicitly.
…id spacing With a band of a quarter radius, a hard-edged plateau left a dip of a fifth of its height around it; half a radius keeps it under two percent. The edge can now be as narrow as one grid spacing, so falloff still changes the shape at common radii.
The Control points section edits the radius and falloff of the selected points, or of new ones, sending slider changes once a frame and recording each gesture once. Distribute points adds the chosen number of pins, and the Region stage offers to place them automatically over a whole part. Automatic points draw smaller and dimmer, and the selected points show the nodes they move.
The existing cases keep a bare point so they measure what they did before.
…edge Growth now spreads only across shared edges, through fans of faces that meet at each vertex, so it no longer crosses onto another surface through a lone shared vertex, and that vertex stays fixed while its other fan is outside. Unpainted mesh boundaries and hole rims inside the band are fixed and the blend falls to zero at them. Where the band would cover everything left of a connected piece, its farthest ring stays unjoined as an anchor and the panel says so. Blend distances use transformed local edge lengths, so a far translation keeps them finite, and a vertex as near the border as the paint stays still. The coarse-mesh warning appears only when the paint borders something. Feathering off, at width 0 or joining nothing is checked against bytes from the code before feathering.
Close gap tested each node's rotated rest normal while the seam readout used the area-weighted normal of the written surface, so near the 60 degree cutoff one could include a node the other left out. Close gap now computes the same written normal for the settled surface around each node, with the evaluator's own skinning, and the two agree after a feathered drag.
The session records the feather its grid was laid with. A density change, and a session reopened after a live refusal, rebuild with that width instead of the page option, which still sets the width when the grid is laid from the region stage.
Each grid edge is traced over the region's triangles along the plane through its chord and the surface normal, so every piece of the line lies in one triangle. Points are kept only where they bend the line, up to 32 per edge and 64,000 in all, and are recomputed in place from the written surface each time it changes. Lines are drawn in the part's own space with normal depth testing, so a mirrored or unevenly scaled part draws the same, and nothing shows through a thin shell or a nearer face. During a large-region drag the points follow their edge's nodes until the surface catches up. Line widths follow the grid's projected cell size, fading as the grid closes up, and each line's sides lie on the surface's tangent plane. The grid now has its own component file.
Each part keeps the radius set on it for the page session, through strokes, Apply, Cancel and switching parts. Every step of a logarithmic slider now sets a value that shows that same step, so arrow keys move it from either end.
Each dense vertex followed a blend of its nearest nodes' rigid transforms, and near a node it held that node's rotation all the way, so the written surface was a patchwork of tangent planes with kinks between them. On a sheet whose nodes were set from an every-vertex solve, that skinning error was 0.94 deg at the 95th percentile and 2.91 deg at most across adjacent faces. Two changes, at the same cost per vertex. Each node now carries a vertex from half its own rest position and half the weighted centre of the vertex's nodes, which integrates the rotation along the way by the trapezoid rule. And the inverse-distance weights are nudged, at bind time, toward putting that centre on the vertex in its tangent plane, damped so that weights do not switch between nodes inside a few fine triangles. The same error is now 0.50 deg and 0.95 deg. Grid nodes' own vertices still land exactly on their nodes, rigid node motion stays rigid, and control point bindings carry the same offsets so the solve still models the written surface.
The six-ring crease tests now drag a cluster that ends 2.5 mm inside the paint, which gives an 8 to 15 degree crease without feathering, and hold the band to a fifth of it at both edges on regular, irregular and mirrored sheets. The wider band under a centred drag keeps its own test. At the default density, where skinning sets what users see, the change in slope across a strip either side of the painted edge must be no rougher than the paint just inside it, and a drag beside the painted edge must lose its crease. Feathering off, at 0 or joining nothing also writes the same bytes on a mesh with many vertices between grid nodes.
…n test limits Growth now accepts an edge-connected piece of the grown region as held only when it keeps a fixed boundary edge, which grid simplification locks. A lone fixed vertex, such as a face touching a closed part at one point, no longer counts, so the farthest ring stays as an anchor. After the grid is built, any piece holding band faces with fewer than two fixed nodes drops the feather and builds the unfeathered region, and the panel says so. The panel shows at most one feather warning: the anchor explanation when anchoring took the band, and the too-coarse warning only when nothing joined and nothing was anchored. The default-density roughness test gets absolute limits on both strips, and the centred six-ring drags on the regular and irregular sheets are back as recorded measurements at 0.219 and 0.271, above the design's 0.20.
…e set The cache is a Map, so a part named like an Object property gets its fitted radius. Opening or starting a scene empties it, and a removed part's radius is kept only while local undo or redo can bring the part back.
A handle's guides now start from a snapshot of the settled grid, shared by every handle and undo step made on it. Reach is measured along the surface and cannot cross a fold. Moving terms are never stronger than the handle's own offset, holding terms give way where another handle drives, and nothing depends on the order handles were made or moved. Guides switch on smoothly between one and two node spacings of radius, so the surface is continuous in the radius. Whole parts start on a finer grid, and a new point's default radius reaches a few node spacings. Laying the same region again keeps the grid, a real rebuild carries each snapshot over once, undo restores each step's settled grid and new-point settings exactly, and points that could only sit on fixed nodes are dropped. Radius and falloff changes only recompute reach and weights. Close gap releases the automatic points that would hold its seam open, on its own surface only, and distribution seeds every empty piece of the region first. The panel gives each slider gesture one owner that ends once, and the reach dots keep their buffers while targets move.
Undoing it rebuilds the grid it replaced and restores the region, handles and surface exactly. Steps recorded on earlier grids keep their stand-ins and grid steps, so a density change made before the re-lay still undoes.
The sample spacing now comes from the first spot on the dab that can hold. With none, the stroke is refused and the user is told to paint farther inside.
A line keeps its longest unbroken run of painted samples and its drawn path between them, an area its largest connected piece of painted faces. Each is centred on what is left and keeps its offset. A line with fewer than two samples left is dropped with the notice that points were removed.
…ar side A press on a part in front of the warped one starts no stroke. A stroke that starts drops an Apply waiting for the surface to settle, and choosing another Add mode during a press discards the stroke. Line and area drawings lay each corner of their width on the surface's tangent plane and stand off it by a pixel or 0.05 mm, instead of 4 pixels, so a 0.2 mm wall hides them from behind while a sloping surface still shows them whole. The ridge test now probes the written surface at spots picked on screen, including both ends.
… fan The grid keeps every vertex of a fixed border or open edge, so where its inside is sparse a node inside drew a fan of lines to dozens of them. Edges between nodes inside and along the outline are all drawn; from each node inside, at most four to the outline, each as far as can be from its other lines; none across the inside between two outline nodes. The grid's typical cell now leaves out the outline, whose edges run at mesh resolution.
…e panel Close gap withholds its targets around the samples of stationary points, lines and areas the user placed, ring by ring, until a settled trial moves none by more than 0.005 mm. The seam stays open there and the panel says why. A shortfall now names its cause in one sentence: a point the user placed beside it, the fixed edge with what to do about it, or Close gap. A drift names Close gap when its targets are nearer than any moved handle.
Each line carries ink in proportion to its cell's size, so the grid lays about the same ink on the part at any density or zoom: full width and opacity from 40 px cells as before, fainter and thinner below, with a floor so a shown line stays visible. The casing follows the same rule with a higher floor, its coarse nets hand over with the core's, and an edge of two nets adds their strengths so it stays whole as one hands over to the next.
The 3:1 contrast checks now run where cells are 40 px or more on screen, on surface facing the camera squarely. Coverage bands give way to an ink budget at every density and a visibility floor on every colour, measured as the share of the part's pixels the grid changes by more than 1.2:1. New tests hold each node inside to a few lines to the outline, on the plate at the coarsest density and on a painted disc.
Where the surface between two kept samples stands off their chord by more than 3.5 % of it, the hit farthest from the chord is kept too. A short line over tight curvature on a coarse grid then holds the surface along its length instead of only at its ends.
A line's footprint now also takes every free node its drawn path is bound to, for every line, in place of the rule that did so only for short curved lines within a band of radii. Nodes a hit was bound to that the guides held only partly raised or sank the surface between the samples, and the rule's limits made the lift jump where a line crossed them.
Each field that differs across the selection shows no value with a Mixed placeholder and its slider no thumb, and a value entered there sets every selected point as one undo step, even one equal to a value some already have. The line under the fields says what a new point will actually take.
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
kitbasher | 86774ad | Commit Preview URL Branch Preview URL |
Nov 19 2026, 04:12 AM |
Owner
Author
|
Superseded by #35, which contains every commit on this branch. |
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.
Summary
Testing