Polygonal truchet morph

This is in response to this question

just breaking it off here into its own thread

Here’s an example :slight_smile:


polytruchet.gh (118.3 KB)

In this example you can provide a list of geometry options for each type (pentagons/hexagons/heptagons) and it picks randomly. It would also be possible to adapt this if instead of random selection you wanted it to pick based on some local criteria.

I’d been meaning to make something like this for a while, as having only one input for each polygon type is rather limiting.

16 Likes

One of the things I had in mind for this was applying textures like that used for the PS5 controller. This remeshing based approach works on freeform shapes that would otherwise be tricky to parametrize seamlessly while keeping the texture size similar across the shape:


polytruchet2.gh (760.6 KB)

10 Likes

Amazing! thank you.

2 Likes

Thanks Daniel. I recently used the MorphToMesh component and the script in this topic made me think. Using the MorphToMesh component, the fixed size and position of the reference polygons required scaling and orienting of my geometry. Similar to the script inputs above, separate inputs for reference polygons would be really useful in the MorphToMesh component…

2 Likes

I’m trying to do the same thing now and having to scale my geometry to fit exactly inside the reference polygons.

It would be nice if there was an option to scale to fit automatically so the resulting MorphToMesh was watertight with no gaps…