Metamaterials#

OpenVCAD represents architected materials by separating a reusable unit cell from the cell map that places and deforms its repetitions. The same TPMS or graph cell can therefore be tiled in a rectangular block, graded across a part, clipped by ordinary geometry, or mapped onto CAD faces without changing its topology.

This section assumes you have completed Getting Started and Functional Grading. It is written for researchers and engineers who already work with lattice structures and want to understand OpenVCAD’s map-first Python workflow.

Guide sequence#

Guide

Focus

Primary Python interfaces

Concepts and representation

Unit cells, TPMS fields, graph cells, and the role of a CellMap

ImplicitUnitCell, GraphUnitCell, CellMap

TPMS and lattice catalog

Built-in cells, their parameters, and filling ordinary geometry

tpms, graph_lattice, named builders

Custom unit cells

Build graph and implicit cells with Python, then tile and conformally map them

GraphUnitCell, ImplicitUnitCell, graph_lattice, tpms

Stochastic Voronoi and Delaunay lattices

Build irregular beam and plate lattices from graded point distributions inside implicit hosts

sample_points_in_host, voronoi_graph_lattice, delaunay_graph_lattice, plate builders

Functionally graded geometry

Composing scalar and vector fields to grade thickness, radius, spacing, and topology

FloatAttribute, Vec3Attribute, DerivedFloatAttribute, CellMap

Attribute modeling

Named scalar, vector, color, and material fields in map and component scopes

set_attribute, mapped coordinates, struts, joints, plates, shell

Cylindrical and spherical cell maps

Place familiar unit cells in ideal pipes, sleeves, spherical shells, and bands without CAD

cylindrical_cell_map, spherical_cell_map

Conformal mapping CAD surfaces

CAD authoring, face selection, and curved cell maps from exact surfaces

CADModel, cell_map_from_cad_face, cell_map_between_cad_faces

Conformal mapping triangle meshes

Flattened triangle-mesh patches, trimming to the true boundary, and mesh/CAD pairing

TriangleMeshSurface, cell_map_from_surface, cell_map_between_surfaces

Heterogeneous conformal lattices

Sharp, mixed, and overlapping topology regions on one shared map

Intersection, Union, Mix, CellMap

Geometric characterization

Density, surface, channel, section, connectivity, topology, and graph metrics

properties.characterize, properties.characterize_graph_cell

Read the concepts page first if the map-first representation is new to you. Geometry grading and attribute modeling are separate workflows and can be used independently; the conformal guides build on both.

Metamaterials guides