mymesh.implicit.mixed_topology#

mymesh.implicit.mixed_topology(functions, weights, cellsize=1)[source]#

Mixed-topology surfaces []. A weighted sum of a set of functions, such as tpms() functions.

Parameters:
  • functions (callable, str) – Callable implicit function or name of a TPMS (see :fun:`tpms`).

  • weights (array_like) – Weights to assign to each function

  • cellsize (int, optional) – Unit cell size if using TPMS names, by default 1

Returns:

mixed_top – Implicit function (f(x,y,z)) of the mixed-topology surface

Return type:

callable