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

    Size editing ?

    Scheduled Pinned Locked Moved SketchUp Feature Requests
    sketchup
    17 Posts 6 Posters 11.8k Views 6 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.
    • T Offline
      TBoy
      last edited by TBoy

      Long time ago I made a 3dsMax script for Size editing.
      X, Y, Z spinners are interactive. When selection is changed, X, Y, Z values are updated immediately. When value is changed by spinner - geometry is updated immediately.
      Next to them is a button for Uniform/NonUniform mode, Last one (with "G" on it) is for editing inside a group or to whole group.
      It always shows (and modify) the exact size of objects, no matter what kind of rotation or scale was applied before.
      ScreenshotScriptspotCom.jpg
      Is it possible to have something similar for SketchUp ?

      1 Reply Last reply Reply Quote 0
      • BoxB Online
        Box
        last edited by

        You can use the scale tool and type those sizes.

        1 Reply Last reply Reply Quote 0
        • T Offline
          TBoy
          last edited by

          Yes, I can. Question is for better way to resize. Count the clicks, zooming and panning for each...

          1 Reply Last reply Reply Quote 0
          • BoxB Online
            Box
            last edited by

            Select object, hit s, pull one corner, let go of mouse and type .68m,.68m,.68m and hit enter.

            1 Reply Last reply Reply Quote 0
            • BoxB Online
              Box
              last edited by

              I don't know how it could be better than click drag click drag and some typing.

              1 Reply Last reply Reply Quote 0
              • T Offline
                TBoy
                last edited by

                In the example script you don't need "hit s, pull one corner, let go of mouse"
                even "enter" as it is interactive (maxscript allow interactivity).
                Common Box, this is not the main question, you now. I'm talking about more natural way to edit, or if not natural let say more standard, compared to other 3d programs, or more obvious, and yes - faster.

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

                  The problem with the dialog box is that you need to specify an origin (i.e. equivalent to choose the handle) when you change the size. And maybe also if the origin is center vs. handle.

                  I don't know how this works in 3D Max.

                  Fredo

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    TBoy
                    last edited by

                    As I remember origin is predefined in bounding box (can be changed at any position).
                    I have another version of the above script where it is possible to change the origin in XY plane.
                    5.jpg
                    Image is from different script - but controls are same.
                    Adding Z is possible too but too messy to represent with buttons.
                    I'm not a programmer, just learned maxscript - it is well documented. I feel too old to began learning Ruby now, but I see you use similar controls and BBox orientation for scaling in FredoScale.

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      TBoy
                      last edited by

                      Maybe my habits from Acad (ACA) make me think in this direction. Someone likes this way. Even I, although I hate typing. I prefer mouse control for everything, but exact sizes needs typing, and better way is to have sizes visible (when you need or allways for some kind of jobs).

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

                        A lot of 3D Cad programs use Dimensions and Constraints.

                        You do not have a object until you dimension it.

                        When you change a dimension you change the object.

                        Is there anything similar in Sketchup? I am just re-starting to use it.

                        1 Reply Last reply Reply Quote 0
                        • pbacotP Offline
                          pbacot
                          last edited by

                          SketchUp doesn't seem to "know" any sizes for an object (say component) other than length of edges or diameter of circles etc., until you scale it as suggested. And then the scale input sizes relate to an x,y,z scale orientation--what if the object is rotated out of x,y,z or within another component? Dynamic Components can provide this sort of dimensions and re-sizing. Fredoscale offers more control.

                          MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            TBoy
                            last edited by

                            @pbacot There is a plugin "Mastab", now renamed to "Resize" by Sahy - it can extract size information. >>> http://sketchucation.com/forums/viewtopic.php?p=81800#p81800

                            Even an info window that can stay visible and update on selection change will be helpful.(If re-sizing this way is problematic)

                            2.jpg

                            (Or maybe as Onscreen info text, or tool-tip ???)
                            The idea is to have visual information about sizes.

                            Is it possible ?

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


                              Dimensions and Features

                              1 Reply Last reply Reply Quote 0
                              • pbacotP Offline
                                pbacot
                                last edited by

                                👍

                                MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  TBoy
                                  last edited by

                                  Thank you Sahy !

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    TBoy
                                    last edited by

                                    If visual size control is so difficult, SketchUp core needs deep programming update/rewriting.

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      TBoy
                                      last edited by

                                      All I show in my first post is absolutely possible in SketchUp.
                                      There is a script "Get Dimensions" by Jim Foltz
                                      showing correct size for bounds of groups and components.
                                      A script from Fredo6 "Best fitting bounding box for for a single face" (for 2d elements).
                                      Scripts to show size of edges (or lines).
                                      (Single drawing elements can be added to "single element groups" inside scripts to extract size with above mentioned tools too).
                                      I wander why such a tool did not exist if so widely wished.
                                      A tool that collects size info for every drawing element.
                                      (I know it will duplicate some of the Entity info fields, but it is OK if the objective is to collect size information in one place.)
                                      I'm trying to put all above in a single info label, but my knowledge in programing is too poor.
                                      Is there anyone to help with code? ("Help" in my case = someone to write the script)
                                      For now I imagine it as small label on screen updated on selection change - like this:

                                      Label.jpg

                                      Area, volume, names can be added too, but I try to make it as small as possible, so may be as optional rows in the above label.
                                      Next step will be a dialog, and changing size (input) to act as resize/scale (relative to current axis location for components and groups).

                                      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