sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    [Plugin] Group PushPull 2DFaces (v0.4) Oct 20, 2010

    Scheduled Pinned Locked Moved Plugins
    22 Posts 9 Posters 30.8k 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.
    • K Offline
      kyyu
      last edited by kyyu

      This was a request for a plugin to automatically divide up a solid into individual solids. The use would be importing out game levels. I guess the game engine can't deal with holes, like a wall with a window opening. What this plugin does is not divide up a solid, but works on 2D divided faces and pushpulls them into individual grouped solids. The thickness value needs to be manually changed in the beginning of the ruby. Default is 0.25
      Original request thread is here: http://forums.sketchucation.com/viewtopic.php?f=323&t=31112

      blocks.gif

      Applied to a box and exploded with Pilou's Eclate_Deplace plugin

      The example Pilou posted - exploded afterwards with Radial Move plugin
      [Original Version 0.1]

      Original v0.1

      [Version 0.2]
      I added an input box. Click ok to accept the default pushpull depth or enter new value. You can manual change two things in the code:
      -change the value "thickness_default", to set the default thickness
      -change to "use_input_box = false", if you don't want a input box

      ky_Group_PushPull_2DFaces v0.2 (input box).png

      Version 0.2 - added input box

      [version 0.3b]
      The plugin now has the option of making components instead of groups. A component option has been added to the input box. Like the other values, you can change the default in the code. Just read the comments at the beginning of the code, for instructions.

      ky_Group_PushPull_2DFaces v0.3.png

      Version 0.3b - added component option

      [New version 0.4]
      Now, saves changed input box values, for the entire sketchup session.

      Version 0.4 - remembers values for entire session

      1 Reply Last reply Reply Quote 0
      • D Offline
        DIEGO-RODRIGUEZ
        last edited by

        thanks, very handy tool.
        Be possible to add the option pushpull thickness, using VCV?
        -Operation
        -Select faces
        Tool-run
        -PushPull thickness
        I press ENTER, or double-click


        Some suggestions:
        Entered value last remember?
        if the value is 0, not does generate pushpull. Generates only groups of faces?
        You can enter negative values?
        pushpull possibility of center on the selected face?

        1 Reply Last reply Reply Quote 0
        • pilouP Offline
          pilou
          last edited by

          Radial move is here πŸ˜‰ by CPlassais & Pilou πŸ˜‰

          Frenchy Pilou
          Is beautiful that please without concept!
          My Little site :)

          1 Reply Last reply Reply Quote 0
          • EarthMoverE Offline
            EarthMover
            last edited by

            Making them into components instead of groups would be a better option. This would allow you to run ThomThom's "Replace Similar" script and have them replaced where applicable.

            3D Artist at Clearstory 3D Imaging
            Guide Tool at Winning With Sketchup
            Content Creator at Skapeup

            1 Reply Last reply Reply Quote 0
            • Dave RD Offline
              Dave R
              last edited by

              @earthmover said:

              Making them into components instead of groups would be a better option. This would allow you to run ThomThom's "Replace Similar" script and have them replaced where applicable.

              +1 on that.

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

              1 Reply Last reply Reply Quote 0
              • pilouP Offline
                pilou
                last edited by

                @unknownuser said:

                run ThomThom's "Replace Similar"

                Where is this plug? 😳

                Frenchy Pilou
                Is beautiful that please without concept!
                My Little site :)

                1 Reply Last reply Reply Quote 0
                • K Offline
                  kyyu
                  last edited by

                  I don't normally use components, so don't even know how to code for it. If anyone wants to, feel free to modify this plugin for components. And I will post it above, as an alternative.

                  This was just a quick writeup, that I never intended to improve on. But what I plan to do is incorporate this plugin into my PushPull & Group Plugin, which already has most of the features requested by DIEGO-RODRIGUEZ. I did try my PushPull & Group Plugin, originally, but it could not handle faces that touched (adjacent). You guys can check out this video, of the current incarnation of the PushPull & Group Plugin: http://www.youtube.com/watch?v=lQgeMuFdpKU

                  -Kwok

                  1 Reply Last reply Reply Quote 0
                  • thomthomT Offline
                    thomthom
                    last edited by

                    @earthmover said:

                    Making them into components instead of groups would be a better option. This would allow you to run ThomThom's "Replace Similar" script and have them replaced where applicable.

                    0.2.0 supports groups.

                    Thomas Thomassen β€” SketchUp Monkey & Coding addict
                    List of my plugins and link to the CookieWare fund

                    1 Reply Last reply Reply Quote 0
                    • Dave RD Offline
                      Dave R
                      last edited by

                      @thomthom said:

                      0.2.0 supports groups.

                      Does it leave them as groups, though?

                      Etaoin Shrdlu

                      %

                      (THERE'S NO PLACE LIKE)

                      G28 X0.0 Y0.0 Z0.0

                      M30

                      %

                      1 Reply Last reply Reply Quote 0
                      • thomthomT Offline
                        thomthom
                        last edited by

                        At the moment, yes ... I think. But Selection Toys can convert them into components.

                        Thomas Thomassen β€” SketchUp Monkey & Coding addict
                        List of my plugins and link to the CookieWare fund

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          razer
                          last edited by

                          This is good for old game engines due to the fact they only work with groups and basic solids, That way I can create my walls with doors and windows in a flash πŸ˜„!

                          1 Reply Last reply Reply Quote 0
                          • K Offline
                            kyyu
                            last edited by

                            Updated to v0.2. Input box added.

                            1 Reply Last reply Reply Quote 0
                            • K Offline
                              kyyu
                              last edited by

                              Updated to v0.3. You now have the option to make components.

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                DIEGO-RODRIGUEZ
                                last edited by

                                thank you very much

                                1 Reply Last reply Reply Quote 0
                                • K Offline
                                  kyyu
                                  last edited by

                                  Your welcome, DIEGO-RODRIGUEZ.

                                  Everyone, I found a bug and have released a quick update. (from v0.3 to v0.3b ) Please, get the new version. The bug I fixed only has effect, if you chose the option not to use the input box.

                                  -Kwok

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    DIEGO-RODRIGUEZ
                                    last edited by

                                    thanks.
                                    you can add the option to remember the last setting used?

                                    1 Reply Last reply Reply Quote 0
                                    • K Offline
                                      kyyu
                                      last edited by

                                      @diego-rodriguez said:

                                      thanks.
                                      you can add the option to remember the last setting used?

                                      Done, new version 0.4 posted. πŸ˜„

                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        DIEGO-RODRIGUEZ
                                        last edited by

                                        thank you very much

                                        1 Reply Last reply Reply Quote 0
                                        • 3 Offline
                                          3dsketchupper
                                          last edited by

                                          Nice addition,Thanks for sharing. it will be good as mention to
                                          have component option.

                                          1 Reply Last reply Reply Quote 0
                                          • R Offline
                                            razer
                                            last edited by

                                            Hello I was wondering how could I put this in my right click menu? that way its easier to get to Thanks! I was also wondering if you could add more saved options that way I can have 2 measurements instead of going back and forth having to change it all the time

                                            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