sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Joint Push Pull Classic (Old version) - v2.2a - 26 Apr 17

    Scheduled Pinned Locked Moved Plugins
    368 Posts 150 Posters 2.0m Views 150 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

      On offset tool for curved surfaces:

      I am not totally clear on what several of you are targeting. Personally, I see 2 categories of such surface offset tool:

      1. Only offsets the external border edges of the surface. This means for instance that all interior faces are left untouched. This does not exist in native Sketchup but can easily be done by a script. Actually the faces are just there to give the overall contour the planes for offsetting and the direction interior / exterior.
        First method - Offset only the border contour

      2. Deform continuously all faces of the model to accommodate the offset of the contour. In such a case, I think it would always change (even slightly) the shape of the overall surface. The best is probably to Scale the surface in all directions, and then move it to the closest position to fit the original surface. This can also easily be automated by a script.
        Second method - Scale up the whole surface and try to fit to the original surface

      Maybe I lack imagination and there are other forms of surface offset someone would think of!?

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

        @jclements said:

        "The editor makes full usage of the Sketchup inference mechanism so that you can
        visually adjust the distance by reference to a particular point in your model, as in most
        Sketchup tools. However, when you drag, you may want to skip some inferences. For
        this, just keep the SHIFT key pressed down, while dragging faces."

        For me, keeping the SHIFT key depressed doesn't appear to do anything. The black triangle at the cursor seems to be inferencing to other geometry. Perhaps I am misinterpreting its usage?

        The black triangle will seem to 'block' on other geometry, but it position will be ignored when you drag the faces. So inference is skipped 'geometrically', but I did not find a way to skip it 'visually'. Hope this answers your question.

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

          About the icons.. i made the two that are blurry on mac on a different day.. so perhaps i export the icons with different settings...
          Jeff here i attach the two icons again... tell me if this fixes the problem (i don´t have a Mac for testing).

          And about the offset the best method for me will be option nº 1: Only offsets the external border edges of the surface.

          Daniel S


          Icons for Mac.zip


          offset.skp


          offset.jpg

          1 Reply Last reply Reply Quote 0
          • U Offline
            urs0815
            last edited by

            hallo Daniel,

            I´ve tested the 2 icons on my mac -> same problem as before 😕

            but the icon of the very first edition of jpp were OK, so we can use them 😉

            urs

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

              Here i made them with other settings... try this ones please


              Icons for Mac2.zip

              1 Reply Last reply Reply Quote 0
              • jeff hammondJ Offline
                jeff hammond
                last edited by

                [EDIT] daniel posted the latest update while i was typing this reply.. iconsformac2 are correct..

                i switched to the first icons and they worked ok..

                Picture 1.jpg

                the new pngs display as sharp in all other apps except sketchup.. i compared the blurry ones against the sharp ones in PS and found the image sizes are different.. i changed the blurry J & V files to the following size..

                Picture 3.jpg

                ..and now the new icons look ok..
                Picture 4.jpg

                it's a strange thing to me because the new icons are all 24x24 px.. it's just the resolution and wxh are set different but i would have thought they would display on a monitor according to the pixel size alone..
                fwiw - the blurry icons are set to 24 x 24 px... .08 x .08 inches .... resolution 299.974..

                dotdotdot

                1 Reply Last reply Reply Quote 0
                • urgenU Offline
                  urgen
                  last edited by

                  M-m-m-many thanks to Fredo6 ! very conveniently! 😍 ...
                  ...and let's write it in the end in "jointpushpull.rb" :
                  #------------------------------------------------------
                  UI.add_context_menu_handler do |menu|
                  menu.add_separator
                  menu.add_item("Joint Push Pull ") { JointPushPull.execute 'J' }
                  menu.add_item("Vector Push Pull ") { JointPushPull.execute 'V' }
                  menu.add_item("Normal Push Pull ") { JointPushPull.execute 'N' }
                  menu.add_item("Undo") { JointPushPull.undo }
                  menu.add_item("Redo") { JointPushPull.redo }
                  end
                  #--------------------------------------------------------------

                   ....right click mouse we select the  face and activate skript board Simultaneously :stuck_out_tongue: ...Process of drawing will be faster! :tada:
                  

                  --pupil forever...------

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

                    Urgen,

                    Very good idea and quite natural in Sketchup.
                    I updated the files in the script repository (also with non blurry icons).
                    http://www.sketchucation.com/forums/scf/viewtopic.php?f=153&t=6708&p=42783#p42783

                    Thanks

                    Fredo

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

                      There is a bug in the latest version there should be a ] in this line:
                      menu.add_item(Traductor[DLG_MnuRedo]) { JointPushPull.redo }

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

                        Oops...!!
                        Updated with correct code in Ruby repository

                        Fredo

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

                          @unknownuser said:

                          @unknownuser said:

                          Is it possible for this script to explode the curve after it is run? Or at least segment it into parts. It would cut down on a step if you are trying to erase lines for a cleaner face. See image.

                          I put precisely some code to keep curves on the original surface (to be as less destructive as possible). Note however that the generated corresponding contour is not welded as a curve. Is it the situation you have?

                          The generated contour is not welded correct.
                          The original is however. I did another test after installing the latest and I get conflicting results. The top ellipse is broken into 2 welded curves that do not correspond the the new JPP created. The bottom ellipse stays completely intact.
                          See images.
                          Again, thanks for this script.


                          Top1.jpg


                          Top2.jpg


                          Bottom.jpg

                          http://www.coroflot.com/boofredlay

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

                            Coen

                            If you scale uniformly a surface, it will never match the original (think of a sphere for instance). However, this is somehow an approximate way to offset its contour, while preserving the overall shape of the surface.

                            With the first method (only offset the borders), you just use the shape of the outer borders and ignore the ones which are inside. So if you offset by a large distance, you will certainly 'dilute' the shape of the surface.

                            Both methods have their own benefits and drawbacks, and both can be implemented via a script.

                            That's what I meant.

                            Fredo

                            1 Reply Last reply Reply Quote 0
                            • X Offline
                              xrok1
                              last edited by

                              where is this offset tool?????

                              “There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

                              http://www.Twilightrender.com try it!

                              1 Reply Last reply Reply Quote 0
                              • F Offline
                                Fletch
                                last edited by

                                beautiful, Fredo... simply fantastic. Thank you so much for your generosity in sharing!

                                Fletch
                                Twilight Render Cross-platform Plugin for SketchUp on PC or Mac

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  mateo soletic
                                  last edited by

                                  Thanks for a great script.

                                  [Concept Illustrations](http://concept-illustrations.com/)

                                  1 Reply Last reply Reply Quote 0
                                  • urgenU Offline
                                    urgen
                                    last edited by

                                    ...Here I have applied this script, very pleasant in work.... Thanks once again! 👍


                                    cup1.jpg

                                    --pupil forever...------

                                    1 Reply Last reply Reply Quote 0
                                    • erikBE Offline
                                      erikB
                                      last edited by

                                      Thanks fredo for this wonderfull new tool. Works like a charme 😍 and with the use of the icons it seems like if they have always been part of the original program. GREAT scripting !!!
                                      erikB

                                      1 Reply Last reply Reply Quote 0
                                      • ToboboT Offline
                                        Tobobo
                                        last edited by

                                        WOW!!

                                        All my SU life i've been waiting for this!

                                        Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You

                                        Toby

                                        Philippians 4:13

                                        I can do everything through him who gives me strength.

                                        1 Reply Last reply Reply Quote 0
                                        • jim smithJ Offline
                                          jim smith
                                          last edited by

                                          I must add by belated THANKS!!! Fredo for this super, great, etc. tool. As usual, I am a bit late finding such gems, but glad I found it now since next week I will be working on a curvy building project that will now be much easier to model.

                                          Glad to "bump" this file up to the top of the list so maybe more late comers can find it.

                                          Spectacular job - again - many thanks

                                          "Out of clutter find simplicity,
                                          from discord find harmony,
                                          In the middle of difficulty lies opportunity"
                                          Albert Einstein

                                          1 Reply Last reply Reply Quote 0
                                          • sk.lionS Offline
                                            sk.lion
                                            last edited by

                                            Awsome, yet another great tool for creating things like stairs. And the ofset tool for the curved surfaces would be great too.

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

                                            Advertisement