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

    [Plugin] Scaling to_cm (UPDATED 15/02/2016)

    Scheduled Pinned Locked Moved Plugins
    27 Posts 17 Posters 28.6k Views 17 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.
    • Didier BurD Offline
      Didier Bur
      last edited by

      Correct me if I'm wrong, but the resize operation works only for faces in XY,XZ and YZ planes (red,green,blue) ?
      "On all of axes" -> "In every direction" ? English speaking people please help !
      Another enhancement is to encapsulate in an operation for one step undo:

      
      def mashtabirovanie_create
      Sketchup.active_model.start_operation "Resize"
      ss=Sketchup.active_model.selection
      ...
      ...
      Sketchup.active_model.select_tool(nil)
      Sketchup.active_model.commit_operation
      end
      

      DB

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

        @didier bur said:

        
        > def mashtabirovanie_create
        > Sketchup.active_model.start_operation "Resize"
        > ss=Sketchup.active_model.selection
        > ...
        > ...
        > Sketchup.active_model.select_tool(nil)
        > Sketchup.active_model.commit_operation
        > end
        

        Thank you! Corrected a code.
        Added an icon.
        mashtab_3.zip

        1 Reply Last reply Reply Quote 0
        • CadFatherC Offline
          CadFather
          last edited by

          ..growing into a nice little ruby.

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

            Simple and very useful. Thank you!

            | menos é mais

            1 Reply Last reply Reply Quote 0
            • I Offline
              ilay7k
              last edited by

              @unknownuser said:

              Correct me if I'm wrong, but the resize operation works only for faces in XY,XZ and YZ planes (red,green,blue) ?
              "On all of axes" -> "In every direction" ? English speaking people please help !

              Equal "In every direction" is global settings for object of selection(world scaling system in most graphic packages...in attached pic, like cinema4d)
              or about directions of red,green,blue, Didier, you are right/something like object system/


              as.jpg

              1 Reply Last reply Reply Quote 0
              • F Offline
                Fletch
                last edited by

                I would replace the "on all of axes" line with a checkbox called 'lock aspect ratio' as shown in attached. or just change the name to 'uniform scale'.


                lockaspectratio.jpg

                Fletch
                Twilight Render Cross-platform Plugin for SketchUp on PC or Mac

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

                  @fletch said:

                  I would replace the "on all of axes" line with a checkbox called 'lock aspect ratio' as shown in attached. or just change the name to 'uniform scale'.

                  dom_3.jpg
                  mashtab_4.zip

                  1 Reply Last reply Reply Quote 0
                  • unclebimU Offline
                    unclebim
                    last edited by

                    I don't get what should I input in the Lock aspect ratio box in order to get the selection scaled proportionally to exact dimension input in one axis?

                    1 Reply Last reply Reply Quote 0
                    • Z Offline
                      Zacchia
                      last edited by

                      I like it. Thanks!

                      1 Reply Last reply Reply Quote 0
                      • chialiang168C Offline
                        chialiang168
                        last edited by

                        尺寸不正確
                        Size is not correct

                        https://dl.dropboxusercontent.com/u/108539326/星野築網頁/004-應用教室/002-sketchup教室/插件應用/線組轉組件/問題插件.png

                        1 Reply Last reply Reply Quote 0
                        • cottyC Offline
                          cotty
                          last edited by

                          Perhaps your bounding box has a different orientation than the box itself?

                          my SketchUp gallery

                          1 Reply Last reply Reply Quote 0
                          • jujuJ Offline
                            juju
                            last edited by

                            @cotty said:

                            Perhaps your bounding box has a different orientation than the box itself?

                            that would no sense if the plugin measures the bounding box instead of the geometry

                            Save the Earth, it's the only planet with chocolate.

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

                              Updated the plug-in in the first message

                              1 Reply Last reply Reply Quote 0
                              • designerbursaD Offline
                                designerbursa
                                last edited by

                                alternative svg icon


                                resize.zip

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

                                  Should it work with SU19 ?

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

                                  Advertisement