Creating an octagon from a grid

   2934   8   0
User Avatar
Member
75 posts
Joined: Dec. 2017
Offline
I'm new to Houdini and I want to create an octagon for use as a primitive. How can I create an octagon from a grid?
User Avatar
Staff
3455 posts
Joined: July 2005
Offline
do you want to make an octagon or do you want to make a grid of octagons?
you can take a circle SOP, polygons, Divisions = 8
to get an octagon
but Octagons will NOT tile, this is the best you'll get:
Edited by goldfarb - Aug. 23, 2018 11:52:41
Michael Goldfarb | www.odforce.net
Training Lead
SideFX
www.sidefx.com
User Avatar
Member
7737 posts
Joined: Sept. 2011
Offline
You're not thinking hyperbolically:

User Avatar
Member
75 posts
Joined: Dec. 2017
Offline
goldfarb
do you want to make an octagon or do you want to make a grid of octagons?
you can take a circle SOP, polygons, Divisions = 8
to get an octagon
but Octagons will NOT tile, this is the best you'll get:
An individual octagon.
User Avatar
Staff
5156 posts
Joined: July 2005
Offline
You can boolean a 2x2 grid with a 45' rotated copy of itself. Grid > Boolean input #1, Grid > Transform (ry=45) > Boolean input #2.

Edit: Or just Circle SOP, Polygon, 8 divisions - though it's not as nicely aligned.
Edited by malexander - Aug. 23, 2018 14:01:56
User Avatar
Member
75 posts
Joined: Dec. 2017
Offline
twod
You can boolean a 2x2 grid with a 45' rotated copy of itself. Grid > Boolean input #1, Grid > Transform (ry=45) > Boolean input #2.

Edit: Or just Circle SOP, Polygon, 8 divisions - though it's not as nicely aligned.
What about a octagon with subdivisions like this one.
Edited by Bennell - Aug. 23, 2018 14:22:16

Attachments:
Octagon.JPG (54.6 KB)

User Avatar
Staff
3455 posts
Joined: July 2005
Offline
try this

Attachments:
octagon.0.hip (70.2 KB)

Michael Goldfarb | www.odforce.net
Training Lead
SideFX
www.sidefx.com
User Avatar
Member
7737 posts
Joined: Sept. 2011
Offline
A tube?
User Avatar
Member
75 posts
Joined: Dec. 2017
Offline
goldfarb
try this
Thanks.
  • Quick Links