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

    [Plugin] UCS Manager

    Scheduled Pinned Locked Moved Plugins
    34 Posts 10 Posters 10.4k Views 10 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.
    • T Offline
      tommy.jhd
      last edited by

      Hi TIG,
      no sorry still exact same error message. UCS is the only plugin in the standard folder
      (haven't tried running it from an alternate location yet) Tested on two separate desktops.

      Is it working for you though?

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

        It works fine for me ???

        Please check you only have the one copy installed.
        An earlier version loading from another Plugins folder would mess you up, as it'll overwrite the standard folder's version.

        Can you also post the path to your standard folder - obtained from this in the Ruby Console.
        Sketchup.find_support_file('Plugins')

        Also I get this:
        DBUR_Ucs::TR

        {"UCS Manager"=>"UCS Manager", "Save and restore User Coordinates Systems"=>"Save and restore User Coordinates Systems", "Save a User Coordinates System"=>"Save a User Coordinates System", "Restore a User Coordinates System"=>"Restore a User Coordinates System", "Delete a User Coordinates System"=>"Delete a User Coordinates System", "Save UCS"=>"Save UCS", "Restore UCS"=>"Restore UCS", "Delete UCS"=>"Delete UCS", "List UCS"=>"List UCS", "List User Coordinates Systems"=>"List User Coordinates Systems", "UCS main dialog"=>"UCS main dialog", "Pick UCS origin"=>"Pick UCS origin", "New UCS name: "=>"New UCS name: ", "Unnamed"=>"Unnamed", "Existing UCS: "=>"Existing UCS: ", "Select UCS"=>"Select UCS", "No UCS in this model."=>"No UCS in this model.", "Select existing UCS"=>"Select existing UCS", "Name: "=>"Name: ", "Origin: "=>"Origin: ", "X Axis: "=>"X Axis: ", "Y Axis: "=>"Y Axis: ", "Z Axis: "=>"Z Axis: "}

        I'll make a slightly different version which sets up ' TR' differently, but I can't see why it fails for you !

        TIG

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

          Here's an update http://sketchucation.com/pluginstore?pln=DBUR_UcsManager_v1_0_0 It have recast some of the code making the Translation hash - it's no longer set up inside the RBS, it's now done in the subfolder's RB before loading the RBS at all.

          At least that way we might get different error messages 😕

          Please retry and report back...

          TIG

          1 Reply Last reply Reply Quote 0
          • T Offline
            tommy.jhd
            last edited by

            Hi TIG
            UCS manager is now loading without error - when located in standard plugins location, and in alternate locations.
            However the following errors appear on use:
            Error: #<NoMethodError: undefined method list_all_ucs' for DBUR_Ucs:Module> C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/DBUR_UcsManager/DBUR_UcsManager.rb:61 Error: #<NameError: uninitialized constant DBUR_Ucs::SaveUCSTool> C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/DBUR_UcsManager/DBUR_UcsManager.rb:40 C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/DBUR_UcsManager/DBUR_UcsManager.rb:61:in call'
            C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/DBUR_UcsManager/DBUR_UcsManager.rb:61
            Error: #<NameError: uninitialized constant DBUR_Ucs::RestoreUCSTool>
            C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/DBUR_UcsManager/DBUR_UcsManager.rb:47
            C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/DBUR_UcsManager/DBUR_UcsManager.rb:40:in call' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/DBUR_UcsManager/DBUR_UcsManager.rb:40 Error: #<NoMethodError: undefined method erase_ucs' for DBUR_Ucs:Module>
            C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/DBUR_UcsManager/DBUR_UcsManager.rb:54
            C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/DBUR_UcsManager/DBUR_UcsManager.rb:47:in `call'
            C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/DBUR_UcsManager/DBUR_UcsManager.rb:47

            As requested
            Sketchup.find_support_file('Plugins')
            C:/Program Files (x86)/Google/Google SketchUp 8/Plugins

            ..and...

            DBUR_Ucs::TR
            {"Existing UCS: "=>"Existing UCS: ", "Save a User Coordinates System"=>"Save a User Coordinates System", "Origin: "=>"Origin: ", "Select UCS"=>"Select UCS", "List User Coordinates Systems"=>"List User Coordinates Systems", "Save UCS"=>"Save UCS", "Restore a User Coordinates System"=>"Restore a User Coordinates System", "Y Axis: "=>"Y Axis: ", "Delete a User Coordinates System"=>"Delete a User Coordinates System", "Unnamed"=>"Unnamed", "Pick UCS origin"=>"Pick UCS origin", "New UCS name: "=>"New UCS name: ", "Z Axis: "=>"Z Axis: ", "Name: "=>"Name: ", "List UCS"=>"List UCS", "UCS Manager"=>"UCS Manager", "X Axis: "=>"X Axis: ", "Restore UCS"=>"Restore UCS", "Save and restore User Coordinates Systems"=>"Save and restore User Coordinates Systems", "Select existing UCS"=>"Select existing UCS", "UCS main dialog"=>"UCS main dialog", "Delete UCS"=>"Delete UCS", "No UCS in this model."=>"No UCS in this model."}

            Thank you again (sorry for taking a few day to test and get back to you)
            T

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

              This is weird...
              I'll do some more investigations...
              😕

              TIG

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

                Here's an update http://sketchucation.com/pluginstore?pln=DBUR_UcsManager_v1_0_0 Some of its encrypted 'class' methods have been adjusted so they might now [hopefully] work better with earlier versions of SketchUp...

                TIG

                1 Reply Last reply Reply Quote 0
                • T Offline
                  tommy.jhd
                  last edited by

                  Exactly the same error messages, I'm afraid.

                  Would you like me to PM you them? (rather than saturating the thread with error messages)

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

                    Please copy+paste these three lines [one at a time] into the Ruby Console and report the three results...

                    ` load('DBUR_UcsManager.rb')

                    load('DBUR_UcsManager/DBUR_UcsManager.rb')

                    Sketchup.load('DBUR_UcsManager/dbur_ucs.rbs')`

                    Then, in that same session, retry using the tool...

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      tommy.jhd
                      last edited by

                      load('DBUR_UcsManager.rb')
                      true
                      load('DBUR_UcsManager/DBUR_UcsManager.rb')
                      C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/DBUR_UcsManager/DBUR_UcsManager.rb:29: warning: already initialized constant TR
                      true
                      Sketchup.load('DBUR_UcsManager/dbur_ucs.rbs')
                      false

                      Tool replies same error messages as before

                      Original version replies: true, true, false - with no elaboration or warnings

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

                        I'll PM you a possible solution...

                        TIG

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

                          And gents, did you solve it?

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

                            Hi,
                            It would be a great improvement if we could choose the orientation of the three axes and not only the origin point, like the native "placer" tool.


                            axes.jpg

                            1 Reply Last reply Reply Quote 0
                            • Didier BurD Offline
                              Didier Bur
                              last edited by

                              Hello,

                              Yes, that's true.
                              I've just updated the plugin some days ago, and I wondered if I had to code what you want, and I did'nt did it.
                              I'll take your wish into account soon.
                              Regards,

                              DB

                              1 Reply Last reply Reply Quote 0
                              • Didier BurD Offline
                                Didier Bur
                                last edited by

                                Hi Djé,

                                Version 1.1.0 of the plugin is now availbale.

                                • the UCS Origin now takes the current UCS for moving it
                                • a new tool lets you define a new UCS (just like the native SU tool)

                                Download it at the Plugin Store (also soon at the EW):
                                https://extensions.sketchup.com/extension/13e533c2-ebf7-4d86-805f-59dd2254564b/axes-manager

                                Regards,

                                DB

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

                                Advertisement