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

    Stretching with an offset + stretching on all sides

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    37 Posts 7 Posters 837 Views 7 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.
    • A Offline
      agamemnus
      last edited by

      @martinrinehart said:

      @agamemnus said:

      I was afraid of this. I know about everything you just mentioned but I was hoping I had missed some little-known shortcut. I guess not.

      Some of these problems have simple Ruby Console solutions. I'm not sure I understand what you were doing, tho. Would a picture be possible?

      Take a look at my ship WIP:
      http://forums.sketchucation.com/viewtopic.php?f=81&t=26699

      What would you do if you wanted to scale the hull to a certain width/height/length? The inner skin of the hull needs to be scaled exactly as much (in terms of absolute size--ie, +10 meters in length) to maintain the shell size, but the regular Sketchup scaling tools can't do that.

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        agememnus
        I haven't read the whole thread but you say you can't Scale to a set size...
        You can use the Scale tool and enter a dimension with a text suffix identifier - e.g. 10m, it will scale in the selected axis/axes to make it 10m, rather than plain 10 which would make it 10 times bigger...
        See here...ScalingByDimension.png

        TIG

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

          @agamemnus said:

          What would you do if you wanted to scale the hull to a certain width/height/length?

          Go with TIG's stuff.

          Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

          1 Reply Last reply Reply Quote 0
          • Jean LemireJ Offline
            Jean Lemire
            last edited by

            Hi folks.

            In addition, you can control how far the Scale Tool will go by using any geometry to snap the scaling action.

            In your case, you could, for example, add a guide or a line or whatever at the specified offset distance that you want and then use this guide or line or whatever to controll the scaling action.

            Of course, you may need to do this on all 3 axes one by one. You could use the symmetric scaling capability of SU to do only 3 scaling actions instead of 6.

            Just ideas.

            Jean (Johnny) Lemire from Repentigny, Quebec, Canada.

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

              you could of course simply use fredoscale. his scaling and stretching tools have all the functions you seek and a few more.
              http://forums.sketchucation.com/viewtopic.php?f=323&t=17948&st=0&sk=t&sd=a&hilit=fredoscale

              “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
              • A Offline
                agamemnus
                last edited by

                @tig said:

                agememnus
                I haven't read the whole thread but you say you can't Scale to a set size...

                I wanted to add a certain height/width/length, instead of setting it to a particular size that I knew in advance.

                xrok1, I'll keep looking at fredoscale but I find I have to constantly remove it because it disables grouping, rotating and flipping for some objects.

                1 Reply Last reply Reply Quote 0
                • TIGT Offline
                  TIG Moderator
                  last edited by

                  You must usually have some idea of the dimension you require 'in advance' ?
                  If so, then enter it in the NNNunits format; if not then you must want it to match up to something already in the model - so use Jean L's ideas of snapping the scaling to some existing geometry [with inferences etc] or perhaps to some guide-geometry that you could have drawn beforehand to suit... if it's neither of the above then how are you to make it any meaningful 'size' ?... then can only scale it dragging a handle 'by eye' ??

                  TIG

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

                    @tig said:

                    You must usually have some idea of the dimension you require 'in advance' ?

                    Well, usually but not always.

                    @unknownuser said:

                    if it's neither of the above then how are you to make it any meaningful 'size' ?... then can only scale it dragging a handle 'by eye' ??

                    I'll try to rephrase... this tool would work like so: whatever the size is, add X meters to it. Even if I knew the original size, I would have to add! Just adding one mesh is not so bad, but if I have several meshes that I want to resize by some amount it gets more tedious.

                    1 Reply Last reply Reply Quote 0
                    • TIGT Offline
                      TIG Moderator
                      last edited by

                      ☀
                      Use the Tapemeasure tool to make a guide-point offset along the axis from the things to be 'enlarged' by the required amount - say 500mm - copy it to several things that you want to Scale.
                      Make other guide-points at other offsets as needed...
                      Scale each of the things using these guide-markers to snap to.
                      Every 'thing' has been scaled by that fixed amount.
                      Delete all guides on completion [Edit mass delete tool]...Untitled.png
                      In this example you could have selected all of the top faces [hold Ctrl to add to selection] and simply 'Move' them up in the Z by 500mm [constrain in axis by holding Shift]... BUT on more complex shapes Scaling will give different results...

                      TIG

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

                        Oh, of course! Thanks.

                        Would be interesting, though, if you could just do something like +5m in the Scale tool and it would do the same thing.

                        BTW, while we're on the subject, I am having trouble inserting a value when I "scale on all sides" (CTRL+scale): typing a number doesn't work.. what's going on there?

                        1 Reply Last reply Reply Quote 0
                        • TIGT Offline
                          TIG Moderator
                          last edited by

                          You are falling it the Scaling Pythagoras Trap !
                          When you scale from the center on a diagonal and type in a scale value it scales the XYZ sides to match, but when you type in a dimension it sets the size of the diagonal, not the XYZ sides size.
                          So for example if you have a 1m cube and use Scale+Ctrl and type in 500mm the cube scales about its center so that the diagonal is now 500mm long - if you wanted the sides to be 500mm long you should have typed 0.5...
                          You need to do a bit of pre-planning and work out the ratio first NewSize/OldSize = scale_factor - here 500mm/1000mm=0.5.
                          Entering a dimension is pretty impractical in this type of scaling unless you do want the diagonal to become a set length...
                          Alternatively use the uniform Scale + Ctrl with a side handle and the modifier 'Shift' key and type 500mm to make all edges 500mm, scaling from the center ???
                          🤓

                          TIG

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

                            For this reason I do not even use the diagonal scaling (well, unless I want to do some quick and dirty operation). The side grips are much more easy to work with - just use the mod keys to scale uniformly and such.

                            Gai...

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

                              @tig said:

                              You are falling it the Scaling Pythagoras Trap !
                              When you scale from the center on a diagonal and type in a scale value it scales the XYZ sides to match, but when you type in a dimension it sets the size of the diagonal, not the XYZ sides size.
                              So for example if you have a 1m cube and use Scale+Ctrl and type in 500mm the cube scales about its center so that the diagonal is now 500mm long - if you wanted the sides to be 500mm long you should have typed 0.5...
                              You need to do a bit of pre-planning and work out the ratio first NewSize/OldSize = scale_factor - here 500mm/1000mm=0.5.
                              Entering a dimension is pretty impractical in this type of scaling unless you do want the diagonal to become a set length...
                              Alternatively use the uniform Scale + Ctrl with a side handle and the modifier 'Shift' key and type 500mm to make all edges 500mm, scaling from the center ???
                              🤓

                              Yes yes, I usually use a scaling factor when I do this, so it's not a problem...My problem is that I CAN'T type a number when I press and hold CTRL (or CTRL+SHIFT)!

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

                                @agamemnus said:

                                ...My problem is that I CAN'T type a number when I press and hold CTRL (or CTRL+SHIFT)!

                                Don't then. Start the operation with these mod keys - then release them, type your value and hit Enter without ever touching them again. SU is smart enough to remember what you are up to!

                                Gai...

                                1 Reply Last reply Reply Quote 0
                                • TIGT Offline
                                  TIG Moderator
                                  last edited by

                                  I can type it in - perhaps I release ctrl/shift as I do it and then re-press ?
                                  I'm on PC what's yours ?

                                  TIG

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

                                    do your second click (or release mouse button, depending which way you work) to end the scaling, then type your values and SU will adjust accordingly even though you ended the operation. its like drawing a line; then entering length, doesn't matter that its already done SU will resize it. 😉

                                    “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
                                    • GaieusG Offline
                                      Gaieus
                                      last edited by

                                      Now is that a question Rocky or a statement?
                                      Please, note that my English is really bad and it's 22:30 here already (and I did not sleep last night)
                                      😒

                                      Gai...

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

                                        its a fact, jack. 😉 try it

                                        “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
                                        • GaieusG Offline
                                          Gaieus
                                          last edited by

                                          Then it seems to be the same as what I wrote above.
                                          😉

                                          Gai...

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

                                            right, sorry, but you don't mention clicking the mouse which is the key action. try it exactly the way you explain it and it doesn't work because your releasing ctrl+shift without finishing the scale. 😛

                                            “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
                                            • 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