sketchucation logo sketchucation
    • Login
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

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

    scheduled pinned locked moved Plugins
    5 Posts 4 Posters 824 Views 4 Watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • 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

      one-reply-to-this-post last-reply-time reply quote 0
      • Rich O BrienR Offline
        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 📖

        one-reply-to-this-post last-reply-time 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

          one-reply-to-this-post last-reply-time 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'
            
            one-reply-to-this-post last-reply-time 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.

              one-reply-to-this-post last-reply-time 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