sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    [Obsolete] Joint Push Pull

    Scheduled Pinned Locked Moved Plugins
    45 Posts 27 Posters 10.8k Views 27 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.
    • fredo6F Offline
      fredo6
      last edited by fredo6

      Here is a very first version of what I call Joint Push Pull, which is a compromise between the classic Sketchup push pull along individual face normals and the Vector Push pull whihc keeps faces contiguous. In other terms, how to extrude faces along their normal, but generate a contiguous shape.

      I guess the pictures attached are self-explanatory on what the script tries to achieve.

      The ZIP archive should be unzipped in the Plugins folder and create in the Plugins folder:

      • jointpushpull.rb, the main macro
      • LibPlaneSelectorTool.rb, to select a custom plane
      • LibVectorSelectorTool.rb, to select a custom vector
      • LibTraductor.rb, for language translation and dialog boxes. This is a new version (you must use this one, but it is compatible with the previous version published with Bezierspline)
      • LibTraductor.def, an optional configuration file allowing override of language
      • A folder JPP_Dir, which contains the 2 icons for the toolbar
        The script creates 2 menu entries in the Tools menu
        The script also implements Classic Push Pull and Vector Push pull

      There is a full doc in PDF, but it is too large to upload on this site. So I put it on the Google forum at http://groups.google.com/group/Ruby-API/browse_thread/thread/6ae80c5c688083fb.


      Comparing Classic vs. Vector vs. Joint Push Pull methods


      Works also for insets


      to unzip in the Plugins folder - Update with smooth / soft edges

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

        a wicked script indeed! this will be very useful for a lot of things, your hard work is much appreciated.

        http://remusrendering.wordpress.com/

        1 Reply Last reply Reply Quote 0
        • D Offline
          Daniel S
          last edited by

          Thank you Fredo!!

          I didn´t know that this can be done with ruby.

          Give thickness to surfaces it´s a feature that I was hoping for Sketchup 7. I tried this plugin with a lot of different surfaces and works fantastic.

          Thank you again!!

          Daniel S

          Edit:PS. Yes.. like bellwells says... there are hidden edges.. in a lot of cases don´t looks good... would be better to use "soften edges"
          Offtopic: Have you tried to make a bevel/round edges tool? 😒 😳

          1 Reply Last reply Reply Quote 0
          • J Offline
            Jim
            last edited by

            Wow, great plugin! You must have spent many hours working on it. Thank you.

            Hi

            1 Reply Last reply Reply Quote 0
            • B Offline
              bellwells
              last edited by

              Thank you Fredo. You think you've seem it all and then....WHAM!!! There have been many times I could have used this. Most recently, yesterday while trying to increase the overhang of an octagonal roof.

              Edit: I got a kick out of your "Seidel-Gauss algorithm and the Choleski linear resolution matrix" footnote in the tutorial PDF.....LOL.

              I would LOVE if this could work in version 5. It almost does now.

              Edit: I noticed that after running the script some of the edges of the extrusions are hidden and the sides of some extrusions are not perpendicular to the face. These 3 faces were selected at the same time. This only seems to happen with polygons. See image below:

              Edit: I now understand why there are hidden edges. When extruding multiple contiguous faces, the common edges are hidden to give a smooth look. You can see this when you select Hidden Geometry or explode the group. I guess when you extrude only one face or non-contiguous faces (like in my example), the script "wants" to hide an edge.


              JointPushPull.jpg

              Ron

              1 Reply Last reply Reply Quote 0
              • GaieusG Offline
                Gaieus
                last edited by

                Great script! It's like offsetting whole faces instead of just lines.
                I just wonder why all these functions are not included in SU!

                Thanks a lot!

                Gai...

                1 Reply Last reply Reply Quote 0
                • PixeroP Offline
                  Pixero
                  last edited by

                  Thanks! I was just wondering how to do this.

                  1 Reply Last reply Reply Quote 0
                  • fredo6F Offline
                    fredo6
                    last edited by

                    @daniel s said:

                    Edit:PS. Yes.. like bellwells says... there are hidden edges.. in a lot of cases don´t looks good... would be better to use "soften edges"

                    Actually, I did not know what was the most appropriate, hidden or soft, because there are advantages for both in any situation.
                    This is easy to fix (see attached file modified).
                    The question is whether I leave this as an option


                    version with soft / smooth edges instead of hidden

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      a4chitect
                      last edited by

                      thanks a lot! the tutorial by itself is a masterpiece, and you are definitely breaking new ground with your Choleski linear resolution matrix 😉

                      1 Reply Last reply Reply Quote 0
                      • Didier BurD Offline
                        Didier Bur
                        last edited by

                        Fredo, t'es trop fort ! 👍

                        DB

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

                          Fredo, Thanks

                          Hank

                          1 Reply Last reply Reply Quote 0
                          • tbdT Offline
                            tbd
                            last edited by

                            Error; #<NoMethodError; undefined method `classify_point' for #<Sketchup;;Face;>>
                            

                            SU5/Win

                            Later Edit: my bad, didn't read the complete tutorial where it said that it is not SU5 compatible 😆

                            SketchUp Ruby Consultant | Podium 1.x developer
                            http://plugins.ro

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              Daniel S
                              last edited by

                              I still can´t believe this! It works great with high poly models and makes brillants results. Incredible to make this inside SketchUp.
                              1655 faces in 160 seconds 😄 😄

                              Daniel S


                              panton thickness.jpg

                              1 Reply Last reply Reply Quote 0
                              • G Offline
                                GreyHead
                                last edited by

                                Fantastic, enjoyed playing with it. Now I need to find a place to use it.

                                Thanks, Bob

                                PS Confirming bellwells image earlier, if you use Joint push-pull on non-contiguous faces of an polygon block then the side of the extrusions have a mix of angles, some are rectilinear (as from the Vector extrusion) some are aligned to the center of the block.

                                1 Reply Last reply Reply Quote 0
                                • H Offline
                                  Howard leslie
                                  last edited by

                                  Fredo,
                                  Just been having a quick go with your Joint Push Pull Script.
                                  First impressions - Very impressive. Will be really useful.
                                  ...
                                  Joint Push Pull - Excellent
                                  Vector Push Pull - a really good idea to include this also - Excellent
                                  Manual / Tutorial PDF - Very Comprehensive / Well written and easy to understand.
                                  ...
                                  I'm not too sure about the "Reverse Green Axis (-Y)" - you've assumed that the Green axis will be orientated away from the observer.
                                  IMHO I wouldn't assume that.
                                  I think it would be best if it was "Green Axis (+Y)" - like the other axes.
                                  (Crops up in a couple of dialog boxes / dropdowns).
                                  For the Vector Push Pull Method, it might be useful to somehow include an option for "interactive" - so users can push pull on screen (eg along the red axis for example).
                                  (I'm not sure if this is possible).
                                  ...
                                  Fantastic Script.
                                  ...
                                  Belated Thanks for your BezierSpline Script - also excellent
                                  Used in this Tutorial:
                                  http://www.sketchucation.com/forums/scf/viewtopic.php?f=22&t=4208
                                  ...
                                  Regards
                                  Howard Leslie

                                  1 Reply Last reply Reply Quote 0
                                  • EdsonE Offline
                                    Edson
                                    last edited by

                                    hi fredo,

                                    fantastic! what can i say that the others have not said? anyway, just want to thank you once more for a great script which will be of great usefulness to all of us.

                                    and congratulations on your generosity.

                                    regards,

                                    edson mahfuz, architect| porto alegre • brasil
                                    http://www.mahfuz.arq.br

                                    1 Reply Last reply Reply Quote 0
                                    • G Offline
                                      Gjenio
                                      last edited by

                                      @daniel s said:

                                      I still can´t believe this! It works great with high poly models and makes brillants results. Incredible to make this inside SketchUp.
                                      1655 faces in 160 seconds 😄 😄

                                      Daniel S

                                      Hey Daniel how did you do that chair? With soap skin and bubble?

                                      1 Reply Last reply Reply Quote 0
                                      • CadFatherC Offline
                                        CadFather
                                        last edited by

                                        Wo... (didn't even finish the word playing with Didier's component spray that something else comes up!) ...oW

                                        thanks Fredo

                                        (now i just need a dialog box to automate english weather control and embed that in SU)..

                                        1 Reply Last reply Reply Quote 0
                                        • boofredlayB Offline
                                          boofredlay
                                          last edited by

                                          This is very generous, thank you.

                                          http://www.coroflot.com/boofredlay

                                          1 Reply Last reply Reply Quote 0
                                          • fredo6F Offline
                                            fredo6
                                            last edited by

                                            @greyhead said:

                                            Fantastic, enjoyed playing with it. Now I need to find a place to use it.

                                            Thanks, Bob

                                            PS Confirming bellwells image earlier, if you use Joint push-pull on non-contiguous faces of an polygon block then the side of the extrusions have a mix of angles, some are rectilinear (as from the Vector extrusion) some are aligned to the center of the block.

                                            GreyHead

                                            Thanks for appreciation.
                                            Regarding the non contiguous faces, what you get is normal, because it depends on what you want to achieve. If you wish the borders to be perfectly normal, you must select NO in the option "Extent influence to non-selected neighbors", as explained in the Tutorial, in section 1.7, p.12. Otherwise, the macro compute the direction as if you would also extrude the neighbouring face. Unless I missed something....

                                            Fredo

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement