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

    [Plugin] Components manager plugin

    Scheduled Pinned Locked Moved Plugins
    156 Posts 15 Posters 42.7k 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.
    • OxerO Offline
      Oxer
      last edited by

      I placed the test.html file in /Users/Oxer/Library/Application Support/SketchUp 2013/SketchUp/Plugins/BGSketchup/Composants/Html/ then I run Sketchup but when I call the plugin, the list is empty again. I have tried open tree.html in Safari browser and it appears a message:

      Safari can't open "sip:get_data@charger_tires" because OSX doesn't recognize the address of internet that begin with "skp:".

      When i open test.html in Safari the file shows like this:

      Test file in Safari.jpg

      "The result is the end what is important is the process" by Oxer
      [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

      1 Reply Last reply Reply Quote 0
      • inteloideI Offline
        inteloide
        last edited by

        Hello,

        Just post new version, with following updates :
        1.9.8: Corrected : Delete all debugging messages, now works on MAC ! Thanks to Oxer !

        1.9.7:	Corrected :	Some javascript standard respect
        	Added :		Show a message to update the list if the wasn't.
        		Added :		Option not to start component mangement on SU start up to avoid adding attribute to model or slow down due to Observers
        
        1.9.6:	Corrected :	For localisation, in cas of error, the English language is chosen, also, english tranlsation always preload in case translation is missing
        	Corrected :	Change function in BGSketchup.rb functions into unic name function to avoid problem with other plugins
        

        Humanity will do a huge step when the IT professionals will understand that computers are tools...

        1 Reply Last reply Reply Quote 0
        • inteloideI Offline
          inteloide
          last edited by

          New version update (v 1.10.0) :
          Added : Toolbar with icon to show the plugin window
          Added : Help file is now in plugin sub folders, with a link from the "about" window. It was updated with last options explainations
          Optimzed : "About" window in HTML format for better rendering and to allow links to help file and forum.
          Optimzed : Component list shows scrollbar only is required.
          Optimzed : On MAC, use plugin window is now always on top.
          Corrected : Only one instance of the window can be shown.
          Corrected : Added, some missing translations in Spanish language.

          Humanity will do a huge step when the IT professionals will understand that computers are tools...

          1 Reply Last reply Reply Quote 0
          • inteloideI Offline
            inteloide
            last edited by

            Hello,

            Some updates today !

            JQL, one of your request is complete (filters) !

            1.11.0:
            Added : New option to show list without a tree-style
            Added : New button and window to filter item shown on list in case of non tree-style list
            Corrected : Component with relative path were shown as "not updated", now shown in grey
            Corrected : Tiny bug when showing components without dates
            Corrected : Add filter in remove observer to avoid errors
            Corrected : When clicking on component in model, all instances were selected if option Auto-select component in model was chosen
            Optimzed : Purge only the definitions reloaded, to avoid any trouble with other definition

            1.10.0:	
            

            Added : Toolbar with icon to show the plugin window
            Added : Help file is now in plugin sub folders, with a link from the "about" window. It was updated with last options explainations
            Optimzed : "About" window in HTML format for better rendering and to allow links to help file and forum.
            Optimzed : Component list shows scrollbar only is required.
            Optimzed : On MAC, use plugin window is now always on top.
            Corrected : Only one instance of the window can be shown.
            Corrected : Added, some missing translations in Spanish language.

            I hope lots of you feel this plugins useful...
            3D printer progress...only 1 euro by now... 😒

            Humanity will do a huge step when the IT professionals will understand that computers are tools...

            1 Reply Last reply Reply Quote 0
            • OxerO Offline
              Oxer
              last edited by

              Thanks for the update!! πŸ‘
              Some questions in OSX:
              1. If you select Yes in "Show list in tree-style" Option it doesn't appear like tree-style but if you select No then it appears the list in tree-style, is it the option upside down?
              2. In Filters window the option "Component has no defined date" has a blue color but in Component Manager window it appears in black, is it an error?

              Errors.jpg

              PS. The tooltips in Component Manager window don't translate to Spanish.

              EDIT: I had not understood the functionality, it works correctly but if you push Filter button when you have selected YES in option "Show list in tree-style", it appears a pop-up window with this message "You must choose option Show list in tree-style.", I think that it should say --> "You must choose NO in option Show list in tree-style." because with YES it isn't appear the Filters window.

              "The result is the end what is important is the process" by Oxer
              [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

              1 Reply Last reply Reply Quote 0
              • inteloideI Offline
                inteloide
                last edited by

                Hello Oxer,

                Just post new version 1.11.1 that solve your issues:
                Corrected : New filter for components which were not checked (option "Auto-check file paths")
                Optimized : Improve warning message for filter window
                Optimized : Component without modification date are shown in blue
                Optimized : Message shown if filter make the list empty
                Optimized : Allow more translations

                Humanity will do a huge step when the IT professionals will understand that computers are tools...

                1 Reply Last reply Reply Quote 0
                • OxerO Offline
                  Oxer
                  last edited by

                  Hi again,
                  I'll test it. πŸ‘

                  "The result is the end what is important is the process" by Oxer
                  [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                  1 Reply Last reply Reply Quote 0
                  • JQLJ Offline
                    JQL
                    last edited by

                    @inteloide said:

                    Hello,

                    Some updates today !

                    JQL, one of your request is complete (filters) !

                    Unbelieaveble!

                    I have not had the time to work with your plugin recently, but this week I will try it for sure. Thanks for all the recent excellent updates, this is growing strong.

                    JQL

                    www.casca.pt
                    Visit us on facebook!

                    1 Reply Last reply Reply Quote 0
                    • OxerO Offline
                      Oxer
                      last edited by

                      There are yet some problems:
                      1. To work fine the Filter function you must to change the line#50 in Localization.rb file

                      Of @strTreeListOptionToBeSelected="You must set option '"+@strOptionVerifierChemin+"' to '"+@strNon+"'."

                      to @strTreeListOptionToBeSelected="You must set option '"+@strAfficherArbre+"' to '"+@strNon+"'."

                      2. The Filter only works the first time, then when you push Filter again all items are unselected, and if you select one or various items and push Apply button nothing happens in the List window, it appears only the message "Nothing to show due to filters". The Ruby Console is empty.

                      PS. The tooltips continue without translation in Component Manager window. I send you a new spanish language by PM.

                      "The result is the end what is important is the process" by Oxer
                      [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                      1 Reply Last reply Reply Quote 0
                      • inteloideI Offline
                        inteloide
                        last edited by

                        Thank to Oxer a big bug is corrected in version 1.11.2.
                        Everybody should download this version to avoid problem using the plugin.

                        Updates :
                        1.11.2:
                        Corrected : Major error while linking component to file of reloading component
                        Corrected : In non tree style, numbers of instances of components filtered still appeared
                        Corrected : A bug appear in consol when leaving the plugin due to observers still working
                        Corrected : Change context menu javascript position which may imply some Safari problems
                        Optimized : Add translation for component updating while opening new sketchup instance.

                        Oxer, we keep in touch for your button title issue.

                        Humanity will do a huge step when the IT professionals will understand that computers are tools...

                        1 Reply Last reply Reply Quote 0
                        • OxerO Offline
                          Oxer
                          last edited by

                          I'm testing the last version on Mac and the Filters doesn't work. 😞

                          "The result is the end what is important is the process" by Oxer
                          [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                          1 Reply Last reply Reply Quote 0
                          • inteloideI Offline
                            inteloide
                            last edited by

                            @oxer said:

                            I'm testing the last version on Mac and the Filters doesn't work. 😞

                            Hello Oxer,
                            Could you tell me what's goes wrong ?

                            Humanity will do a huge step when the IT professionals will understand that computers are tools...

                            1 Reply Last reply Reply Quote 0
                            • OxerO Offline
                              Oxer
                              last edited by

                              When I push the Filter button the first time it appear the Filters window with all items selected, I unselect for example "Group" and "File path doesn't exist" and I push Apply button, then the Filters window disappears and it appears this message in the Component Manager window "Nothing to show due to filters".
                              I had groups, component linked and component unlinked in the model. I suppose that the Filters function works showing only the items selected in Filter windows but it isn't so.
                              If I open the Filters window a second time, all items are unselected.

                              Mac OSX 10.9.1 and SU2013

                              "The result is the end what is important is the process" by Oxer
                              [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                              1 Reply Last reply Reply Quote 0
                              • inteloideI Offline
                                inteloide
                                last edited by

                                Hello Gents,

                                Please download last version of the plugins which solve the 2 issues you raised me :

                                Version 1.11.3:
                                Optimized : The modification of components don't add lots of undo/redo action in Edit menu.
                                Corrected : Bug when changing filters

                                Oxer, could you tell me also if the last version solve your issue about button title translation in main window ?

                                JQL, thx for chasing me on the undo/redo action, actually it was just simple as reading the sketchup rubi api...
                                Just one thing : for example if you delete an edge linked to a face, so edge and face are deleted, when undo the action, the component manager will tells you that your component has been modified (even if it actually reverse back to original design).
                                It's not a big bug, but I'll keep thinking about a solution.

                                Inteloide

                                Humanity will do a huge step when the IT professionals will understand that computers are tools...

                                1 Reply Last reply Reply Quote 0
                                • inteloideI Offline
                                  inteloide
                                  last edited by

                                  @jql said:

                                  4 - There is a feature that is not working as I would expect too. If one refreshes the list by whatever reason it collapses (some commands also refresh it). You loose the context on the list you were on. Of course it's easy now to choose from model so this is just a minor question.
                                  JQL

                                  Except this request, I think I've complete all the other request. 😍
                                  But don't worry I have one idea for this request, even if I think that at the end using list in a non-tree style is easier to use.

                                  Other steps for plugin optimization would be :

                                  • Add possibility to auto-update the list when change the model with defining the update time (from 1 sec for small model, too minutes for big one) I could link this frequency to the time required to update the list : frequency auto-defined !
                                  • Add possibility to attached current time as modification time for component in model. This could be usefull for old model designed before having the plugin, or designed while plugin was desactivated.
                                  • change Option interface (options are mixed, and design just horrorful !)
                                  • change actions button at bottom of main window. Or allow user to defined which button he wants to have.
                                    If you have other request...they will be welcomed. πŸŽ‰

                                  If few days I will open a new topic to find some beta tester for an industrial 6 axis robot manager plugin. This will be the second plugin I'll officially release even if they are months I'm working on.

                                  So if you have other requests it's time, even if I won't let you down !

                                  Inteloide

                                  Humanity will do a huge step when the IT professionals will understand that computers are tools...

                                  1 Reply Last reply Reply Quote 0
                                  • JQLJ Offline
                                    JQL
                                    last edited by

                                    Congratulations on this Milestone!

                                    I'll try this one... but don't worry, I'll find some feature requests for you to deal with πŸ˜„

                                    Thanks,

                                    JQL

                                    www.casca.pt
                                    Visit us on facebook!

                                    1 Reply Last reply Reply Quote 0
                                    • inteloideI Offline
                                      inteloide
                                      last edited by

                                      Hello,

                                      Today update :
                                      Optimized : New options windows in HTML mode.
                                      Corrected : Little change in code to avoid error when deleting components with merge faces (to be verified...)
                                      Added : Prompt before upload all dΓ©finitions

                                      Options texts translation have to be done again...sorry for that...

                                      Inteloide

                                      Humanity will do a huge step when the IT professionals will understand that computers are tools...

                                      1 Reply Last reply Reply Quote 0
                                      • OxerO Offline
                                        Oxer
                                        last edited by

                                        Test v1.12 on Mac:
                                        The Options button doesn't work, it appears this message in Ruby Console when you push the button:

                                        %(#FF0040)[Error: #<TypeError: can't convert false into String>
                                        /Users/Oxer/Library/Application Support/SketchUp 2013/SketchUp/Plugins/BGSketchup/Composants/Rb/Composants_Main.rb:794:in `+'
                                        /Users/Oxer/Library/Application Support/SketchUp 2013/SketchUp/Plugins/BGSketchup/Composants/Rb/Composants_Main.rb:794:in `options'
                                        /Users/Oxer/Library/Application Support/SketchUp 2013/SketchUp/Plugins/BGSketchup/Composants/Rb/Composants_Main.rb:793:in `each'
                                        /Users/Oxer/Library/Application Support/SketchUp 2013/SketchUp/Plugins/BGSketchup/Composants/Rb/Composants_Main.rb:793:in `options'
                                        /Users/Oxer/Library/Application Support/SketchUp 2013/SketchUp/Plugins/BGSketchup/Composants/Rb/Composants_Main.rb:52:in `initialize_window']

                                        "The result is the end what is important is the process" by Oxer
                                        [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                                        1 Reply Last reply Reply Quote 0
                                        • inteloideI Offline
                                          inteloide
                                          last edited by

                                          Hello Oxer,

                                          Version 1.12.1 should solve your issue.

                                          Inteloide

                                          Humanity will do a huge step when the IT professionals will understand that computers are tools...

                                          1 Reply Last reply Reply Quote 0
                                          • OxerO Offline
                                            Oxer
                                            last edited by

                                            Other problems 😳
                                            1. The Options "Auto-select instances in model" & "Auto-select instances in list" worked only the first time that I ran the plugin.
                                            2. The Groups don't appear in the List although you have marked them in the Filters windows.
                                            3. I don't know if this is important but when I create a "New File" with the Ruby Console opens, it appears this message:

                                            %(#FF0040)[Error: #<NoMethodError: undefined method `execute_script' for nil:NilClass>
                                            /Users/Oxer/Library/Application Support/SketchUp 2013/SketchUp/Plugins/BGSketchup/Composants/Rb/Composants_Main.rb:132:in `maj_liste'
                                            /Users/Oxer/Library/Application Support/SketchUp 2013/SketchUp/Plugins/BGSketchup/Composants/Rb/Composants_Main.rb:1100:in `onNewModel'
                                            /Users/Oxer/Library/Application Support/SketchUp 2013/SketchUp/Plugins/BGSketchup/Composants/Rb/Composants_Main.rb:1073
                                            Error: #<NoMethodError: undefined method `execute_script' for nil:NilClass>
                                            /Users/Oxer/Library/Application Support/SketchUp 2013/SketchUp/Plugins/BGSketchup/Composants/Rb/Composants_Main.rb:132:in `maj_liste'
                                            /Users/Oxer/Library/Application Support/SketchUp 2013/SketchUp/Plugins/BGSketchup/Composants/Rb/Composants_Main.rb:1100:in `onNewModel'
                                            /Users/Oxer/Library/Application Support/SketchUp 2013/SketchUp/Plugins/BGSketchup/Composants/Rb/Composants_Main.rb:132
                                            Error: #<NoMethodError: undefined method `execute_script' for nil:NilClass>
                                            /Users/Oxer/Library/Application Support/SketchUp 2013/SketchUp/Plugins/BGSketchup/Composants/Rb/Composants_Main.rb:132:in `maj_liste'
                                            /Users/Oxer/Library/Application Support/SketchUp 2013/SketchUp/Plugins/BGSketchup/Composants/Rb/Composants_Main.rb:1100:in `onNewModel'
                                            /Users/Oxer/Library/Application Support/SketchUp 2013/SketchUp/Plugins/BGSketchup/Composants/Rb/Composants_Main.rb:132]

                                            "The result is the end what is important is the process" by Oxer
                                            [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                                            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