• Login
sketchucation logo sketchucation
  • Login
🤑 30% Off | Artisan 2 on sale until April 30th Buy Now

[Plugin] UCS Manager

Scheduled Pinned Locked Moved Plugins
34 Posts 10 Posters 10.4k Views
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.
  • D Offline
    Didier Bur
    last edited by 15 Aug 2013, 16:10

    This plugin is intended to provide SU users some basic tools to save, restore, delete and list their user coordinates systems (aka UCS) of the model.
    In SketchUp, you cannot save the axis systems you set with the axes tool, and obviously you cannot retrieve an axis system you used earlier or during another session. This extension offers an alternative method to avoid this.

    DBUR_UcsManager_v1_0_0.rbz
    ucs_toolbar.jpg
    Please get the latest version from the PluginStore http://sketchucation.com/pluginstore?pln=DBUR_UcsManager_v1_0_0

    DB

    1 Reply Last reply Reply Quote 0
    • K Offline
      Krisidious
      last edited by 15 Aug 2013, 16:24

      Very kool making what should be a native tool come to life... Thanks Didier.

      By: Kristoff Rand
      Home DesignerUnique House Plans

      1 Reply Last reply Reply Quote 0
      • G Offline
        glro
        last edited by 18 Aug 2013, 10:18

        @didier bur said:

        This plugin is intended to provide SU users some basic tools to save, restore, delete and list their user coordinates systems (aka UCS) of the model.
        In SketchUp, you cannot save the axis systems you set with the axes tool, and obviously you cannot retrieve an axis system you used earlier or during another session. This extension offers an alternative method to avoid this.

        [attachment=1:1u8yr8v7]<!-- ia1 -->DBUR_UcsManager_v1_0_0.rbz<!-- ia1 -->[/attachment:1u8yr8v7]
        [attachment=0:1u8yr8v7]<!-- ia0 -->ucs_toolbar.jpg<!-- ia0 -->[/attachment:1u8yr8v7]

        nice idea

        but when i clic on the origin to register the SCU, the dialog box opens and it is not possible anymore to clic on the axes...

        to be honest, i did manage once... but it was luck of the beginner; i couldn't do it again...

        1 Reply Last reply Reply Quote 0
        • D Offline
          Didier Bur
          last edited by 18 Aug 2013, 11:23

          Hi Georges,

          When you register (save) an UCS, the only operation you have to do is to click at the origin of that UCS, no need to click on the 3 axes. As you can see, the cursor still have the correct orientation of XYZ axes. You'll only have to click the axes orientations when you restore a previously saved UCS.
          This is explained in the PDF doc included in the resources folder of the plugin. I've attached it here.

          Regards,


          UCS Manager.pdf

          DB

          1 Reply Last reply Reply Quote 0
          • P Offline
            Pixero
            last edited by 18 Aug 2013, 14:07

            Thanks. Will be useful. 👍

            1 Reply Last reply Reply Quote 0
            • G Offline
              glro
              last edited by 18 Aug 2013, 20:12

              @didier bur said:

              Hi Georges,

              When you register (save) an UCS, the only operation you have to do is to click at the origin of that UCS, no need to click on the 3 axes. As you can see, the cursor still have the correct orientation of XYZ axes. You'll only have to click the axes orientations when you restore a previously saved UCS.
              This is explained in the PDF doc included in the resources folder of the plugin. I've attached it here.

              Regards,

              i understand now; thank you

              maybe it would be useful to register automatically the UCS that comes by default with the sketchup model; otherwise you have to do it manually each time you create a new one

              the limit for the plugin seems to come from sketchup itself; for example, moving components with J FOLTZ's plugin mover2.rb, is according the original UCS, no matter which new UCS has been created and is active

              1 Reply Last reply Reply Quote 0
              • D Offline
                Didier Bur
                last edited by 20 Aug 2013, 09:04

                @Giro:

                @unknownuser said:

                maybe it would be useful to register automatically the UCS that comes by default with the sketchup model; otherwise you have to do it manually each time you create a new one

                No, there's no need to do so, to reset the default axes, just right-click on an axis of your current UCS and select "Reset".
                Regards,

                DB

                1 Reply Last reply Reply Quote 0
                • G Offline
                  glro
                  last edited by 20 Aug 2013, 10:10

                  @didier bur said:

                  @Giro:

                  @unknownuser said:

                  maybe it would be useful to register automatically the UCS that comes by default with the sketchup model; otherwise you have to do it manually each time you create a new one

                  No, there's no need to do so, to reset the default axes, just right-click on an axis of your current UCS and select "Reset".
                  Regards,

                  oh... i didn't know that

                  thank you

                  i add this information in my copy of your documentation

                  1 Reply Last reply Reply Quote 0
                  • EdsonE Offline
                    Edson
                    last edited by 14 Sept 2013, 21:41

                    hi didier,

                    as simple to operatte as this plugin may seem to be, I am having trouble with it.

                    I have no problem saving the first custom axes position. but after the first it will not save any other. I am stuck with just one custom axes system.

                    I am probably doing something wrong. but what?

                    I use mac os x.

                    regards.

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

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      Didier Bur
                      last edited by 15 Sept 2013, 08:59

                      Hi Edson,
                      I suppose each time you register a new UCS you give it a unique name, right ?
                      Can you do this test: register 2 or 3 different UCS, then call the attributes manager to see if these UCS have been correctly stored as attribute dictionaries.
                      See attached image: in this example, I have registered 3 UCS named 11,12, and 13, so I have 3 attribute dictionaries named UCS_11, UCS_12, and UCS_13.
                      If that's no the case on your side, I'll have to further investigate what's wrong with the script on Mac.
                      Regards,

                      ucs_attr.jpg

                      DB

                      1 Reply Last reply Reply Quote 0
                      • EdsonE Offline
                        Edson
                        last edited by 15 Sept 2013, 12:17

                        didier,

                        I created three UCSs: 01, 02 and 03. then I clicked on List UCS and it shows only the first one (see below).

                        please. forgive my thickness but I do not know where is the Attributes Manager you mentioned. is there such a thing on mac?

                        Screen Shot 2013-09-15 at 9.12.40 AM.png

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

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          Didier Bur
                          last edited by 15 Sept 2013, 12:51

                          The attributes manager is an old thing by Google released in 2007. I have attached it here.
                          But the 'list UCS' command of my plugin retrieves the attribute dictionaries of your UCS and just displays them in another way. I see that your UCS aren't registered the way they should be 😞
                          Anyone on Mac encountered the same problem ?
                          I've tested the plugin on a Mac and it works OK.
                          Edson, can you send me a SKP with several registered UCS ?

                          DB

                          1 Reply Last reply Reply Quote 0
                          • EdsonE Offline
                            Edson
                            last edited by 15 Sept 2013, 19:24

                            here you have a skp file with 5 UCSs registered, from 01 to 05. if you still want me to run the attributes thing, let me know.

                            you forgot to attach it.


                            UCS_Manager_test.skp

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

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              Didier Bur
                              last edited by 16 Sept 2013, 07:47

                              @Edson:
                              I'm puzzled: there's only one UCS registered in you file. I've added 2 new UCS named 02 and 03 with no problem. I send you the file back, please check if they can be listed once back on your Mac.
                              P.S.: forget the attribute manager, the listing UCS command does the same job.
                              Regards,


                              UCS_Manager_test.skp

                              DB

                              1 Reply Last reply Reply Quote 0
                              • EdsonE Offline
                                Edson
                                last edited by 16 Sept 2013, 12:56

                                I am puzzled too. the UCSs you created are listed on my mac. however, I created UCS 04 and it did not register again.

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

                                1 Reply Last reply Reply Quote 0
                                • G Offline
                                  gbu
                                  last edited by 21 Feb 2014, 11:39

                                  Hi Didier, will be very useful but have exactly the same problem on my mac- did you resolve? or is there an update for mac? Thanks

                                  1 Reply Last reply Reply Quote 0
                                  • TIGT Offline
                                    TIG Moderator
                                    last edited by 15 Nov 2014, 16:45

                                    I have updated this tool for Didier, now to be compatible from SketchUp v8 up to v2015.
                                    It will also now load from any suitably set up Plugins folder [in $:], rather than just the default Plugins folder...
                                    The latest version [1.0.0x] is in the PluginStore http://sketchucation.com/pluginstore?pln=DBUR_UcsManager_v1_0_0

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      tommy.jhd
                                      last edited by 20 Feb 2015, 16:09

                                      Hello,

                                      TIG's update brought the following error:

                                      Error Loading File C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/DBUR_UcsManager/DBUR_UcsManager.rb
                                      uninitialized constant DBUR_Ucs::TRError Loading File DBUR_UcsManager.rb
                                      uninitialized constant DBUR_Ucs::TR

                                      ...which I think is a similar error message to what happens when you try and load UCS manager from an alternate plugin folder.
                                      The standard v1.0.0 loads fine (from standard plugin folder)

                                      Is the solution obvious?
                                      I've been fiddling with Didier's ArcCircle+ rb, trying and failing to get it to work from an alternate pligin location. If UCS can be fixed, I'll attempt the equivalent on ArcCircle+ - and perhaps save you the bother.

                                      Thanks
                                      T

                                      1 Reply Last reply Reply Quote 0
                                      • TIGT Offline
                                        TIG Moderator
                                        last edited by 20 Feb 2015, 17:04

                                        @tommy.jhd said:

                                        Hello,

                                        TIG's update brought the following error:

                                        Error Loading File C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/DBUR_UcsManager/DBUR_UcsManager.rb
                                        uninitialized constant DBUR_Ucs::TRError Loading File DBUR_UcsManager.rb
                                        uninitialized constant DBUR_Ucs::TR

                                        ...which I think is a similar error message to what happens when you try and load UCS manager from an alternate plugin folder.
                                        The standard v1.0.0 loads fine (from standard plugin folder)

                                        Is the solution obvious?
                                        I've been fiddling with Didier's ArcCircle+ rb, trying and failing to get it to work from an alternate pligin location. If UCS can be fixed, I'll attempt the equivalent on ArcCircle+ - and perhaps save you the bother.

                                        Thanks
                                        T
                                        I'll check it out...
                                        Many of Didier's scripts do mess up if a non-standard Plugins folder is used...
                                        I thought I found all the culprits... maybe not.

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • TIGT Offline
                                          TIG Moderator
                                          last edited by 20 Feb 2015, 18:04

                                          Here is an updated version.
                                          http://sketchucation.com/pluginstore?pln=DBUR_UcsManager_v1_0_0
                                          Please ensure that you have no other versions loading from other Plugins folder locations...

                                          TIG

                                          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