Lightweight Computational Design Library
- core
- class definitions for
Vertex
,Face
,Edge
,Box
,Mesh
- class definitions for
- vec
- vector math, input and output of type
Vertex
in most cases
- vector math, input and output of type
- faceUtils
- Utilities to calculate different properties of a
Face
, e.g. normal, center, perimeter, etc.
- Utilities to calculate different properties of a
- subdivision
- CatmullClark and simple Quad-split subdivision of an entire mesh, also method to collect vertices.
- rules for mesh subdivision, input
Face
, output list ofFace
s
- factory
- Factory to create different mesh primitives like single face, cone, box, platonic solids
- polyUtils
- Utilities for
2D Polygons
, e.g. construction of circle and 2D subdivision
- Utilities for
- slicer
- Slicing tools for mesh geometry
- marchingCubes
- Create an isosurface mesh in a 3D grid of voxels
- grid
- Classes
GridManager
andGrid
, orthogonal grid in 2d or 3d, andHexgrid
- Classes
- graph
- Classes
Graph
andGraphAnalyser
(for shortest path or centrality calculation)
- Classes
- io
- Import / export of OBJ Wavefront Files
- renderP5
- Display in Processing Python Mode
- renderP5JS
- Display in P5.js for 2D graphics in Google Colab
- renderBabylonJS
- Display in Babylon.js for 3D graphics in Google Colab
- renderRhino
- Construct and load mesh geometry in Rhino