• Login
sketchucation logo sketchucation
  • Login
๐Ÿค‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Prism problem

Scheduled Pinned Locked Moved SketchUp Discussions
sketchup
38 Posts 14 Posters 2.8k Views
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 25 May 2008, 12:39

    Hi guys, after lurking for quite awhile, decided to post an interesting problem for all.

    I am trying to make a prism, a four sided object with equilateral triangles on each side. Without using maths (sine cosine tangent ), or plugins ( if there are any), could anyone try and solve it ? I tried rotation of the 4 triangles but it failed.

    Any ideas ?

    1 Reply Last reply Reply Quote 0
    • G Offline
      Gaieus
      last edited by 25 May 2008, 13:07

      Hi FruitJelly,

      Do you mean something like this?

      Prism.jpg

      I made a rectangle (with known size: in this case 100 cm x 100 cm) then made a separate triangle (doesn't matter how big), grouped this latter, edited, measured one side with the tape measure tool then typed 100 and hit Enter. This allows you to resize the triangle. I turned it into a component then (could have done it before - instead of grouping it), aligned it along a side of the rectangle then copy rotated it around it 3 times. Then edited the triangle component and Push/Pulled it up to 100 cms again. Finally did the same with the square iside (so it's now a cube - see attached file).


      Prism.skp

      Gai...

      1 Reply Last reply Reply Quote 0
      • J Offline
        juju
        last edited by 25 May 2008, 13:10

        This is probably the long way around of doing this, but here goes...

        Look for the pyramid tool ruby script. Install it. Restart SU. (This is for ease of pyramid/sphere construction.)

        Create pyramid with a square base with the base length that you require. Create a sphere using one of the base corners as the sphere centre. Explode the sphere (it is created as a group). Draw a vertical construction line through the apex of the pyramid. Delete on side of the pyramid. Select the Move/Copy tool (without any geometry selected) and move the pyramid apex to the point where the vertical construction line and the sphere intersect. Delete sphere, delete construction line. Draw over one of the pyramid open sides to fill it with a face.

        That should do it.

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

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jim
          last edited by 25 May 2008, 13:57

          You could try a similar technique to this one .

          Hi

          1 Reply Last reply Reply Quote 0
          • F Offline
            fruitjelly
            last edited by 25 May 2008, 14:27

            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 25 May 2008, 14:37

              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
              • G Offline
                Gaieus
                last edited by 25 May 2008, 14:58

                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
                • E Offline
                  ely862me
                  last edited by 25 May 2008, 15:55

                  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
                  • E Offline
                    ely862me
                    last edited by 25 May 2008, 16:12

                    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
                    • B Offline
                      Bep
                      last edited by 25 May 2008, 16:29

                      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 25 May 2008, 19:05

                        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
                        • D Offline
                          Didier Bur
                          last edited by 25 May 2008, 19:50

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

                          DB

                          1 Reply Last reply Reply Quote 0
                          • G Offline
                            Gaieus
                            last edited by 25 May 2008, 21:01

                            @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 25 May 2008, 21:43

                              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 26 May 2008, 00:18

                                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
                                • G Offline
                                  Gaieus
                                  last edited by 26 May 2008, 05:54

                                  Gee Jim,

                                  That's indeed very simple! ๐Ÿ˜ฒ

                                  Gai...

                                  1 Reply Last reply Reply Quote 0
                                  • Wo3DanW Offline
                                    Wo3Dan
                                    last edited by 26 May 2008, 09:13

                                    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
                                    • G Offline
                                      Gaieus
                                      last edited by 26 May 2008, 09:31

                                      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 26 May 2008, 15:09

                                        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
                                        • J Offline
                                          juju
                                          last edited by 26 May 2008, 15:57

                                          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
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            7/38
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement