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

    [Plugin] Coords Text Tag from Datum

    Scheduled Pinned Locked Moved Plugins
    148 Posts 26 Posters 98.6k Views 26 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      @pmolsen said:

      Thanks for the prompt response.
      Does V2.0 include the option for the decimal format of the lat/long please, which is the standard used in Google Earth and KML?

      Any chances on the heading/tilt/roll options please? If not are you able to offer any Ruby pointers to allow me to implement something please? It would hugely simplify animation coding.
      Is that the format used in your briefly edited version ?
      If so, and we can agree a correct way forward, I could probably include something in v2.1 'tomorrow'... ๐Ÿ˜•

      As for the pitch/roll/yaw camera issue perhaps this deserves a separate thread ?
      Feel free to PM me about it before we all jump into some frantic [re]coding... ๐Ÿค“

      TIG

      1 Reply Last reply Reply Quote 0
      • P Offline
        pmolsen
        last edited by

        Yes, I fully coded and tested the +/- option which was in the one I submitted. KML requires that format.

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

          I'll look at it...
          PM me about the other ideas...

          TIG

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

            Here's v2.1 http://forums.sketchucation.com/viewtopic.php?p=284829#p284829
            LatLong +/- option added [thanks @pmolsen] to match KML etc...

            TIG

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

              Here's v2.2 http://forums.sketchucation.com/viewtopic.php?p=284829#p284829
              As well as the recent LatLong +/- option added [thanks @pmolsen] to match KML etc...
              There are now some minor [non-critical] code improvements [by him again] incorporated too...

              TIG

              1 Reply Last reply Reply Quote 0
              • H Offline
                hygicell
                last edited by

                I have not read all questions and replies, so my questions could already have been answered
                could it be possible to have these coordinates correspond with real earth coordinates?
                could there be a possibility to switch between drawing (design)coordinates and their exact position on earth?
                Frank

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

                  That's where Long/Lat comes in ??? ๐Ÿ˜•

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    hygicell
                    last edited by

                    exactly
                    Frank

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

                      @hygicell said:

                      exactly
                      Frank
                      Does this mean you now see how to do it?
                      You can set the datum in Long/Lat to whatever you like - typically replicated from the SKP's geo-location data.
                      You can then update any pre-exisitng tags to use the new schema: all new tags will have the latest settings too...

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • jgbJ Offline
                        jgb
                        last edited by

                        Tig

                        Nice Job

                        I only played about 20 minutes with this, so I may seem naive (I am) to some of the capabilities of this Ruby. I've read the preamble several times, but some of it does not seem to jive with the dialog boxes.

                        All my drawings use the green axis as my "X" axis, red="Z" and blue="Y".
                        You, and I expect most everyone else, uses Red, Blue, Green as XYZ.
                        This puts the value I need most in the middle of the text string, rather than first as I am used to.
                        Short of turning ALL my drawings 90 deg, which will screw me up a lot (mainly with the comp axis orientations); is there any way of flipping the Red/Green orientation?

                        Is there a way to show ONLY the X axis (or Y) in the tag, and not the Y or Z values?

                        Is there a way to label each tag as it is created, perhaps by simply typing to the VCB the label? Your CofG Ruby picks up the component name. Perhaps you could label the coord tag with that comp name, IF a point on the comp is tagged.

                        There's more, but later. I need to play a lot more.


                        jgb

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

                          If you want just X&Y to be displayed then I suggest you set Z to 'None' ?
                          You need to mess around with the tool to find the settings that best suit your needs... ๐Ÿ˜„

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • renderizaR Offline
                            renderiza
                            last edited by

                            Very useful plugin...thanks!

                            [url=https://www.sketchupcode.com/:z3kqsidd]My Extensions ...[/url:z3kqsidd]

                            1 Reply Last reply Reply Quote 0
                            • jgbJ Offline
                              jgb
                              last edited by

                              @tig said:

                              If you want just X&Y to be displayed then I suggest you set Z to 'None' ?
                              You need to mess around with the tool to find the settings that best suit your needs... ๐Ÿ˜„

                              Bin messin aroun. ๐ŸŽ‰

                              I got the "none" to work (small yea) ๐Ÿ‘ but there seems to be a problem with "add coord tag by dialog" dialog.

                              When I select it, the d-box appears, but no matter what I change, it will not go away when I hit OK. It just comes back in default. Only CANCEL gets rid of it. ๐Ÿ˜ฎ

                              What am I doing wrong??


                              jgb

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

                                It is meant to reappear after you press OK [and it has added the coord-tag that you have just specified], this 'auto-rerun' is to let you enter multiple coords without having to reactivate the tool each time.
                                When you are done press Cancel it stops appearing...
                                I haven't bothered rereading the instructions but I'm pretty sure this is explained in there ๐Ÿ˜•

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • jgbJ Offline
                                  jgb
                                  last edited by

                                  But it doesn't seem to do anything in the model.

                                  Where's the tag going each time. I've tried to select a coord but nothing happens there as well.


                                  jgb

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

                                    It's being put at the XYZ you specify.
                                    I just tried it and it works.
                                    BUT remember that it is taking the units you have specified in the tool's settings - so if you have 'm' set as the units and you typed into the dialog 1231/1234/0 it'll appear over a kilometer away in the NE quadrant ! The current units are shown in the dialog's header...
                                    Try zoom-extents to see what you have done ๐Ÿ˜ฒ

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • jgbJ Offline
                                      jgb
                                      last edited by

                                      Now it works. ๐Ÿ‘ I had X,Y & Z at 0.0 but the origin was not in view.

                                      What does Cpoint do? I saw no difference yes or no.


                                      jgb

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

                                        If you have 'guides' set to be displayed you should see a new cpoint [guide-point] added at the specified coord...
                                        It should add a cpoint even if you aren't currently seeing them... ๐Ÿ˜•

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • jgbJ Offline
                                          jgb
                                          last edited by

                                          Now that I know what to look for, it is there.

                                          thanks.


                                          jgb

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

                                            The main idea behind adding these cpoints is that once they are all inserted you can use other tools to make a 3d terrain-mesh from the cpoints ๐Ÿ˜„

                                            TIG

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

                                            Advertisement