Skip to content

Sdf mesh 2½D

eadf edited this page Dec 2, 2023 · 2 revisions

This edit operation involves taking the output of the centerline operation and passing it through an SDF mesh generator.

Input:

centerline_out

Output:

sdf_mesh

Each edge of the centerline output is replaced with a SDF cone, where the radius of the cone endpoints is the absolute value of Z (Z.abs()).

The resulting mesh will maintain the same 2D outline as the centerline input geometry.

It's advisable to de-duplicate the vertices to ensure the mesh is watertight.

Clone this wiki locally