Jump to content

Recommended Posts

I don't often play with it, but today I was trying to really nail down the functionality of the Honeycomb Array Mode of the Cloner object.

 

So I started by creating a hexagon of a nice even size (disc primitive, with axis rotated 30 degrees, although I also tried it without that adjustment). Here it is before it went in the cloner.

 

89597490_Honeycomb01.thumb.JPG.c78f37619f82be4e635d0cbe3e2b6d08.JPG

 

So then I put that in my cloner, set my modes up and wondered what sort of numbers I'd need to get a square grid of them perfectly aligned in a honeycomb, like this. 'It'll be some multiple of 10 or 20, or maybe half that value', I mused to myself...

 

2072752686_Honeycomb02.thumb.JPG.e6ed48613b32e5bcc9a99560c8328622.JPG

 

.... some time later I chanced upon the correct numbers, which were this...

 

1938715246_Honeycomb03.JPG.f66eb5125bef1eb10800c475af7cffb6.JPG

 

My question is, what is the relationship between the physical dimensions of my hexagon, and the Size Width / Size Height parameters required to produce perfect tiling ? I mean I know we can get there by patiently moving the values until they are vaguely right and weld them later if needed, but isn't there some formula we can apply to say the width of our cloned object to find out what exact numbers we will need here. Or perhaps I am basing stuff on the wrong measurements ?

 

Apologies if I am being thick, or missing something obvious, but if that is the case, I will be delighted if someone would point out what !

Or are you all setting up your honeycombs by just fiddling with numbers until it looks OK ?  :)

 

Cheers

 

CBR

 

 

 

Share this post


Link to post
Share on other sites

  • Topic Author
  • Ok guys, thanks for all input so far.  I have made some progress too, and now perhaps understand what the relationships are, if not why. As it goes, the why doesn't matter so much to me. But @kingcoma was right to get me to measure the other distance, which I did below...

     

    1234530522_Honeycomb04.thumb.JPG.08e4c3a3d371ec6ced6f9fa03d89edc6.JPG

     

    And now I can see a relationship between the numbers !

     

    Check this out - Size Width is exactly half the 17.321 measurement, and Size Height is exactly x1.5 of the other (20 cm) dimension !

    For some reason they are the wrong way round from what I would expect (17.321 is the height isn't it ?), but at least the numbers sort of make sense.

     

    685960270_Honeycomb05.thumb.JPG.b8317eaed79faef5c5495ef0b409251f.JPG

     

    Or do they ? Is that right ? :) I'd better go try that on some other sizes...

     

    CBR

    • Like 1

    Share this post


    Link to post
    Share on other sites

    hex.PNG.d5f4397709038bb26980347d54d3d78a.PNG

     

    There's 2 radius

     

    R = length of side

    r = R * sqrt(3) / 2 = R * 0.866 approx

     

    in one direction the step is 1.5 * R

    other direction step is r * 2

     

    for your obj with length 10, this equates to 15 and 17.32

     

    nums.png.0cb1255a61a79dfc56dfa6d1db6ab2ec.png

     

    square root of 3 is not an exact number

     

    https://en.wikipedia.org/wiki/Hexagon

    • Like 4

    Share this post


    Link to post
    Share on other sites
  • Topic Author
  • Excellent, thanks @jed that's much clearer :) We'll call that one solved then...

     

    CBR

    Share this post


    Link to post
    Share on other sites

    A bit more on that pesky root 3

     

    2034674030_cafemath.png.9533ab7b62931b675cd7836eb1b675df.png

     

    Pythagoras

    • Like 2

    Share this post


    Link to post
    Share on other sites

    @Cerbera

    I know this topic is marked as solved, but you could also look into explanations of the Unit Circle, I've seen used to used to calculate a position along the circumference of a circle using divisions of Pi * Radians. 

     

    Tim Clapham from HelloLuxx gave an interesting talk using this technique to contract a honeycomb with some Xpresso and Math nodes a few years back.

    https://www.cineversity.com/vidplaylist/Siggraph_2015_rewind/siggraph_2015_rewind_tim_clapham_unleashing_creative_possibilities_with_c4d

    • Namaste 1

    Phil Richards, www.fugidesign.co.uk

    Share this post


    Link to post
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


    • Recently Browsing   0 members

      No registered users viewing this page.

    YOUTUBE CHANNEL:

    ABOUT US:

    C4D Cafe is the largest CINEMA 4D community. We provide facilities for discussion, showcasing and learning our favorite software :)
    ×
    ×
    • Create New...