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

    [Plugin] Camera OrbitOnTarget v1

    Scheduled Pinned Locked Moved Plugins
    27 Posts 15 Posters 22.0k Views 15 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.
    • M Offline
      MarcioAB
      last edited by

      @edson said:

      i tried it on my macbook and it did not work. the tool bar is there and after i clicked twice on an object a dot appeared on it but other than that nothing happened.

      Humm ... I do not have a Mac to check but, just to see if the sequence is the expected one:

      1. Select the tool (on the bottom text bar there should appear short instructions). This is just to see if the tool was correctly loaded.
        You will also see the Inference-point around. Just move the mouse to see if the Inference-point move around the elements.

      2. Then double-click. The screen must re-center. (try a point that in not too close the center, but even with a minimal distance it's easy to see something happened with the screen)

      Could you double-check that please ?

      Also, there is a variation of this plugin for change the position of Components (in draft).
      http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=14193#p107373

      Abracos
      Marcio

      1 Reply Last reply Reply Quote 0
      • EdsonE Offline
        Edson
        last edited by

        @unknownuser said:

        1. Select the tool (on the bottom text bar there should appear short instructions). This is just to see if the tool was correctly loaded.
          You will also see the Inference-point around. Just move the mouse to see if the Inference-point move around the elements.

        no inference point to be seen. could you post a picture of what it looks like in windows?

        @unknownuser said:

        1. Then double-click. The screen must re-center. (try a point that in not too close the center, but even with a minimal distance it's easy to see something happened with the screen)

        re-centering works but nothing else besides that. no rotate, no zoom, no pan.

        edson mahfuz, architect| porto alegre • brasil
        http://www.mahfuz.arq.br

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

          Well, this is how it works here:
          [flash=425,350:1ajsikpg]http://www.youtube.com/v/IWx026cl23s[/flash:1ajsikpg]

          But I also tried to capture the video-screen with MS Windows Media 9 Encoder and the behavior became more or less like you mention. But I do not know how to fix this.

          1 Reply Last reply Reply Quote 0
          • X Offline
            xrok1
            last edited by

            so ,any further dev.
            any luck with the MMB?

            “There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

            http://www.Twilightrender.com try it!

            1 Reply Last reply Reply Quote 0
            • X Offline
              xrok1
              last edited by

              hey! the MMB double click works for me. 😍

              “There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

              http://www.Twilightrender.com try it!

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

                @xrok1 said:

                hey! the MMB double click works for me. 😍

                Humm ... my initial expectation regard the Middle Mouse Button was to replace the default tool currently associated with the MMB - that is the standard SketchUP Orbit tool - by this one. But its not possible yet.
                So I think in this case it is pointless to connect any function to MMB if I can only use it when the OrbitOnTarget tool is activated.

                Regard any further development: I used that code in JointSU plugin with minor changes - When you are assembling components I find useful to have "OrbitOnTarget" with the target automatically set on the origin of the component axis you are working on. So, I think the idea now is to embed this "OrbitOnTarget" code into more specific plugins.

                What else could be improved in a tool like this ?

                Regards
                Marcio

                1 Reply Last reply Reply Quote 0
                • X Offline
                  xrok1
                  last edited by

                  @xrok1 said:

                  hey! the MMB double click works for me. 😍

                  oops i guess you made me find an SK feature thats already in place. if i MMB double click SK centers on that point (i didn't know that before now 😄 )and since SK orbit the center of the screen anyway; please explain the purpose of your plugin?

                  “There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

                  http://www.Twilightrender.com try it!

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

                    @xrok1 said:

                    please explain the purpose of your plugin?

                    Make a simple cube. Center it (using the double-click you mention) targeting any specific point over the cube and Orbit.

                    You will find it will not always orbit around that expected point.

                    The OrbitOnTarget plugin makes it orbit on the selected point (and by the way, the selection is made using the Inference Engine).

                    Regards
                    Marcio

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

                      Thanks Marcio for developing the plugin. I'm finding your approach to the controls very good. I have the feeling they will become very intuitive for me with a bit more use. I'm happy.

                      Regards, Ross

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

                        Great. Let me know if we can improve the interface or anything else.

                        Regards
                        Marcio

                        1 Reply Last reply Reply Quote 0
                        • X Offline
                          xrok1
                          last edited by

                          O.K, thanks for the explaination, even if i never use your script thank you for making me discover the MMB function of SK without you i would have never discovered that which is a very valuable function. 😉

                          “There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

                          http://www.Twilightrender.com try it!

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

                            I really wish this worked on a Mac. The Double Click feature is all that works nothing else.

                            2009 iMac
                            OS 10.6
                            SU 7.1

                            1 Reply Last reply Reply Quote 0
                            • majidM Offline
                              majid
                              last edited by

                              @marcioab said:

                              Great. Let me know if we can improve the interface or anything else.

                              Regards
                              Marcio

                              dear Marcio, would you plz add a function for exact movement of camera? i.e 35cm to right? up dn ....?

                              My inspiring A, B, Sketches book: https://sketchucation.com/shop/books/intermediate/2612-alphabet-inspired-sketches--inspiring-drills-for-architects--3d-artists-and-designers-

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

                                hey once you've define the target, can you say for example rotate exactly 180degrees around it?

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

                                  this is a pluggin i have been looking for cant believe it was so hard to find but I am not familiar with loading PNG . i have just loaded ruby plug ins before . what do i do (learner)

                                  many thanks

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

                                    please help not working on sketchup 2018 i need it so much.

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

                                      @caddia, The author hasn't visited Sketchucation in more than six years. It's likely that he's no longer supporting this plugin. Might be a good idea to look for an alternative.

                                      Etaoin Shrdlu

                                      %

                                      (THERE'S NO PLACE LIKE)

                                      G28 X0.0 Y0.0 Z0.0

                                      M30

                                      %

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

                                        quick off-the-cuff alternatives you might want to look into, there may be more:

                                        Camera Tools
                                        Curic Spin Camera
                                        Animate Rotation
                                        Camera Circle
                                        Camera Spiral

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

                                        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