sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Prism problem

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    38 Posts 14 Posters 2.8k Views 14 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.
    • F Offline
      fruitjelly
      last edited by

      Hey guys,

      Thanks for the reply, but the trick here is, it has a triangular base, not like pyramid with a square base. See attached file.

      Yeah, lets just try to do it without any scripts and complicated maths.


      prism shape.skp

      1 Reply Last reply Reply Quote 0
      • F Offline
        fruitjelly
        last edited by

        Suddenly i realised whether this shape is called a prism or not.

        Anyway, jim, i tried that method, but my circles just wont meet each other. Care to correct me ? I used a 360 sided circle. Perhaps i connected it wrongly ?

        Anyway to rephrase and reiterate my question more clearly, basically i just want to find out how to make the triangles on each side rotate up and meet to form a perfectly accurate "prism". All edges are equal in length.

        Thanks for helping.


        prism shape.jpg

        1 Reply Last reply Reply Quote 0
        • GaieusG Offline
          Gaieus
          last edited by

          Although you excluded maths, with Pythagoras it's quite easy to do it (see attached file - I scaled the whole thing a bit - to 50 m each side - in order to get easier calculations).

          The problem is that SU cannot snap to edges when rotating and this makes us need to find out workatrounds all the time.

          prism_shape.skp

          Gai...

          1 Reply Last reply Reply Quote 0
          • ely862meE Offline
            ely862me
            last edited by

            sorry if i post too much but i want to see how far can we go so i choose 1000 segments for circles and we are very close


            prism2.jpg

            Elisei (sketchupper)


            Before no life was done on Earth it was THE LIFE ITSELF...GOD
            Come and See EliseiDesign

            1 Reply Last reply Reply Quote 0
            • ely862meE Offline
              ely862me
              last edited by

              the circles will meet but the problem is that the circles aren t perfect they haven t infinite points and they won t meet in the perfect point

              as u ll see is almost good after the rotation of the triangles at that point, but isn t fitted because the circle isn t infinite;so i fitt them by hand after rotation and "voila!"
              prism.skpprism.jpg
              "The problem is that SU cannot snap to edges when rotating and this makes us need to find out workatrounds all the time."(Gaeius) this is the main problem

              i wasn t pleased so i scale it and finally i saw the differences but they are verry smallprism1.jpg

              i used circles with 200 segments u ll use with more segments will be much closer but never perfect

              Elisei (sketchupper)


              Before no life was done on Earth it was THE LIFE ITSELF...GOD
              Come and See EliseiDesign

              1 Reply Last reply Reply Quote 0
              • BepB Offline
                Bep
                last edited by

                Hello fruitjelly,

                Is this the solution your looking for.
                bep.jpg

                greetings
                Bep van Malde

                "History is written by the winners"

                1 Reply Last reply Reply Quote 0
                • I Offline
                  igor
                  last edited by

                  here is my way: (note that i didnt read all the posts, so someone might have already said this)
                  make an equilateral triangle. since its equilateral, all the angles should be the same (60 degrees). copy-rotate it (rotate tool + ctrl) up 60 degrees. and then you...

                  opps, i just checked to see if my method would work, i doesnt. <insert homer simpson esque "d'oh" here>. sorry for taking up space with a non-helpful post

                  and i have now looked at the previous posts and realized you have some very good help. good luck!

                  The genius switch has no "off" position
                  Intelegence is natrual, it takes real effort to be ignorant

                  1 Reply Last reply Reply Quote 0
                  • Didier BurD Offline
                    Didier Bur
                    last edited by

                    This is called a tetrahedron:
                    http://en.wikipedia.org/wiki/Tetrahedron

                    DB

                    1 Reply Last reply Reply Quote 0
                    • GaieusG Offline
                      Gaieus
                      last edited by

                      @didier bur said:

                      This is called a tetrahedron:
                      http://en.wikipedia.org/wiki/Tetrahedron

                      Oh yes, and there is a "ready made" one in the shapes library - but how do we make one (without maths)?!
                      😄

                      Gai...

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        Jim
                        last edited by

                        This animation from Wikipedia shows it's really very simple! (Inside a cube.)


                        Tetraeder_animation_with_cube.gif

                        Hi

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          remus
                          last edited by

                          Good find jim.

                          Still quite a way out though 😉

                          http://farm4.static.flickr.com/3003/2522211423_ee5c428b5e_o.jpg

                          I also tried rotating a copy of the base triangle in to place by the dihedral angle (accurate to 6 decimal places) and that is still quite a way out as well. about 0.7% if i remeber correctly.

                          http://remusrendering.wordpress.com/

                          1 Reply Last reply Reply Quote 0
                          • GaieusG Offline
                            Gaieus
                            last edited by

                            Gee Jim,

                            That's indeed very simple! 😲

                            Gai...

                            1 Reply Last reply Reply Quote 0
                            • Wo3DanW Offline
                              Wo3Dan
                              last edited by

                              Unfortunately I have not found a solution for this problem in general (i.e. rotate/snap by pure construction), see attachment below.
                              For special cases like the one presented here by fruitjelly (a tetrahedron) there always seem to be good workarounds. So next question: How would you solve the rotation in the attached model to get the one and only edge AB?
                              (We had this discussion before about creating the perfect buckyball but that's also a special case)


                              RotateSnapProblem.skp

                              1 Reply Last reply Reply Quote 0
                              • GaieusG Offline
                                Gaieus
                                last edited by

                                Ah, Wodan,

                                I remember this challange. I even have a "no-solution" version of this among my models at the WareHouse: http://sketchup.google.com/3dwarehouse/details?mid=8075be6a6da45be3d2f8fef8fa52eceb

                                Actually the exact same problem as here...

                                Gai...

                                1 Reply Last reply Reply Quote 0
                                • F Offline
                                  fruitjelly
                                  last edited by

                                  Jim's image so far best illustrates the easiest way to for that shape. Then again, if ultimately, we want a equilateral triangle with for example 1m on each side.... We have to use maths, such as pythagoras theorem, but the weird never ending figures simply will not produce an accurate shape.

                                  So do you guys think its ok to say that, as far as complicated geometry are concerned (especially with arcs and curves), sketchup ain't that useful when dealing with accuracy.

                                  Modeling this tetrahedron had been a real pain, but turns out the solution is a damn cube....

                                  1 Reply Last reply Reply Quote 0
                                  • jujuJ Offline
                                    juju
                                    last edited by

                                    It's a known fact that SU accuracy isn't the best around, but then again it isn't meant for creating geometry smaller than the feet of a dust mite.

                                    Save the Earth, it's the only planet with chocolate.

                                    1 Reply Last reply Reply Quote 0
                                    • AnssiA Offline
                                      Anssi
                                      last edited by

                                      @fruitjelly said:

                                      Then again, if ultimately, we want a equilateral triangle with for example 1m on each side.... We have to use maths...

                                      No we don't - we use the Tape measure tool. Make a triangle of any size, measure the side, and type the length you want, and press Enter. SU asks if you eant to resize the model, click OK, and you are done. If you have other things in your model that you don't want resized, group the triangle, and do the trick inside the group.

                                      Anssi

                                      securi adversus homines, securi adversus deos rem difficillimam adsecuti sunt, ut illis ne voto quidem opus esset

                                      1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        remus
                                        last edited by

                                        Even the cube method isnt entirely accurate, see my previous post.

                                        http://remusrendering.wordpress.com/

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

                                          @remus said:

                                          Even the cube method isnt entirely accurate, see my previous post.

                                          really? i did the cube method 3 times and it always worked out perfectly.. every edge was the same length.. or maybe i'm not understanding something?

                                          dotdotdot

                                          1 Reply Last reply Reply Quote 0
                                          • R Offline
                                            remus
                                            last edited by

                                            Hmmm, perhaps i made a mistake when i did it, i'll give it a go when i get home.

                                            http://remusrendering.wordpress.com/

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

                                            Advertisement