Skip to content

(feat) Clean and sharpen scanned surfaces - #48

Merged
nimerix merged 5 commits into
mainfrom
feat/clean-scan-mesh
Nov 25, 2026
Merged

nimerix merged 5 commits into
mainfrom
feat/clean-scan-mesh

Conversation

@nimerix

@nimerix nimerix commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add Clean to Refine for whole parts or painted areas, with controls for smoothing scan noise, sharpening edges, deepening relief, and squaring rounded corners between faces at about 90°.
  • Add progress and cancellation, preserve refined edges and painted boundaries, and document the new settings.

Testing

  • npm run build
  • Clean and Square unit tests: 141 passed.
  • Full unit suite: 2,007 passed, 18 skipped.
  • Clean and Square browser tests: 2 passed.

Square rebuilds rounded edges where flat faces meet at about 90 degrees,
outside and inside, as sharp corners, including box corners where three
faces meet. Each rounding vertex is cast along its normal onto the corner
of the planes fitted from the nearest face patches, and the mesh is cut
along the new edge, which becomes a crease. Clean runs Smooth, Square, a
few settling rounds, then Sharpen and Depth with the new edges held.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
kitbasher 9025915 Commit Preview URL

Branch Preview URL
Nov 25 2026, 04:42 PM

@nimerix
nimerix merged commit c80a770 into main Nov 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant