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

    [Plugin] (TIG) Rotate Plan View v1.1 20110316

    Scheduled Pinned Locked Moved Plugins
    54 Posts 17 Posters 44.7k Views 17 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.
    • L Offline
      leminilab
      last edited by

      @tig said:

      Did you restart Sketchup ?
      I suspect not πŸ˜•
      It should work after the script is auto-loaded - which is happens when Sketchup starts...

      Yes, I did restart Sketchup. Actually my computer froze a little bit and almost crashed while SU was open πŸ˜•

      • "Live every day as if it were your last and then some day you'll be right."
      • "ThomThom rules!!!"
      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        Have you tried running it with the Ruby Console open to see if there are errors ?
        Did it rotate the plan view even if it was flaky ?
        Did you have a plan view set BEFORE using it ?

        TIG

        1 Reply Last reply Reply Quote 0
        • L Offline
          leminilab
          last edited by

          @tig said:

          Have you tried running it with the Ruby Console open to see if there are errors ?
          Did it rotate the plan view even if it was flaky ?
          Did you have a plan view set BEFORE using it ?

          It didn't rotate the view at all. 😒

          The ruby console was open and it returned this error again:

          Rotateplanview.new 10
          Error: #<NameError: (eval):54: uninitialized constant Rotateplanview>
          (eval):54

          Untitled-1.png
          As you can see I already had a plan scene saved.

          • "Live every day as if it were your last and then some day you'll be right."
          • "ThomThom rules!!!"
          1 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            Clearly the code isn't loading properly for some reason I can't ascertain at a distance...
            Here's a ready-made rb file that should work... please remove your attempt...

            Here' v1.1
            (c) TIG 2011
            Permission to use, copy, modify, and distribute this software for
            any purpose and without fee is hereby granted, provided the above
            copyright notice appear in all copies.
            THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
            IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
            WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
            File:
            Put the file Rotateplanview.rb in the Plugins folder.***
            Usage:
            To use set up your Plan [Top] view, without Perspective and
            in the Ruby Console type Rotateplanview.new to rotate the camera 45 degrees
            clockwise, repeat to rotate it another 45 degrees etc.
            The extents are zoomed after each rotation.
            To do other angles provide an angle value in degrees -
            e.g. Rotateplanview.new 10 rotates the view 10 degrees clockwise or
            Rotateplanview.new -30 rotates the view 30 degrees counterclockwise.
            When you are happy with it save the view to a new Scene tab so you can
            return to it later.
            Note: v1.1 includes a View Menu > 'Rotate Plan View' item and there is
            also a 'Rotate Plan View' toolbar that can be activated from the
            View > Toolbar menu, ***this needs the icon Rotateplanview.png in the
            ../Plugins/TIGtools subfolder.
            If you use one of these tools this way you will get a dialog asking for
            the angle, the default is +45 degrees. otherwise it works as above...
            Donations: by PayPal to info @ revitrev.org PayPalButtonVersion:
            1.0 20110304 First issue.
            1.1 20110316 Menu/Dialog/Toolbar item added.


            Download/install this Plugin's latest RBZ from the PluginStore...http://sketchucation.com/pluginstore?pln=Rotateplanview

            TIG

            1 Reply Last reply Reply Quote 0
            • L Offline
              leminilab
              last edited by

              @tig said:

              Clearly the code isn't loading properly for some reason I can't ascertain at a distance...
              Here's a ready-made rb file that should work... please remove your attempt...[attachment=0:seezsr87]<!-- ia0 -->Rotateplanview.rb<!-- ia0 -->[/attachment:seezsr87]

                 :heart_eyes:  :sunglasses:  :tada:  :sunny:  :smile:  :laughing: 
              

              This is soooooooooooooooooooooooooooooooooooooooooooo great!

              For your info and for the sake of my own public humiliation, I had pasted the rb file in my SKetchup 8 plugins folder... And was usin SU7! 😳 😳 😳 😳

              Thank you so much! πŸ‘

              • "Live every day as if it were your last and then some day you'll be right."
              • "ThomThom rules!!!"
              1 Reply Last reply Reply Quote 0
              • GaieusG Offline
                Gaieus
                last edited by

                🀣

                Gai...

                1 Reply Last reply Reply Quote 0
                • L Offline
                  leminilab
                  last edited by

                  TIG, this is really a must for me! Thank you so much! This should be a default option in Sketchup.

                  And it really saved my life on this :
                  BTW it's also a nice new animation tool for Sketchup! To be continued...
                  and a not-so-well rendered view

                  Oh and by the way Gaieus, I had read one of your post on a google forum (http://www.google.com/support/forum/p/sketchup/thread?tid=6300098d9b1e63b7&hl=en) before posting my question but for some reason I couldn't make my head to apply your suggestions to my situation...
                  I just didn't understand if this post relates to my problem or not... (I know it's scary... I scare myself very often πŸ˜•)

                  Again, I wish my the world would be as effective and generous as this community... πŸ˜’
                  Thanks everyone!

                  Nicolas

                  • "Live every day as if it were your last and then some day you'll be right."
                  • "ThomThom rules!!!"
                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    cobb89
                    last edited by

                    how can i use this rotate plan view plugin??

                    1 Reply Last reply Reply Quote 0
                    • Rich O BrienR Online
                      Rich O Brien Moderator
                      last edited by

                      @unknownuser said:

                      Copy/paste it into a file named Rotateplanview.rb in the Plugins folder.
                      To use set up your Plan [Top] view, without Perspective and in the Ruby Console type Rotateplanview.new to rotate the camera 45 degrees clockwise, repeat to rotate it another 45 degrees etc. The extents are zoomed after each rotation.
                      To do other angles provide an angle value in degrees - e.g. Rotateplanview.new 10 rotates the view 10 degrees clockwise or Rotateplanview.new -30 rotates the view 30 degrees counterclockwise.
                      When you are happy with it save the view to a new Scene tab so you can return to it later.

                      Download the free D'oh Book for SketchUp πŸ“–

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

                        Thank you, TIG. This offers some interesting options for scene creation.

                        Etaoin Shrdlu

                        %

                        (THERE'S NO PLACE LIKE)

                        G28 X0.0 Y0.0 Z0.0

                        M30

                        %

                        1 Reply Last reply Reply Quote 0
                        • Rich O BrienR Online
                          Rich O Brien Moderator
                          last edited by

                          No problem Dave, glad I could help... 😎

                          Download the free D'oh Book for SketchUp πŸ“–

                          1 Reply Last reply Reply Quote 0
                          • C Offline
                            cobb89
                            last edited by

                            @unknownuser said:

                            @unknownuser said:

                            Copy/paste it into a file named Rotateplanview.rb in the Plugins folder.
                            To use set up your Plan [Top] view, without Perspective and in the Ruby Console type Rotateplanview.new to rotate the camera 45 degrees clockwise, repeat to rotate it another 45 degrees etc. The extents are zoomed after each rotation.
                            To do other angles provide an angle value in degrees - e.g. Rotateplanview.new 10 rotates the view 10 degrees clockwise or Rotateplanview.new -30 rotates the view 30 degrees counterclockwise.
                            When you are happy with it save the view to a new Scene tab so you can return to it later.

                            can anyone create a toolbar button for this plugin??

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

                              As well as a toolbar you'd need a dialog for the angle ?

                              TIG

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

                                Seems to me entering the text into the console works very nicely. And I don't have to find room for another toolbar.

                                Oh, and Rich, I very happy to have your assistance while your wife is ironing. πŸ˜‰

                                Etaoin Shrdlu

                                %

                                (THERE'S NO PLACE LIKE)

                                G28 X0.0 Y0.0 Z0.0

                                M30

                                %

                                1 Reply Last reply Reply Quote 0
                                • Rich O BrienR Online
                                  Rich O Brien Moderator
                                  last edited by

                                  @unknownuser said:

                                  while your wife is ironing

                                  Prioritize Dave...Prioritize πŸ˜‰

                                  Download the free D'oh Book for SketchUp πŸ“–

                                  1 Reply Last reply Reply Quote 0
                                  • C Offline
                                    cobb89
                                    last edited by

                                    @tig said:

                                    As well as a toolbar you'd need a dialog for the angle ?

                                    yeah....whatever is possible.... πŸ˜’

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

                                      Here's v1.1 http://forums.sketchucation.com/viewtopic.php?p=313264#p313264
                                      It includes View menu item and toolbar with dialog entry of angles - the Ruby Console version works as before for those of you not wishing clutter... The toolbar only gets made if there's a png file so that's a simple way to stop that being created if you don't want it!

                                      TIG

                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        Michaelv
                                        last edited by

                                        TIG, can I use it to include into a tool I'm working on. It's an easy simple rotate tool, and I'd like to include this as planview rotation when hovering over the origin.

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

                                          @michaelv said:

                                          TIG, can I use it to include into a tool I'm working on. It's an easy simple rotate tool, and I'd like to include this as planview rotation when hovering over the origin.

                                          No problem, just give some acknowledgment in the header πŸ˜„

                                          TIG

                                          1 Reply Last reply Reply Quote 0
                                          • C Offline
                                            cobb89
                                            last edited by

                                            @tig said:

                                            Here's v1.1 http://forums.sketchucation.com/viewtopic.php?p=313264#p313264
                                            It includes View menu item and toolbar with dialog entry of angles - the Ruby Console version works as before for those of you not wishing clutter... The toolbar only gets made if there's a png file so that's a simple way to stop that being created if you don't want it!

                                            Thanks a lot!! πŸ˜„

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

                                            Advertisement