sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Method for drawing an antiprism with equilateral sides

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    35 Posts 7 Posters 4.5k Views 7 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • TIGT Online
      TIG Moderator
      last edited by

      @sketchup_roolz said:

      Not that anyone cares anymore but here's a my proper 2D method...
      http://img573.imageshack.us/img573/272/68861221.png

      I fixed your faulty link...
      An interesting alternative approach... ๐Ÿ˜„
      I am thinking how it might get converted to an 'algorithm'...
      Which must be possible as it involves 45/30/15 degree triangles with known side length...
      Sleeping on it now... ๐Ÿ˜‰

      TIG

      1 Reply Last reply Reply Quote 0
      • S Offline
        sketchup_roolz
        last edited by

        Not that anyone cares anymore but here's a my proper 2D method...

        http://img573.imageshack.us/img573/272/68861221.png

        1 Reply Last reply Reply Quote 0
        • S Offline
          sketchup_roolz
          last edited by

          Very clever Jeff. ๐Ÿค“

          Much appreciation for all the hard work here.
          I don't really have a practical need to get this level of precision/accuracy but problems like this totally consume me.
          I figured the faster I could figure it out it the sooner I could move on to more important things! (or not)

          SketchUp is an amazing piece of software and maybe one day I'll have a more concrete use for it. ๐Ÿ’š

          1 Reply Last reply Reply Quote 0
          • pilouP Offline
            pilou
            last edited by

            Why anybody save the SKP file "save as SU6"?
            Like this anybody can reload easily any file! ๐Ÿ˜„

            Frenchy Pilou
            Is beautiful that please without concept!
            My Little site :)

            1 Reply Last reply Reply Quote 0
            • pilouP Offline
              pilou
              last edited by

              PS :How many triangles must have the polyedra?
              On the first post there are 8 on "the plan"
              On the Xray Tig volume there are 7 ! ๐Ÿ˜ฎ

              @unknownuser said:

              Won't the file lose some of its v7, and v8 features. Did v6 have "dynamic components", etc.?

              there are rarelly dynamic component in "hard geometry" like in this post or exotic functions ๐Ÿ˜„

              Frenchy Pilou
              Is beautiful that please without concept!
              My Little site :)

              1 Reply Last reply Reply Quote 0
              • honoluludesktopH Offline
                honoluludesktop
                last edited by

                @unknownuser said:

                Why anybody save the SKP file "save as SU6"?
                Like this anybody can reload easily any file! ๐Ÿ™‚

                Won't the file lose some of its v7, and v8 features. Did v6 have "dynamic components", etc.?

                Btw, am I sticking my foot in my mouth? I didn't read all of the posts.

                1 Reply Last reply Reply Quote 0
                • jeff hammondJ Offline
                  jeff hammond
                  last edited by

                  @unknownuser said:

                  Why anybody save the SKP file "save as SU6"?
                  Like this anybody can reload easily any file! ๐Ÿ˜„

                  oops, i try to remember to do this prior to uploading at scf but i just forget sometimes ๐Ÿ˜„
                  i added a v6 file to my earlier post

                  dotdotdot

                  1 Reply Last reply Reply Quote 0
                  • honoluludesktopH Offline
                    honoluludesktop
                    last edited by

                    ???????????

                    1 Reply Last reply Reply Quote 0
                    • honoluludesktopH Offline
                      honoluludesktop
                      last edited by

                      ???????????

                      1 Reply Last reply Reply Quote 0
                      • jeff hammondJ Offline
                        jeff hammond
                        last edited by

                        here's another solution that allows rotating without the mega-segment arc..


                        antiprism.skp


                        same file.. saved as su6

                        dotdotdot

                        1 Reply Last reply Reply Quote 0
                        • jeff hammondJ Offline
                          jeff hammond
                          last edited by

                          @unknownuser said:

                          PS :How many triangles must have the polyedra?
                          On the first post there are 8 on "the plan"
                          On the Xray Tig volume there are 7 ! ๐Ÿ˜ฎ

                          i don't think it matters.. here's an example using octagons with one of them rotated 22.5 degrees then using the same exact method i used for the squares.. resulting in 16 equal sides. (i think the people trying it though are using the wiki example which has 7 sides.)

                          edit -- lol. the wiki one, the one i drew, the one tig drew..etc have 8 sides hah ๐Ÿ˜ณ

                          octo.jpg

                          dotdotdot

                          1 Reply Last reply Reply Quote 0
                          • TIGT Online
                            TIG Moderator
                            last edited by

                            @unknownuser said:

                            PS :How many triangles must have the polyhedron?
                            On the first post there are 8 on "the plan"
                            On the Xray TIG volume there are 7 ! ๐Ÿ˜ฎ

                            @unknownuser said:

                            Won't the file lose some of its v7, and v8 features. Did v6 have "dynamic components", etc.?

                            there are rarely dynamic component in "hard geometry" like in this post or exotic functions ๐Ÿ˜„

                            In my Xray volume there are 8 triangles BUT the left-hand-most one is almost square to the camera ๐Ÿ˜’
                            A very neat solution by Jeff BTW... ๐Ÿ˜„

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • TIGT Online
                              TIG Moderator
                              last edited by

                              If you think about it... as you increase the number of sides for the top and bottom faces the nearer they approximate the circles and the smaller the sides of the equilateral triangles forming the side facets so the 'height' decreases until with thousands of sides the top and bottom are approaching coplanarity...
                              The simplest form has equilateral triangular faces, the next squares and so on.
                              there are always twice as many sides as the edges to the faces: so the triangle solution has 3x2=6 sides, the square 4x2=8 sides and so on...

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • pilouP Offline
                                pilou
                                last edited by

                                Ahhhh! I was victim of the perspective's law ๐Ÿ˜ณ ๐Ÿ’š

                                hidden8.jpg

                                Frenchy Pilou
                                Is beautiful that please without concept!
                                My Little site :)

                                1 Reply Last reply Reply Quote 0
                                • pilouP Offline
                                  pilou
                                  last edited by

                                  Thx to Jeff for the "SU6 work" ๐Ÿ˜‰
                                  (you use unity of the old 20 century ๐Ÿ˜„
                                  And Chris Fullmer for his Component onto face ๐Ÿ˜„
                                  Now I can see all 8 triangles! ๐Ÿ’š
                                  The TIG's View was not good oriented! ๐Ÿ˜†
                                  8triangles.jpg

                                  Frenchy Pilou
                                  Is beautiful that please without concept!
                                  My Little site :)

                                  1 Reply Last reply Reply Quote 0
                                  • TIGT Online
                                    TIG Moderator
                                    last edited by

                                    To simplify things I have made a 'quick' Plugin - it's here http://forums.sketchucation.com/viewtopic.php?p=287140#p287140
                                    You just type into the Ruby Console:
                                    antiprism 7,1200.mm
                                    and it'll makes a 7 sided antiprism with sides 1200mm long, centered on the origin and grouped, named 'Antiprism[7x1200]'...
                                    You have to have at least 3 sides and a side-length > 0; the length is taken as inches if you haven't given a units suffix like 1.m or 100.cm or 1000.mm etc.
                                    The distance between faces changes with the number of sides as the maximum 'rake' on the side-triangle occurs at with 3 sides, and it proportionately decreases as the number of sides increases, until you approximate to a circle with a multi-sided polygon, and by then the side-triangles are almost vertical...

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • pilouP Offline
                                      pilou
                                      last edited by

                                      Else a very speedy method ๐Ÿ’š

                                      Draw Square A 1m * 1m (on the plan)
                                      Copy rotate Square A 45ยฐ = Square B (on the plan)
                                      Move Up Square B 1m on Z
                                      Draw the 8 segments between 8 vertices
                                      Select these 8 segments (method as you want)
                                      Scale on Z (Blue Scale oposite point) 0.840892091m (magical number) ๐Ÿ˜†
                                      Move down Square B vertical snaped a triangle vertice
                                      That's all ๐Ÿ’š

                                      And then you can resize at any size for any cubic antiprism with the Tape Mesure tool ๐Ÿ’š
                                      And all that without plugin, that is a real performance for me ๐Ÿ˜†

                                      Frenchy Pilou
                                      Is beautiful that please without concept!
                                      My Little site :)

                                      1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        sketchup_roolz
                                        last edited by

                                        @tig said:

                                        To simplify things I have made a 'quick' Plugin - it's here http://forums.sketchucation.com/viewtopic.php?p=287140#p287140

                                        1 Reply Last reply Reply Quote 0
                                        • honoluludesktopH Offline
                                          honoluludesktop
                                          last edited by

                                          @unknownuser said:

                                          Else a very speedy method .............And all that without plugin, that is a real performance for me :lol:
                                          Genius:-)

                                          1 Reply Last reply Reply Quote 0
                                          • jeff hammondJ Offline
                                            jeff hammond
                                            last edited by

                                            @unknownuser said:

                                            Else a very speedy method ๐Ÿ’š

                                            Scale on Z (Blue Scale oposite point) 0.840892091m (magical number) ๐Ÿ˜†

                                            frenchy, i think the challenge is to figure out a way to do it using only geometry/tricks available in sketchup. (ie- doing this in rhino for instance would be very easy)

                                            that said, i think my method exposes a tolerance error in sketchup.. it shouldn't work but it does..

                                            [edit, nevermind.. i just tried it with engineering/feet/.000001 precision and it does infact show the error..]

                                            i couldn't figure out why i wasn't getting a ~ in front of my measurements because in my head, it should of been there..
                                            -reason why there's an error: once you copy move the line up, make it perp to the hypotenuse, then rotate it /snap to the vert line, it doesn't end up being horizontal.. it's ever so slightly angled down.. i knew it was doing it but thought SU was thinking 'meh, close enough'..

                                            but, after doing this exercise, i realize sketchup actually will say 'meh, close enough' when it comes to adding a ~ in front of certain measurements..

                                            [edit]
                                            the method i showed will give an equilateral triangle on one side but you'll see that it ever so slightly shifts the top square off center..

                                            dotdotdot

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement