I need a clue to model this pattern(10-print)

I googled the image, and similars came up, but not this one.
So I need the community to help me identify the pattern’s name and if possible, a small hint to model it in GH.
Thanks!

Edit after solved: I added the name of the pattern to the title, 10-print.

That’s some sort of maze. I have no idea where in the maze universe belongs (nor I have any interest to know).

Bad news: Unlikely to do it without code.
Good news: Laurent is your guy :

That said there’s tons of maze related stuff published around. Like this simple one:

https://www.codeproject.com/Articles/94746/A-Simple-C-Labyrinth-and-Maze

1 Like

This is called a 10 PRINT program, which generates this maze-like structure by simply arraying foward and backslashes, or any other character, randomly row by row.

╱╲ ╱ ╱ ╲ ╱ ╱
╲ ╱ ╲ ╲ ╱ ╲
 ╲ ╲╱ ╱ ╲  ╲
╱ ╲ ╱ ╲ ╲ ╲
╱ ╲ ╲ ╲ ╱ ╱
2 Likes

Thank you! I Got it!

Thank you! Actually, I tried Maze with the Parakeet plug-in before this question. But with the maze pattern, I can not get rectangles inside, so I guess they are a little bit different.

If by accident you code (otherwise abandon ship - unless some suitable add-on is available) get this enrty level “classic” Maze C# thingy (no solver (*) is included, mind) … get the gist of the Methods used and then modify whatever you want.

Maze_EntryLevel_V1.gh (117.3 KB)

(*) Solving any Maze is about mastering backtracing.

See this as well (but is this LOL Maze solvable? that’s the big question):

Maze_LOL_EntryLevel_V1.gh (15.3 KB)

1 Like

Also very near from that, but not random

and that

And it is very simple to make with quad mesh



10 print truchet diagonal.gh (85.7 KB)

Its is also possible to remove dead ends

4 Likes


ten_point_2022_Nov9a.gh (14.9 KB)

1 Like

truchet 10 print pattern.gh (25.1 KB)

Made it! Thank you all for the help.
This solution is mine before seeing the elegant solutions above. May it can offer another idea on it.


There’s something wrong when a square loop (i.e. NE, SE, SW, NW) is encountered. Result should look like this:

1 Like

Thank you! Got it!

PS: That’s a good entry level take on coding (and Classes: the Maze_LOL_EntryLevel_V1 posted above doesn’t use any). So … if at some future time you’ll start walking the walk (C#) … drop a word.

3 Likes