Kjell shared a neat technique that allows to imitate new "kinds" of parametric mesh producers (such as MeshTorus or MeshSpiral). I did a quick search and it seems it isn't explained anywhere on the forum, so with Kjell's blessing I decided to amend that.
Here's how:
1. Drag and drop some Variable components into your Mesh. You can't just add them right there (BTW, Ville, why is that the case? Kjell's guess is that it's because the graph editor doesn't support it), so you have to declare them somewhere else and then move them.
2. Then from the other mesh you can set the variables using a ZExpression and end with a RefreshContent + MeshLoad, like so:
Code: Select all
TorusThickness = 1;
TorusRadius = 4;
@RefreshContent(Component:TorusMesh);
@MeshLoad(Mesh:TorusMesh);