Closed crabdancing closed 1 year ago
Thank you for the question. Sorry for the delay in updating the document.
The tessellation API is in truck-meshalgo::tessellation
.
use truck_meshalgo::tessellation::*;
let solid: Solid = ...
// Create a solid with polyline as curve and trimmed polygon as face
let mesh_solid = solid.triangulation(0.01);
// Merge meshes
let mesh = mesh_solid.to_polygon();
Oh, awesome, thank you!
E.g.: