OManifold
module Cross : sig ... end
Two-dimensional cross sections guaranteed to be without self-intersections, or overlaps between polygons (from construction onwards)
module Manifold : sig ... end
Manifold triangular meshes representing 3d solid objects
module Quality : sig ... end
Quality globals akin to OpenSCAD's facet governing "special" parameters, $fn
, $fa
, and $fs
. These are global variables that are handy for quickly switching from quick and dirty rough iteration quality to computationally expensive smooth final products.
Manifold provides a level set algorithm for the generation of manifold meshes from signed distance functions (positive inside, negative outside). Unfortunately due to the OCaml runtime lock, only sequential (without multiprocessing or GPU acceleration) execution of sdfs defined here are possible, thus performance will be slower than using Manifold or another SDF CAD library such as libfive directly.
module Sdf2 : sig ... end
2d signed-distance functions (extrudable to 3d)
module Sdf3 : sig ... end
3d signed-distance functions (convertible to mesh/manifold via a level set algorith)
module MMeshGL : sig ... end
A graphics library friendly representation of manifold's internal mesh. Obtained via Manifold.to_mmeshgl
, or constructed directly with MMeshGL.make
module Export : sig ... end
Writing manifold meshes to disk via Open Asset Import Library (assimp)