• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

Smart scaling components

Scheduled Pinned Locked Moved SketchUp Feature Requests
sketchup
9 Posts 7 Posters 3.4k 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.
  • T Offline
    thomthom
    last edited by 29 Jan 2008, 08:42

    It'd be nice to be able to create components with stretching points. For instance, a window: you select the window frame and define stretching parameters. Then you can use this one component to insert into your drawing with various dimensions.

    Same concept as Dynamic Blocks in AutoCAD.

    Thomas Thomassen — SketchUp Monkey & Coding addict
    List of my plugins and link to the CookieWare fund

    1 Reply Last reply Reply Quote 0
    • L Offline
      Loewenkatze
      last edited by 29 Jan 2008, 12:02

      I totally agree. This is the one feature, I am missing each and every day in SU. Being able to scale a window/door/whatever-component without scaling the frame thickness for example, would be so much time-saving...

      "I think play is the most important thing in the world." [Jacques-Yves Cousteau]

      1 Reply Last reply Reply Quote 0
      • G Offline
        gata
        last edited by 30 Jan 2008, 02:40

        That attribute is called parametric and SU does have it. It was introduced with Ruby scripting ability. A sample script called windows.rb was written, and you can see it also requires parametric.rb too over http://www.sketchup.com/?sid=79

        I found a little math error on lines 186 and 191. It's missing '- 1.25'.

        if bHorizontal
                wh = (width - 1.25 - (2.0 * outsideFrameWidth)) / 2.0  ### added - 1.25
                w = wh + + insideFrameWidth
                h = height - (2.0 * outsideFrameWidth)
            else
                w = width - (2.0 * outsideFrameWidth)
                wh = (height - 1.25 - (2.0 * outsideFrameWidth)) / 2.0  ### added - 1.25
        

        At the Ruby Library Depot there's parametric_grid.rb which is editable - and a very nice script if you need that sort of thing.

        Actually the request would be to make setting up a parametric feature easier. TBD was working on a SU web macro editor for lay-people a while back. Users did not need to know Ruby.

        1 Reply Last reply Reply Quote 0
        • T Offline
          thomthom
          last edited by 30 Jan 2008, 08:14

          I see. I really need to have a look at Ruby. I'm familiar with scripting and programming. But It'd still be nice to have a visual editor as writing scripts for each component doesn't quite appeal to my workflow in SU.

          Thomas Thomassen — SketchUp Monkey & Coding addict
          List of my plugins and link to the CookieWare fund

          1 Reply Last reply Reply Quote 0
          • B Offline
            Bruell
            last edited by 30 Aug 2008, 17:57

            I agree that an advanced scale tool is due in SU but not only for windows but also to be able to scale objects in relation to existing lengths, like we all know from AutoCAD here you can scale from a endpoint to another endpoint in the drawing.

            Same with polygons when will we be able to define a Polygon (an octagon) by its side length and its orientation?

            1 Reply Last reply Reply Quote 0
            • P Offline
              pbacot
              last edited by 1 Sept 2008, 01:03

              As for something like windows, I too looked for a stretch points function. In 2d CAD a special command is used to essentially stretch lines etc. based on moving their points. Well it took me a while to realize that to resize a window (keeping the frame the same) one simply selects the edges of the frame and glass that are to be moved. Use the move tool and "stretch" is achieved by the stickyness. More complex objects and moves probably will be found that will not respond well, but for me this solves my immediate use.

              The parametric side of things is a different worthy issue.

              MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

              1 Reply Last reply Reply Quote 0
              • M Offline
                minguinhirigue
                last edited by 17 Oct 2008, 20:20

                I am going with pbacot on the fact that we could use simple way to "scale" objects and preserve some specific characteristics, but it's not always possible ! For example, in my window components, glass and frame are two different groups !

                There are two things that could be really cool with the completion of the parametric plugin:

                • one's the ability to count and extract informations about the parametric instances : pillar with different height, just one click too have the Excel list ! Their is already various tricks to do that for different type of object, but I don't remember a way to do it for scaled components !?
                • second's the ability is to keep constraints on parametric objects (distances, axes, point location, etc...). This could be use to do parametric design, a much more powerful way to generate intelligent populated urban and architectural schemes. If you can't imagine the power of this type of design, just take a look at this video : http://fr.youtube.com/watch?v=EhjUli4cYEg

                One of the biggest problem with this way of design, it's that it usually works with explicit history and modifiers compilation for all the objects ! What's New in SU7 ? 😄

                1 Reply Last reply Reply Quote 0
                • G Offline
                  gonashvili
                  last edited by 18 Dec 2013, 16:09

                  Wanted to make a new thread, but searching revealed I'm no the only one who would wish the scaling were AutoCAD-like 😢

                  So umm, yea....

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    pbacot
                    last edited by 18 Dec 2013, 16:22

                    Hamlet. This is an old thread. Dynamic Components are supposed to provide something like this. Look around for dynamic component windows. Personally I don't use them. I create new windows practically every project. I make the different sizes using Fredoscale stretching plugin and a few other tricks. Don't use AutoCAD, so can't speak to that.

                    MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                    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