Prism Morphing

Sorry for the confusion.

In Rhino 8 there is a GH1 component (not a plugin) called MorphToMesh which morphs from reference polygons to prisms automatically created from each face or Ngon of a mesh as shown here and here. So you get a copy of the geometry in each cell of the mesh.

My script above shows how it is also possible to use this prism morphing directly from a script, so you control the individual prisms instead of them being automatically created from a mesh.

Like with box morph, the reference prism is always an extrusion of a flat polygon, and it defaults to one of unit height, which is why no reference input was needed in the script. You could add an input if you wanted, and apply the appropriate vertical scaling.

Mesh cage (and its earlier variants MeshCageMorph/MeshCageMorph2) is something entirely different, not so relevant to the discussion here about prisms, but to try and clear things up:

This morphs geometry from one mesh cage to another, where these meshes can have any topology, not just simple prisms.

Mesh Cage is now a standard component in GH1 in the WIP (not Rhino 8).

With this and all the variations previously shared in plugins, they take just a standard mesh for the reference and target. It is referred to as a cage because it was originally created as an alternative to the older Rhino Cage Morph.

These meshes should ideally be closed (it will not reject open meshes, and small holes usually aren’t a problem, but closed meshes will behave more predictably).

MeshCageMorph was the earliest version of the plugin, which works on a list of points.

MeshCageMorph2 was a later plugin, which works on any geometry including Breps and trimmed surfaces. However, the methods required for trimmed NURBS fitting prevent caching weights and make it very slow when the contents are things like meshes or SubDs where you can just move the control points.

Mesh Cage is the newer version in the WIP, which uses the faster method for meshes and SubDs, falling back to the slower fitted version for Breps.