• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ 30% Off | Artisan 2 on sale until April 30th Buy Now

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

Scheduled Pinned Locked Moved Plugins
22 Posts 9 Posters 30.7k 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 28 Sept 2010, 14:01

    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 28 Sept 2010, 14:54

      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
      • P Offline
        pilou
        last edited by 28 Sept 2010, 16:26

        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
        • E Offline
          EarthMover
          last edited by 28 Sept 2010, 16:45

          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
          • D Offline
            Dave R
            last edited by 28 Sept 2010, 20:08

            @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
            • P Offline
              pilou
              last edited by 28 Sept 2010, 20:31

              @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 28 Sept 2010, 20:34

                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 28 Sept 2010, 20:40

                  @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
                  • D Offline
                    Dave R
                    last edited by 28 Sept 2010, 20:49

                    @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 28 Sept 2010, 21:24

                      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 29 Sept 2010, 07:19

                        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 14 Oct 2010, 01:25

                          Updated to v0.2. Input box added.

                          1 Reply Last reply Reply Quote 0
                          • K Offline
                            kyyu
                            last edited by 19 Oct 2010, 23:34

                            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 20 Oct 2010, 00:13

                              thank you very much

                              1 Reply Last reply Reply Quote 0
                              • K Offline
                                kyyu
                                last edited by 20 Oct 2010, 03:40

                                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 20 Oct 2010, 03:53

                                  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 20 Oct 2010, 05:33

                                    @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 20 Oct 2010, 20:27

                                      thank you very much

                                      1 Reply Last reply Reply Quote 0
                                      • 3 Offline
                                        3dsketchupper
                                        last edited by 11 Nov 2010, 02:35

                                        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 31 May 2011, 04:03

                                          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