cfry / dde

Dexter Development Environment
Other
44 stars 25 forks source link

Develop normal paths over a mesh surface. #108

Open JamesNewton opened 5 months ago

JamesNewton commented 5 months ago

I think we can use three.js raycasting to find normals to a mesh, and then move past the mesh surface by some distance along the normal. This distance could be the radius of a grinding tool for example. This demo does /exactly/ that: https://sbcode.net/threejs/raycaster/

So the steps are