sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    πŸ”Œ Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

    [REQ] Tool to reset AND align group/component axes

    Scheduled Pinned Locked Moved Plugins
    11 Posts 6 Posters 1.0k 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.
    • Rich O BrienR Online
      Rich O Brien Moderator
      last edited by

      Rest to best fit bounding box. There was something that did that Maybe it was on the Ruby Depot?

      I do remember it though.

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

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

        Thanks Rich, never saw it before. But I can't find this tool after inserting into Plugins folder though. 😞
        http://rhin.crai.archi.fr/rld/plugin_details.php?id=335

        1 Reply Last reply Reply Quote 0
        • PixeroP Offline
          Pixero
          last edited by

          Looking at the code it doesn't seem to have a UI or menu.
          Try typing resetAxis in the ruby console.
          Maybe someone can make a menu for it?

          Edit: Nope that didn't work. I get a:

          Error; #<ArgumentError; wrong number of arguments (0 for 1)>
          C;/Users/31jsa/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/reset_axes_to_bounding_box_center.rb;2;in `resetAxis'
          <main>;in `<main>'
          SketchUp;1;in `eval'
          
          1 Reply Last reply Reply Quote 0
          • R Offline
            rv1974
            last edited by

            Interesting, whether it treated multiple items (before get broken). It'd be awesome to get it back.

            1 Reply Last reply Reply Quote 0
            • sumasterS Offline
              sumaster
              last edited by

              can any one upload the script "reset_axes_to_bounding_box_center.rb" .
              http://rhin.crai.archi.fr/rld/plugin_details.php?id=335 web site is dead
              thanks

              Thank you,
              SUmaster

              Didier BurD 1 Reply Last reply Reply Quote 0
              • Didier BurD Offline
                Didier Bur @sumaster
                last edited by

                @sumaster :

                Hi,

                I was the webmaster of the former 'Ruby Depot' and found what you are after on a (very) old external disk. I've enhanced it a bit (selection control, command in the 'Tools' menu, bugs fixed).
                It works for groups and components, but be aware that it will NOT re-orient the bounding box.

                Regards,

                (Put it in your Plugins folder):
                resetaxisofcomponent.rb

                DB

                sumasterS 1 Reply Last reply πŸ‘ Reply Quote 0
                • R Offline
                  rv1974
                  last edited by

                  SU4U > Reset Axis

                  sumasterS Didier BurD 2 Replies Last reply πŸ‘ Reply Quote 0
                  • sumasterS Offline
                    sumaster @Didier Bur
                    last edited by

                    @Didier-Bur

                    yes check it work selected group or component axes move to center but not fit bounding to geometry.
                    but thank you so much . . . . πŸ™‚

                    Thank you,
                    SUmaster

                    1 Reply Last reply Reply Quote 0
                    • sumasterS Offline
                      sumaster @rv1974
                      last edited by

                      @rv1974

                      Yes, i think this plugin rest axes and fit bounding to geometry
                      Thanks . . . πŸ™‚

                      Thank you,
                      SUmaster

                      1 Reply Last reply Reply Quote 0
                      • Didier BurD Offline
                        Didier Bur @rv1974
                        last edited by Didier Bur

                        @rv1974

                        Hi,
                        It doesn't work on my side, I get this:

                        Error: #<NameError: uninitialized constant S4U::S4u_License
                        Did you mean? SCFLicense>
                        ..../sketchup/plugins/s4u_reset_axis/s4u_reset_axis_code.rbe:374:in `main'

                        ..../sketchup/plugins/s4u_reset_axis/s4u_reset_axis_loader.rbe:26:in `block (2 levels) in module:S4u_reset_axis'

                        Any hint ?

                        DB

                        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