• Login
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 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.
  • L Offline
    LarryTremaine
    last edited by 16 Jan 2011, 16:42

    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 16 Jan 2011, 20:34

      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 16 Jan 2011, 20:57

        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
        • R Offline
          Rich O Brien Moderator
          last edited by 16 Jan 2011, 21:52

          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 16 Jan 2011, 22:02

            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 16 Jan 2011, 22:08

              Yeah.

              Hi

              1 Reply Last reply Reply Quote 0
              • R Offline
                Rich O Brien Moderator
                last edited by 16 Jan 2011, 22:13

                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 16 Jan 2011, 22:20

                  @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
                  • T Offline
                    TIG Moderator
                    last edited by 16 Jan 2011, 22:35

                    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 16 Jan 2011, 22:36

                      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
                      • G Offline
                        gilles
                        last edited by 16 Jan 2011, 22:43

                        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
                        • J Offline
                          Jean Lemire
                          last edited by 17 Jan 2011, 14:51

                          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
                          1 / 1
                          • First post
                            10/12
                            Last post
                          Buy SketchPlus
                          Buy SUbD
                          Buy WrapR
                          Buy eBook
                          Buy Modelur
                          Buy Vertex Tools
                          Buy SketchCuisine
                          Buy FormFonts

                          Advertisement