# Improve the previous Design Honeycomb structure

i don’t understand what you want exactly?

I now want to find a center point, and then randomly perform a hollow grid of materialization, but it can not appear in two consecutive. If there are two consecutive hollow hexagonal materializations, three consecutive threes cannot occur.

But now I want to achieve more red entities in the hexagonal hollow structure.

Please check the gh. Random solid.gh (21.5 KB)

if i understand you
you don’t want more than 3 hexagon converge with each other
if that what you want you can convert the final result without offset to region than you calculate the areas and compare them to (3*area of one hexagon) and cull pattern

and sorry if that not what you need

can you try with thisRandom solid test.gh (19.3 KB)

I don’t quite understand your suggestion that you calculate the areas and compare them to (3 * area of one hexagon) and cull pattern. In fact, I want to get a hexagon through a random hexagon center point, and then materialize; or get two adjacent hexagons, then materialize, and so on.

you can try this , as start point may help youRandom solid test2.gh (11.5 KB)

I tried your method and found that it could not achieve my goal. I think I have to solid my hollow hexagon manually, because I only have so many hexagons in total.Random solid.gh (21.5 KB)

@shuxin could you upload two Rhino files, one with your start situation and one with your end situation? Better said: one Rhino file with what you currently have and one Rhino file with what you want to achieve.

In this way it will be easier for people to understand where you are and where you wanna get.

You’re right. Please have a look at the document.

One Rhino file with what you currently have and the picture shows the results I need to get.

Figure 1 shows that only one hollow hexagon can be colored randomly in the red wire frame, and no adjacent hexagon can be colored. So two adjacent hexagons are colored and need to be removed. Four adjacent hexagons have also been colored and removed.

In figure 2, only two hollow hexagons can be colored randomly in the red wire frame, and no third or fourth hexagons adjacent to them can be colored. So three adjacent hexagons are colored and need to be removed. Four adjacent hexagons have also been colored and removed.

Thanks

This is what you need now?

Yeal, please check the later message.
In figure 1, only one hollow hexagon can be colored randomly in the red wire frame, and no second or third hexagon can be colored adjacent to it. So there is an adjacent hexagon in the figure that is colored and needs to be removed. Three adjacent hexagons are also colored and removed.
Random solid.gh (21.5 KB)

Bro, this is what you want?