A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: 6 sided polygon

  1. #1
    Senior Member
    Join Date
    Apr 2001
    Posts
    246

    Smile

    does anyone know how ican create a 6-sided polygon in swft3d?

  2. #2
    supervillain gerbick's Avatar
    Join Date
    Jul 2000
    Location
    undecided.
    Posts
    18,986
    open up extrusion editor. plot out a six pointed object like



    and then switch back to the Scene Editor, and you will see a solid hexagon, that looks like



    hope that helps!

  3. #3
    Senior Member
    Join Date
    Apr 2001
    Posts
    246
    thats awsome..is there way to increas the depth..so the depth on each side is even

  4. #4
    supervillain gerbick's Avatar
    Join Date
    Jul 2000
    Location
    undecided.
    Posts
    18,986
    yes. highlight the object, and the main palette will be on your upper left within the program. click on Sizing, and then change your depth. Sizing is right under Bevels.

    no disrespect, but I truly suggest reading the manual if you haven't. starting at page 28 would be a great one. they talk about sizing, and the tools. and extrusion editor, starts on page 68.

    hope that helps

  5. #5
    Member
    Join Date
    May 2002
    Posts
    97
    Gerbick! I'm surprised at you. You know that a six sided polyhedron is a cube!

    But on the serious side, you can improve your hexagon by making the corner points more regular. In a right regular hexagon (I think it is called), all angles are 60 (OK.. complementary to that, making them 120, but the triangles are 30,60,90). That makes the side ratios 1.0, 1.732, and 2.0. Therefore, your point pairs (settable on the point properties) should be:

    (0,0.2)
    (0.173,0.1)
    (0.173,-0.1)
    (0,-0.2)
    (-0.173,-0.1)
    (-0.173,0.1) Then hit the "close" button

    That will give you a very good approximation of a proportional hexagon without resorting to all that sine and cosine stuff on a calculator. Also, when you start putting these side-by-side, you'll get a pretty good honeycomb effect without really trying.

    For more accuracy, use the numbers above multiplied by 10, and make the 0.173's into 1.732. Ain't math fun?

    Don

    [Edited by Level on 08-04-2002 at 03:45 PM]

  6. #6
    supervillain gerbick's Avatar
    Join Date
    Jul 2000
    Location
    undecided.
    Posts
    18,986
    lol @ level... good one mang.



    nice tips, level. I'll have to remember this one too in the future.

  7. #7
    Senior Member
    Join Date
    Apr 2001
    Posts
    246
    works perfectly...thanks level

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center