Skip to content

Math To Mesh (Mtm)

by EBTRR·Modeling

Images © EBTRR. Used for product review; image policy.

Why we like it

Bundles PyPip so scipy-dependent spherical functions can be installed straight from the Blender UI.

What is Math To Mesh (Mtm)?

Math To Mesh (MTM) generates meshes from functions inside Blender. Its Custom Functions Generator lets you set a name and target collection, type in a function, define the range for the x and y axes, and set the mesh resolution as the number of vertices in each axis direction. Functions can use arithmetic operators like +, -, *, / and ** for exponents, trigonometric functions such as sin, cos and tan, hyperbolic functions like sinh, cosh and tanh, constants such as e and pi, and special functions like sqrt. Generated meshes are always triangular.

A Spherical Functions Generator works similarly: you choose a name and collection, then set the Degree and Order, where the Order cannot exceed the Degree. Spherical harmonics are created using scipy, which can be installed through PyPip, a separate add-on included that installs Python packages from the Blender UI. The resulting spherical mesh is a quad and tris mesh.

Since Update 1.0.1, custom function meshes can be animated in x and y by setting an offset per axis and a step size for the number of keyframes. Keyframe interpolation is always linear.

Who is Math To Mesh (Mtm) best for?

Math To Mesh (Mtm) is best for blender users generating meshes from mathematical functions and spherical harmonics.

How much does Math To Mesh (Mtm) cost?

Math To Mesh (Mtm) is completely free to download and use.

Key features

  • Custom Functions Generator that builds a triangular mesh from a typed function with configurable name, collection, axis ranges and per-axis vertex resolution
  • Support for arithmetic, trigonometric and hyperbolic functions, constants like e and pi, and special functions like sqrt
  • Spherical Functions Generator using Degree and Order settings, producing a quad and tris mesh via scipy
  • Animation of custom function meshes in x and y via axis offset and step size, with linear keyframe interpolation
  • Includes PyPip, a separate add-on for installing Python packages from the Blender UI
  • Documentation included

Tags

#Blender#mesh generation#mathematics#procedural#spherical harmonics#animation#add-on

Frequently asked questions

How does animating a function work in Math To Mesh?

Math To Mesh lets you animate custom function meshes in x and y, a capability added in Update 1.0.1. You set an offset for each axis you want to animate and a step size that determines the number of keyframes. At the nth step, x takes the value of the original x plus n divided by the number of steps, multiplied by the offset in x. Keyframe interpolation is always linear. High-resolution meshes with hundreds of keyframes can consume a large amount of RAM, so resolution and step count both affect memory use.

Why does Math To Mesh need PyPip and scipy?

Math To Mesh generates spherical harmonics using scipy, and it includes PyPip to help you install it. PyPip is a separate add-on, distributed as PyPip_1_0_0.zip in the Download Area, that lets you install Python packages and libraries from the Blender UI into Blender's Python interpreter. Once scipy is installed through PyPip, the Spherical Functions Generator can build meshes from the Degree and Order you specify. The Order cannot be greater than the Degree, and the resulting mesh is a quad and tris mesh.

Is Math To Mesh free to use?

Math To Mesh is listed as free in this catalog. For current licensing terms, confirm the details on the developer's page before downloading. The add-on is made by EBTRR, who also lists other products and provides a Discord for questions, feature requests and bug reports, along with the Blender Market contact form. A demo video is also available if you want to see more before installing.

What kind of mesh does Math To Mesh produce?

Math To Mesh produces different mesh types depending on the generator. The Custom Functions Generator always creates a triangular mesh, where every face is a triangle. You control the result by setting the axis ranges and the mesh resolution, given as the number of vertices in each axis direction. The Spherical Functions Generator instead produces a quad and tris mesh. Its vertex count is lower than the square of the mesh resolution because the add-on automatically merges the start and endpoints of the mesh.

Similar plugins