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.
    • 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
                • OxerO Offline
                  Oxer
                  last edited by

                  Great work!! 👍
                  All work fine now *****, nice Options window, perhaps a scrollbar, the windows size is very small on Mac and you have to resize them manually.

                  Component Manager window.jpg
                  Options window.jpg

                  The translation works partially.

                  It works in:

                  1. Plugins Menu
                    1. Titles of the windows.
                    1. Tooltips of the items in the List.
                    1. Tooltip of the toolbar icon.
                    1. All the strings in the Filters window.
                    1. String: "List update at "
                    1. All pop-up windows.

                  The rest no.

                  ***** See the next post.

                  "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,

                    For me undo is working badly again, this time it says undo BGSketchup instead of undo EDIT Properties.

                    Besides that, if I do a push pull I can't define a distance I have to get a reference point.

                    I have to disable plugin and restart SU for undo or pushpull to work.

                    Best regards,

                    JQL

                    www.casca.pt
                    Visit us on facebook!

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

                      ok guys.
                      Last version should solve some of your issues.

                      Oxer, for the issue of option for selecting components....very strange, everything work perfect on my PC. Is it not working with groups ? (I didn't implemented this function for groups. I should include it).
                      Same remarks with Group filter. I tried successfully lot of model.
                      For your point 3, this error involve also JSQL issues, then this version should solved everything.
                      JQL please try again your undo issue, on my it works.

                      Oxer, is this version solve the scrollbar issue in option window ?

                      We keep in touch.
                      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

                        Pushpull is working nicely outside groups and components, but inside a component you still are unable to set a dimension for pushpull, or Undo. This time it doesn't even undo if you press CTRL+Z a lot.

                        I'm going to PM you a model for you to test.

                        www.casca.pt
                        Visit us on facebook!

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

                          I sent you a PM with my answers, but the scrollbars no appear in the Options 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

                            Just post a plugins that solve push/pull issue (and maybe some other). It was a bug not so easy to find...

                            Oxer, I will post you a special version that tries to add scrollbar on Safari. About translation, could you tell me exactly an example of a translation not working ? I change in version 1.12.4 the option translation text to the English to avoid wrong coding because of new option texts structure.

                            Version 1.12.4 :
                            Corrected : Issue when using push/pull tool in a component.
                            Optimized : Simplified attribute date change in model to open only one time for each component.

                            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

                              With v1.12.4 on Mac the scrollbars continue missing and the translation works partially.

                              It works in:

                              • Plugins Menu
                              • Titles of the windows.
                              • Tooltips of the items in the List.
                              • Tooltip of the toolbar icon.
                              • All the strings in the Filters window.
                              • String: "List update at "
                              • All pop-up windows.

                              The rest no.

                              "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:

                                The rest no.

                                Ok this means that "options" are not translated. Are all options not translated ? (remember that in current Localization.rb file I let everything in English, to try it you have to change translation).

                                Also, for your window size issue, I added a option to save window size, which solve temporary your size issue.

                                V 1.13.0 :
                                Added : New option to save window size
                                Added : Show refreshing time in the window status bar
                                Corrected : Remove one unused global variable

                                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

                                  Yes, all Options not translated. I changed the translation.
                                  The "Save Window Size" option works fine but there is a great problem, when you call the plugin the first time all work fine, then you close the Component Manager window, the second time that you call the plugin, it appears the Component Manager window with the message: "Please refresh the list" but the buttons doesn't work, no Refresh List, no Link to file, nothing.

                                  Component Manager window.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
                                  • JQLJ Offline
                                    JQL
                                    last edited by

                                    Inteloide,

                                    I tried it again today and the problems with push-pull and undo have disappeared, but now I'm seing it messing with Fredoscale and I also believe JointPushPull. I think it's because they perform changes to components and groups visually and interactively.

                                    I think your plugin is making Fredo scale multiply a given value several times, until the mouse is clicked.

                                    I also believe it's making JointPushPull crash.

                                    May you have some conflicts with your observers and Fredo's?

                                    www.casca.pt
                                    Visit us on facebook!

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

                                      @jql said:

                                      May you have some conflicts with your observers and Fredo's?

                                      Hello JQL,

                                      I check a bit Fredo's plugin code, apparently nothing should make conflict...but I will ask Fredo if we can check this toegether.

                                      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

                                        But did you see what happens? Do you want me to make a video or something?

                                        www.casca.pt
                                        Visit us on facebook!

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

                                          Hello JQL,

                                          Yes a little video would be helpful.

                                          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

                                            Inteloide,

                                            There you have the video. If component manager plugin is disabled FredoScale works normally.
                                            It also works as usual on groups and sometimes on components with multiple instances.

                                            The object being stretched by FredoScale Box Stretch to Target is a component.

                                            Thanks again for all your effort,

                                            JQL


                                            FredoScale_Box_Stretch_to_Target_with_Component_Manager_v1.13.0_On.swf

                                            www.casca.pt
                                            Visit us on facebook!

                                            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