sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Xyz coordinates

    Scheduled Pinned Locked Moved Plugins
    5 Posts 4 Posters 709 Views 4 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.
    • A Offline
      andyviv
      last edited by

      Hi All,

      Just wondered if anyone knew of a plugin that allows you move objects by typing in xyz coordinates. So say I had five objects at slightly different heights I could just type 0 in and they would all drop to the ground plane. I know there are ways of doing this manually, but it is quite a useful tool in other 3D programmes.

      Cheers

      Andy

      1 Reply Last reply Reply Quote 0
      • massimoM Offline
        massimo Moderator
        last edited by

        This should work.
        http://sketchuptips.blogspot.it/2007/08/plugin-mover-2.html
        Also there are a couple or "drop" plugin around. One by TBD, another by Rick Wilson and also one by Thomthom if I'm not wrong. Just have a look here and on the Smustard site.

        1 Reply Last reply Reply Quote 0
        • TIGT Offline
          TIG Moderator
          last edited by

          'Drop' ? Or several variants...
          http://www.smustard.com/script/DropGC
          http://sketchucation.com/forums/viewtopic.php?p=17175#p17175
          There are also some 'Align' tools... do a Search in the Plugins Index...

          or this one-liner copy/pasted into the Ruby Console+<enter> will z=0 all selected objects, best used with groups/component-instances...

          m=Sketchup.active_model;m.start_operation('0');m.selection.to_a.each{|e|next unless e.valid?;o=e.bounds.min;p=o.clone;p.z=0;t=Geom;;Transformation.translation(o.vector_to(p));m.active_entities.transform_entities(t,[e])};m.commit_operation;
          

          TIG

          1 Reply Last reply Reply Quote 0
          • thomthomT Offline
            thomthom
            last edited by

            @dave r said:

            You don't need a plugin for that. See this and especially this:

            Won't work in his specific case - he has multiple objects at different height. He then wants to move all to the same Z position en masse.

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

            1 Reply Last reply Reply Quote 0
            • TIGT Offline
              TIG Moderator
              last edited by

              My one-liner posted earlier will 'zero' all selected objects so that their bounds.min.z=0...
              It will 'destroy' some selected objects like vertical faces, when their edges all get to be 'coincident' on the ground!!
              Hence the warning about it being best used on groups/component-instances...

              TIG

              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