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

    Scale of Tubes ... How to get Blue Selected

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    12 Posts 7 Posters 441 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.
    • L Offline
      LarryTremaine
      last edited by

      I work with a lot of cables in my sketchups. It seems like I spend half of total time that I'm in Sketchup on step #3.

      1. Select the cable
      2. Select SCALE
      3. Find and click the Blue-Opposite alternative
      4. Perform the scale

      Most of the "wasted" time is spent magnifying so I can see the darn choice, and then unmagnifying so I can see the stuff around the cable and do my scale.

      Is there any way to either make Blue-Opposite the default or hit someother key to auto-select it after I do step #2?

      Thanks much

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

        Hi Larry,

        The Dynamic Components dialog in the Pro version allows a user to limit the scaling.

        A plugin could be made to set the scale mask, although one does not exist currently. In the meantime, you can try the following code snippets in the Ruby Console.

        To limit the scaling to the Blue Axis:

        Select a Group, and enter:

        Sketchup.active_model.selection[0].entities[0].parent.behavior.no_scale_mask=251

        Or select an Instance:

        Sketchup.active_model.selection[0].definition.behavior.no_scale_mask=251

        API: Behavior.no_scale_mask=

        Hi

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

          Just curious, since this is only availbe in the DC dialog, are people unaware of this ability?

          1052.png

          Hi

          1 Reply Last reply Reply Quote 0
          • Rich O BrienR Offline
            Rich O Brien Moderator
            last edited by

            But native SU Scale tool does this? I think i missed the point

            Download the free D'oh Book for SketchUp πŸ“–

            1 Reply Last reply Reply Quote 0
            • L Offline
              LarryTremaine
              last edited by

              Thanks. I am not using PRO.

              In case my question was not clear ...

              I know how to scale Blue-Opposite. The problem is that when scaling long tubes (e.g. wires), the circumference is so tiny compared to the length of the tube that I have to do massive zooming just to be able and have my mouse movement select Blue-Opposite. I spend a lot of time trying to get the mouse to highlite Blue-Opposite as opposed to all the other scale options that pop-up as the mouse moves over the teeny-tiny end of the long tube. Of course zooming always works, but I spend so much time zooming and then unzooming on that tiny circle at the end of any tube.

              Not sure how to do the RUBY code, though it looks like it could help. I'm a programmer, so curious to try it.

              THanks

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

                Yeah.

                Hi

                1 Reply Last reply Reply Quote 0
                • Rich O BrienR Offline
                  Rich O Brien Moderator
                  last edited by

                  Sorry Jim, now i understand. It ONLY scales the Blue, very useful. But how?

                  Download the free D'oh Book for SketchUp πŸ“–

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

                    @unknownuser said:

                    Sorry Jim, now i understand. It ONLY scales the Blue, very useful. But how?

                    Yes, sorry. It is something which can be set via the Ruby API, so a plugin could be made. (I have a rudimentary one, but it's too ugly to release. See image.)

                    1053.png

                    Hi

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

                      Presumably you could use the API methods http://code.google.com/apis/sketchup/docs/ourdoc/behavior.html#no_scale_mask? to temporarily set the possible scaling-ways of a definition, and then set them back afterwards... πŸ˜•

                      TIG

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

                        have you tried stretching with fredoscale instead? theres only one control point to find that way.

                        β€œ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
                        • gillesG Offline
                          gilles
                          last edited by

                          hi,
                          may be you could draw just axis lines, let say a wireframe and then convert to tube with:
                          http://forums.sketchucation.com/viewtopic.php?t=12354 line2 tube.
                          just idea.

                          " c'est curieux chez les marins ce besoin de faire des phrases "

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

                            Hi folks.

                            You can also use a Zoom Window to get real fast close to the cable end.

                            You can also make a scene showing all cables and their surrounding. You do this only once.

                            Then, clicking on this scene's tab would quickly get you to the big picture.

                            Of course, you can also use the Move Tool to stretch a cable after grabbing its end.

                            Just ideas.

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

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

                            Advertisement