Itoo Software Forum

Author Topic: Need some help with Hexagon alignment  (Read 419 times)

IVORM

  • Newbie
  • *
  • Posts: 23
Need some help with Hexagon alignment
« on: January 04, 2021, 04:57:09 PM »
Hello,

I need some help from you guys for aligning a Hexagon in a nice manner by using a macro.
Please see my screendump and example file. Inside the Hexagon there is also a Pentagon. I am not sure which one is better for tiling.
I hope there is someone who is willing to help me out.

Cheers.

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Need some help with Hexagon alignment
« Reply #1 on: January 04, 2021, 05:50:39 PM »
Hi, I would recommend checking this topic.
If You have any questions after, please ask.

Rokas

IVORM

  • Newbie
  • *
  • Posts: 23
Re: Need some help with Hexagon alignment
« Reply #2 on: January 04, 2021, 05:58:47 PM »
Thank you Rokas, I will try it out right away!

IVORM

  • Newbie
  • *
  • Posts: 23
Re: Need some help with Hexagon alignment
« Reply #3 on: January 04, 2021, 06:38:24 PM »
Hi Rokas,

Unfortunately I can't get the second row to move on de x-axis.
Am I doing something wrong?

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Need some help with Hexagon alignment
« Reply #4 on: January 04, 2021, 09:46:17 PM »
the same mentioned post has Pattern macro. You can use it or Your own math logic to translate every second row.



You can try these parameters. Hope this helps.
If you attached Your situation where You are stuck it would be easier to help.
« Last Edit: January 05, 2021, 08:14:50 AM by Rokas »
Rokas

IVORM

  • Newbie
  • *
  • Posts: 23
Re: Need some help with Hexagon alignment
« Reply #5 on: January 05, 2021, 09:47:35 AM »
That's a great start of the day...that did it trick!
Thks for your time and effort.

IVORM

  • Newbie
  • *
  • Posts: 23
Re: Need some help with Hexagon alignment
« Reply #6 on: January 05, 2021, 11:46:51 AM »
I would like to add this pattern on a wall (house) with different angles.
Do I have to make closed splines from all angles to attach it to the walls or can I use 1 surface?

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Need some help with Hexagon alignment
« Reply #7 on: January 05, 2021, 11:48:23 AM »
Do I have to make closed splines from all angles to attach it to the walls or can I use 1 surface?
First, closed splines.
Rokas

IVORM

  • Newbie
  • *
  • Posts: 23
Re: Need some help with Hexagon alignment
« Reply #8 on: January 05, 2021, 12:05:17 PM »
Rokas,

The Closed splines work, but I can't get them to fill them completely.
I tried the expand option but that doesn't fill the gap.

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Need some help with Hexagon alignment
« Reply #9 on: January 05, 2021, 12:14:29 PM »
max file, please.
Rokas

IVORM

  • Newbie
  • *
  • Posts: 23
Re: Need some help with Hexagon alignment
« Reply #10 on: January 05, 2021, 12:33:14 PM »
Here you go Rokas.
Thks!

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Need some help with Hexagon alignment
« Reply #11 on: January 05, 2021, 12:55:13 PM »
Thanks

You could increase expand value to bigger values and it should work.
However, with this simple pattern it is more efficient to create more optimized translation logic:


Hope this helps.
« Last Edit: January 05, 2021, 01:24:04 PM by Rokas »
Rokas

IVORM

  • Newbie
  • *
  • Posts: 23
Re: Need some help with Hexagon alignment
« Reply #12 on: January 05, 2021, 01:50:04 PM »
I really would like to see what you have done Rokas.
Can you please save it for 3dsmax 2020?
« Last Edit: January 05, 2021, 02:44:56 PM by IVORM »

Dragan

  • Hero Member
  • *****
  • Posts: 879
Re: Need some help with Hexagon alignment
« Reply #13 on: January 05, 2021, 04:36:52 PM »
Hi,
he probably used Conditional Y Counter Multiple of 2 to get every second row. And with two Transforms node, he just shifts X position and bottom padding.
Also, you can attach everything to one spline.

IVORM

  • Newbie
  • *
  • Posts: 23
Re: Need some help with Hexagon alignment
« Reply #14 on: January 05, 2021, 05:43:26 PM »
Hi,
he probably used Conditional Y Counter Multiple of 2 to get every second row. And with two Transforms node, he just shifts X position and bottom padding.
Also, you can attach everything to one spline.

Thks Dragan for helping me understand the Conditional node.
Do you know a solution for aligning the pattern on both corners?