Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

**First time visiting? Here are some places to start:**

- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

# How to achieve equal distances in a hexagon bee pattern?

Voyager
Member Posts:

**19**EDU
Hey, I want to create a hexagon bee pattern on the lid of my raspberry pi case.

Like this:

But as seen, I cant get the distances to be same.

I first made a sketch:

Extruded it as new and made a horizontal pattern out of the upper hexagon, the same I did to second hexagon.

Then I again made a vertical pattern out of the previous patterns, but I cant get those distances to be the same.

I have no idea how to solve it mathematically right now, could you please help me?

Thanks!

Like this:

But as seen, I cant get the distances to be same.

I first made a sketch:

Extruded it as new and made a horizontal pattern out of the upper hexagon, the same I did to second hexagon.

Then I again made a vertical pattern out of the previous patterns, but I cant get those distances to be the same.

I have no idea how to solve it mathematically right now, could you please help me?

Thanks!

Tagged:

0

## Answers

735✭✭✭https://cad.onshape.com/documents/eeff86f87f2b3be9ae6915b8/w/c75821c5084576f01fba38b9/e/548ba7439931b031def3ac06

2,0771337You could pattern this in the sketch, but it can take more time to compute, and is hard to make parametrically flexible. A better way is a feature pattern. My Linear Pattern Plus feature can be helpful for things like this. Here's an example.

Website: ovyl.io

9✭It looks like you have a vertical or coincident relation between a vertex in the lower hexagon, and the right, vertical side of the upper hexagon. If you remove this relation you might be able to figure out another one that would suit you better. try making the parallel distance between hexagon sides equal to twice the x distance between hexagon centers

198PROLinear pattern plus is a fantastic tool, the OnShape community is in your debt. I am having trouble with one part though where I want to create some holes evenly over a board, the distance of the first hole from the start of the board and the distance from the last hole to the end of the board aren't equal though. I'll get it but I just need to play around with the settings I was wondering if it would be possible to add a mirror option so that all additional instances are evenly spaced between the seed and mirrored instance. The tool could then just measure the distance between theses instances and place all the other instances between this would solve my issue but additionally removes the chance for error where the user needs to input an offset for the seed feature and for the offset distance.

5,6312,0771337Website: ovyl.io

198PRO@NeilCooke thanks for the advice. I tried fill pattern but it would require a lot of extra geometry calculations compared to just the offset for linear pattern plus. I'm sure I'll find another use case for it though.