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
    6 Posts 5 Posters 922 Views 5 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.
    • M Offline
      MrWip
      last edited by

      Hi everyone,

      Working more and more with complex BIM models export, imported into sketchup, I'm regularly facing the same issue : All the build elements are groups (sometimes components), which are fine to work with, but their axes are always set relatively to the world axes, and not along there respective most logical direction, which make them really hard to use (textures projection is not right, scaling is impossible...)

      So, my question is the following : could there be a plugin allowing an automatic axes reorientation, of a selected amount of object, along their most logical axes ?

      sketch.jpg

      Working regularly with the great FredoTool box scaling, I noticed that this tool was able to orient itself automatically really well, along what i called previously "the most logical axes".

      sketch 2.JPG

      So, could it be possible to use a similar method to reorient each group axes ?

      ... In fact there is maybe a plugin allowing that already, but I couldn't find it. The closest thing was ThomThom axes tool, but it's not reorienting the axes, just reseting their origin...

      Thanks in advance.

      http://www.wip-archi.com

      1 Reply Last reply Reply Quote 0
      • 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 Do not disturb
          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 Do not disturb
              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

                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