Wings 3D Development Forum
Playing with hexagons - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Interface & Usage (https://www.wings3d.com/forum/forumdisplay.php?fid=3)
+---- Forum: How To (https://www.wings3d.com/forum/forumdisplay.php?fid=19)
+---- Thread: Playing with hexagons (/showthread.php?tid=3164)



Playing with hexagons - ivla - 04-24-2024

How to make hexagonal structure on the cylinder surface.
(WARNING: orange is the selection color in this example)

Some theory before action:

For convenience, let's take the side of the hexagon equal to about 1 unit.
Here is the proportions:
[Image: 000.jpg]

Assume that we need 16 hexagons that fit around the circle (so we must use 32-section cylinder for that).
The formula for the circle radius is: (hex-side-length * cylinder-sections * 0.866025) / (2 * pi)

So for "one-unit" hexagon we need a cylinder of 0.5 unit height and 4.410629 unit radius.

Make it and select the vertices like this:
[Image: 001.jpg]

Delete selected:
[Image: 005.jpg]

Select upper and lower faces:
[Image: 006.jpg]

Extrude it by normal for 0.5 unit:
[Image: 007.jpg]

[Image: 008.jpg]

[Image: 009.jpg]

After extrusion use "mirror":
[Image: 010.jpg]

Repeat face selection and "mirror" as you need:
[Image: 011.jpg]

Select two edge like this:
[Image: 012.jpg]

Select similar edges (hotkey "i"):
[Image: 013.jpg]

Delete it and swittch to vertices select mode, then select one vertice like this:
[Image: 014.jpg]

Select similar vertices (hotkey "i"):
[Image: 015.jpg]

Delete selected:
[Image: 016.jpg]

Base form is ready.

(to be continued)


RE: Playing with hexagons - micheus - 04-24-2024

Hi ivla
Thanks for sharing that.

You could remove one step: "Delete it and swittch to vertices select mode, then select one vertice like this:"
For that, instead of use Delete for the similar edges selected you should use the context menu Dissolve [RMB].


RE: Playing with hexagons - ivla - 04-24-2024

How to make a cup (or glass)

Select all hexagons:
[Image: 001.jpg]

"Inset" it, use Tab key for bump:
[Image: 002.jpg]

If you like the result, you can skip next step ("Collapse"):
[Image: 003.jpg]

[Image: 004.jpg]

Select upper (round) face and "Intrude" it:
[Image: 005.jpg]

[Image: 006.jpg]

NOTE: If you make a model for the 3d printing, you should "scale uniform" or "scale absolute" whole body to the required size BEFORE "intruding". Also use numeric input (tab key) to set an "intrude" value eqial to 1 or 2 printer nozzle diameter.

(to be continued)


RE: Playing with hexagons - ivla - 04-24-2024

Another nice structure:

Use base form from the first post.
Select all heŃ…agons and switch to edge select mode (all hexagon' edges will be selected):
[Image: 001.jpg]

Use "bevel":
[Image: 002.jpg]

While those faces selected use "shell extrude"
[Image: 003.jpg]
...by normal
[Image: 004.jpg]

Then unselect all and hide/delete base form:
[Image: 005.jpg]

We need to close a lower end.
Select one edge like this:
[Image: 006.jpg]

Select edge ring (key "g"):
[Image: 007.jpg]

Switch to face selection mode:
[Image: 008.jpg]

Use "Flatten"
[Image: 009.jpg]
by Y:
[Image: 010.jpg]

Do not unselect faces, use "extrude"
[Image: 011.jpg]
by Y too:
[Image: 012.jpg]

Unselect all, select one face like this:
[Image: 013.jpg]

Select similar faces (key "i"):
[Image: 014.jpg]

"Dissolve" it (key "del"):
[Image: 015.jpg]

Note for 3d-printing:
Scale base form before other actions.
"Bevel" and "shell extrude" values must form a structure at least 2x-3x thick of nozzle diameter.

That's all. If you come up with something else interesting with this form please share it here.


RE: Playing with hexagons - ivla - 04-24-2024

(04-24-2024, 01:49 PM)micheus Wrote: You could remove one step:
Thank you for the hint.


RE: Playing with hexagons - ivla - 04-25-2024

How to make honeycomb (flat hexagonal grid):

Make a cube with such parameters:
[Image: 001.png]

Select two long edges on a top face:
[Image: 002.png]

Cut it by 3:
[Image: 003.png]

Connect vertices:
[Image: 004.png]

Leave selected these two vertices:
[Image: 005.png]

...and delete it:
[Image: 006.png]

Select two long side faces:
[Image: 007.png]

"Extrude" it by normal for 0.5 unit:
[Image: 008.png]

Select two these edge loops:
[Image: 009.png]

"Dissolve [RMB]" it (thanks micheus!)
[Image: 010.png]

Base unit is ready:
[Image: 011.png]

It can be "mirrored" by the side faces to the required size and cleaned up from unnecessary edges:
[Image: 012.png]

You can use it to make a desired structure - see above for how-to.


RE: Playing with hexagons - micheus - 04-25-2024

Hi ivla

Taking advantage of the pattern replication option you previously shown, I decide to include an short how to using another handy option using the Absolute Command->Move:
Replicating Patterns


RE: Playing with hexagons - ivla - 04-27-2024

(04-25-2024, 01:51 PM)micheus Wrote: another handy option using the Absolute Command->Move:
Replicating Patterns
Making honeycomb this way:

Here is a pattern. Make cylinder with radius=1 and sections=6 then "mirror" it on one of side faces.
[Image: 002.png]

Duplicate it by X (Absolute move [MMB]):
[Image: 003.png]

[Image: 004.png]
Select all and "weld".

Duplicate by Z:
[Image: 005.png]

[Image: 006.png]

Select and weld. Here is it:
[Image: 007.png]