sketchucation logo sketchucation
    • 登入
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🔌 Easy Offset | Offset selected faces in SketchUp in positive and negative offsets. Download

    [Plugin] Explode2Groups

    已排程 已置頂 已鎖定 已移動 Plugins
    26 貼文 11 Posters 16.1k 瀏覽 11 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • M 離線
      Mr S
      最後由 編輯

      Looks like another handy tool to have.
      Thanks.

      Mr S

      1 條回覆 最後回覆 回覆 引用 0
      • bagateloB 離線
        bagatelo
        最後由 編輯

        Does exist some plugin that just transforms components in groups and groups in components?

        While the cat's away, the mice will play

        1 條回覆 最後回覆 回覆 引用 0
        • Chris FullmerC 離線
          Chris Fullmer
          最後由 編輯

          Nope. What would need such a thing for?

          Lately you've been tan, suspicious for the winter.
          All my Plugins I've written

          1 條回覆 最後回覆 回覆 引用 0
          • bagateloB 離線
            bagatelo
            最後由 編輯

            Because at this time, I'm importing things from 3dsMAX to Sketchup, and all subobjects are components, always. I don't like that, I like groups for subobjects, because it doesn't pollute the components browser.

            While the cat's away, the mice will play

            1 條回覆 最後回覆 回覆 引用 0
            • pbacotP 離線
              pbacot
              最後由 編輯

              @chris fullmer said:

              Nope. What would need such a thing for?

              To place multiple components then turn each instance into a group for different modifications, without having to select each one and explode, then group, separately? Still this tool can be used to help in that case.

              MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

              1 條回覆 最後回覆 回覆 引用 0
              • Y 離線
                yvani
                最後由 編輯

                does this plugin work with SU 2017? I don't succeed ....

                1 條回覆 最後回覆 回覆 引用 0
                • TIGT 離線
                  TIG Moderator
                  最後由 編輯

                  This tool does not work in v2017.
                  Trimble changed the way SketchUp keeps references to entities during exploding etc, so this tool now fails.

                  Sorry, but it is 10 years old. 😞

                  Search for other similar tools which might have been update-able...

                  TIG

                  1 條回覆 最後回覆 回覆 引用 0
                  • TIGT 離線
                    TIG Moderator
                    最後由 編輯

                    You are in luck !
                    I checked the code and it was a relatively simple fix to make it v2017 compatible !
                    Here's v2.0
                    https://sketchucation.com/pluginstore?pln=Explode2Groups

                    TIG

                    1 條回覆 最後回覆 回覆 引用 0
                    • designerbursaD 離線
                      designerbursa
                      最後由 編輯

                      Hi TIG
                      Thanks this plugin! ..
                      Selecting each group one by one detonates. Can the whole group or components make a single selection?

                      I want all drawings in the file to be a single group or component when I run the plug-in

                      1 條回覆 最後回覆 回覆 引用 0
                      • TIGT 離線
                        TIG Moderator
                        最後由 編輯

                        Why not just Explode everything that's selected [right-click context-menu], the results stay selected, now use context-menu Make Group or Make Component ?

                        TIG

                        1 條回覆 最後回覆 回覆 引用 0
                        • TIGT 離線
                          TIG Moderator
                          最後由 編輯

                          I'm not sue that this plugin does what you want.
                          However, I am unclear about what it is you want to do exactly... 😕

                          The way this tool works...
                          Select a group, it is exploded, and then any nested geometry within it is made into separate 'connected' groups.

                          From your earlier description you seemed to want to take selected groups, and then combine them into a new single group.
                          My description explained how to do that by using the native tools...

                          Pleas explain step by step what you want to do.
                          No video is needed [indeed yours just confused me!]
                          Just say what you start with and what you want to have at the end, with any intermediate steps for clarity...

                          TIG

                          1 條回覆 最後回覆 回覆 引用 0
                          • designerbursaD 離線
                            designerbursa
                            最後由 編輯

                            Thank you for your interest in TIG.
                            I don't know if I got it right, but I haven't.
                            I am using Sketchup 2018 version

                            1 條回覆 最後回覆 回覆 引用 0
                            • designerbursaD 離線
                              designerbursa
                              最後由 編輯

                              It would be nice if there was a plug-in to create single groups when all nested groups explode.

                              1 條回覆 最後回覆 回覆 引用 0
                              • TIGT 離線
                                TIG Moderator
                                最後由 編輯

                                But as I said before...
                                If you select all of the required groups [and or component-instances] and use Explode from the built-in right-click context-menu item, the result remains selected, so then you can immediately use the built-in right-click context-menu again to Make Group...

                                Even if there were a tool to do what you wish you'd need to preselect the groups to process and then run the tool to group them and explode them, so the amount of work you'd have to do is about the same either way.
                                So making a script to do this is duplicating what's already available to you ??

                                TIG

                                1 條回覆 最後回覆 回覆 引用 0
                                • designerbursaD 離線
                                  designerbursa
                                  最後由 編輯

                                  @tig said:

                                  But as I said before...
                                  If you select all of the required groups [and or component-instances] and use Explode from the built-in right-click context-menu item, the result remains selected, so then you can immediately use the built-in right-click context-menu again to Make Group...

                                  Even if there were a tool to do what you wish you'd need to preselect the groups to process and then run the tool to group them and explode them, so the amount of work you'd have to do is about the same either way.
                                  So making a script to do this is duplicating what's already available to you ??

                                  "expode2component"

                                  Can you make such a plugin?

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • TIGT 離線
                                    TIG Moderator
                                    最後由 編輯

                                    @designerbursa said:

                                    "expode2component"

                                    Can you make such a plugin?

                                    It's easy to do...
                                    At the end of the part that make a group out of some entities you add something like -
                                    compoi = group.to_component
                                    You can then choose to use methods like compod=compoi.definition; compod.name="Compo#1" to rename the definition as desired.

                                    But if this relates to the parallel question once you have all exploded entities, still selected, there is a right-click > context-menu native-item "Make Component...", which makes the Selection into a Component rather than into a Group like with "Make Group" - the resultant dialog lets you name the component etc...

                                    If you already have a Group then the context-menu item "Make Component..." can also make that selected Group into a Component etc...

                                    TIG

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • designerbursaD 離線
                                      designerbursa
                                      最後由 編輯

                                      @unknownuser said:

                                      It's easy to do...
                                      At the end of the part that make a group out of some entities you add something like -
                                      compoi = group.to_component
                                      You can then choose to use methods like compod=compoi.definition; compod.name="Compo#1" to rename the definition as desired.

                                      But if this relates to the parallel question once you have all exploded entities, still selected, there is a right-click > context-menu native-item "Make Component...", which makes the Selection into a Component rather than into a Group like with "Make Group" - the resultant dialog lets you name the component etc...

                                      If you already have a Group then the context-menu item "Make Component..." can also make that selected Group into a Component etc...

                                      This is very hard for amateurs like me 😄

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • TIGT 離線
                                        TIG Moderator
                                        最後由 編輯

                                        The native methods are available to all - with no need for coding skills...

                                        To simply edit ../Plugins/Explode2groups.rb to finally make components rather than groups...
                                        Edit that RB file using a plain-text editor [e.g. Notepad++ on PC, or TextWrangler on MAC]
                                        Find line #43
                                        all.each{|a| aents.add_group(a) }
                                        Change it to read
                                        all.each{|a| **gp=**aents.add_group(a)**;ci=gp.to_component;ci.definition.name="Compo#1"** }
                                        The default component's name - Compo#1 - increments for each new definition...

                                        TIG

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • jujuJ 離線
                                          juju
                                          最後由 編輯

                                          at "designerbursa"

                                          There are some paid extensions you might want to take a look at as well:

                                          • nz_ConvertMe
                                          • nz_EasyGroups

                                          Save the Earth, it's the only planet with chocolate.

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • designerbursaD 離線
                                            designerbursa
                                            最後由 編輯

                                            @tig said:

                                            The native methods are available to all - with no need for coding skills...

                                            To simply edit ../Plugins/Explode2groups.rb to finally make components rather than groups...
                                            Edit that RB file using a plain-text editor [e.g. Notepad++ on PC, or TextWrangler on MAC]
                                            Find line #43
                                            all.each{|a| aents.add_group(a) }
                                            Change it to read
                                            all.each{|a| **gp=**aents.add_group(a)**;ci=gp.to_component;ci.definition.name="Compo#1"** }
                                            The default component's name - Compo#1 - increments for each new definition...

                                            I tried, it works. But you misunderstood me. I want the components to use the same process. to separate nested components. or is there such a plugin? easy and simple plugin! ..

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement