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

    30 60 Degrees Perspektif

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    24 Posts 8 Posters 9.9k Views 8 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.
    • Wo3DanW Offline
      Wo3Dan
      last edited by

      @gaieus said:

      I did not say it is not correct, did I?
      What I meant was that you need to "distort" the geometry to get this view - unless I completely oversaw something.

      That's why I said I did not understand. But forget about it.

      %(#0000FF)[Yes and no. You only do it once. In fact I already just did it for you or for whoever needs it, for all future models.
      From now on SU distorts your (any) model that you place inside A. In a split second. To a proper 30/60 axonometry.]

      If you open SU twice you can even work with copy and paste in place to speed things up without the bother of working near/in component A.
      That's why it would be handy to convert the whole (simple) procedure into aa script to have an extra standard view: 30/60 axonometry.

      For now, save the file as a template for future use

      How about you writing the plugin+button for us? ๐Ÿ˜„

      Wo3Dan

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

        Come on, Wodan! You know I cannot script!
        ๐Ÿ˜„

        But indeed, if this is only like a snap as you say, good idea for a plugin. ๐Ÿ‘

        (Any takers?)

        Gai...

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

          @tig said:

          This will do it......

          Thanks TIG. And you didn't even take a break for coffee? Amazing how you guys put these things together!!! All my attempts to grasp ruby have been without success so far. Gaieus, we are in the same corner.

          Now let's see if I can get it to work to see what it does to my PC.

          Wo3Dan

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

            Remember that after setting the axo or iso view you can only zoom in/out and pan, orbiting will mess up the view.
            So it's a good idea to set the axo or iso then pan/zoom to the required view and save it as a Scene tab. Then you can mess around orbiting etc to make the model, but return to the axo or iso view by clicking its Scene tab...
            โ˜€

            TIG

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

              This will do it

              ### 2010 (c) TIG
              ### paste code into a file in Plugins folder as 'axo+iso.rb'
              ### sets camera to 30/60 axonometric view and zooms extents
              require 'sketchup.rb'
              ###
              def axo3060
                model=Sketchup.active_model
                view=model.active_view
                camera=view.camera
                eye=Geom;;Point3d.new(-25.3259,-5.00502,463.851)
                target=Geom;;Point3d.new(10.9614,15.9032,41.225)
                up=Geom;;Vector3d.new(0.862238,0.496811,0.0986113)
                perspective=false
                newcamera=Sketchup;;Camera.new(eye,target,up,perspective)
                view.camera=newcamera
                Sketchup.send_action("viewZoomExtents;")
              end
              ### sets camera to 30/30 isometric view and zooms extents
              def iso3030
                model=Sketchup.active_model
                view=model.active_view
                camera=view.camera
                eye=Geom;;Point3d.new(-219.18,-239.658,258.471)
                target=Geom;;Point3d.new(72.869,52.1777,-23.5562)
                up=Geom;;Vector3d.new(0.398992, 0.398701, 0.825738)
                perspective=false
                newcamera=Sketchup;;Camera.new(eye,target,up,perspective)
                view.camera=newcamera
                Sketchup.send_action("viewZoomExtents;")
              end
              ###
              ###
              

              To use it type axo3060 in the Ruby Console - it sets the camera and zooms extents...
              The axes are set at 30/60 degrees [G/R], perspective is 'off' and the verticals [B] are vertical...
              OR type iso3030 in the Ruby Console and the axes are set at 30/30 degrees [G/R] etc...
              ๐Ÿค“

              TIG

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

                ๐Ÿ‘
                Tanks TIG - and of course, Wodan, too.

                Gai...

                1 Reply Last reply Reply Quote 0
                • david_hD Offline
                  david_h
                  last edited by

                  I didn't realize he was asking for Axonometric. I thought it was just a standard 30 /60 perspective. My bad.

                  If I make it look easy...It is probably easy

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

                    @unknownuser said:

                    I didn't realize he was asking for Axonometric. I thought it was just a standard 30 /60 perspective. My bad.

                    IF he did then your method is dead easy... just draw guide or line parallel to a side and rotate it 60 degrees... stand you camera on the line and everything is as you showed... ๐Ÿค“

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      d_r_i_x
                      last edited by

                      i've been looking for something like this for quite some time now. Works a treat.
                      Would it also be possible to have it show a 45 45 axonometric view?

                      http://www.proceduralstrategies.net

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

                        @d_r_i_x said:

                        i've been looking for something like this for quite some time now. Works a treat.
                        Would it also be possible to have it show a 45 45 axonometric view?

                        It would be axo4545 and also axo6030 - however they are the end of a list right now... ๐Ÿ˜ž

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • E Offline
                          elaohu
                          last edited by

                          in addition to what i mentioned, the ruby file by Tif, the red and green lines are right, but the vertical blue line is wrong (the view is wrong), but i dont know how to fix that???? anybody??
                          just need to change the vertical view in axo like the one in iso in the code, but i dont know how

                          1 Reply Last reply Reply Quote 0
                          • E Offline
                            elaohu
                            last edited by

                            i download TIF's ruby code, it works perfect for the green and red axis, but

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

                              Latecomers wild guess. Do you need SU to be in "parallel projection view"?

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

                                @elaohu said:

                                in addition to what i mentioned, the ruby file by Tif, the red and green lines are right, but the vertical blue line is wrong (the view is wrong), but i dont know how to fix that???? anybody??
                                just need to change the vertical view in axo like the one in iso in the code, but i dont know how

                                Please explain how it is 'wrong' - a screen-shot could help... ๐Ÿ˜•

                                TIG

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

                                  I did it. Thank you ๐Ÿ˜„
                                  But Only, axo3060 and iso3030 view ?
                                  Can we make more choice ?
                                  Axo4545 etc... ?

                                  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