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
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • 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
            • TIGT 離線
              TIG Moderator
              最後由 編輯

              If you explode a group [or component-instance] which contains nested groups or component-instances then these are then made separated things. Any geometry is then loose. Explode2Groups takes the loose geometry and regroups it depending on 'connected-ness', the other nested objects are then in the selected group's 'parent' context.

              After using the tool you can use the Outliner to select any of these...

              Another way to achieve your goal would be to use the Outliner, and within it select the nested instances and drag them, still within the Outliner, into another context other than their 'parent' - they will then 'move' into that context...

              TIG

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

                Thank you TIG

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

                Advertisement