• Login
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!
⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update

Moving object in steps

Scheduled Pinned Locked Moved Developers' Forum
6 Posts 3 Posters 194 Views 3 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.
  • P Offline
    Pout
    last edited by 29 Nov 2011, 10:01

    Let's say if first move an object (by translation) by 3 according to the z-axis (so 3 metres higher)
    Later on I want to move it to 5. In a translation that would be a move of 2

    Is it possible to set the position in z instead of doing translations?

    Or can i reset/remove the previous translation and do a new translation?

    Hope this makes sense.

    Regards

    1 Reply Last reply Reply Quote 0
    • P Offline
      Pout
      last edited by 29 Nov 2011, 10:23

      some extra info:
      it's a section plane i try to move

      1 Reply Last reply Reply Quote 0
      • T Offline
        thomthom
        last edited by 29 Nov 2011, 10:24

        Is all done in one operation?

        "object" - you mean any Entity or a Group or ComponentInstance? With Groups and ComponentInstances you can get and set the transformation matrix, .transformation and .transformation= where you could manipulate the Z position if you like.

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

        1 Reply Last reply Reply Quote 0
        • C Offline
          Chris Fullmer
          last edited by 29 Nov 2011, 10:43

          You're transforming it with transform_by_vector, right?

          Lately you've been tan, suspicious for the winter.
          All my Plugins I've written

          1 Reply Last reply Reply Quote 0
          • P Offline
            Pout
            last edited by 29 Nov 2011, 10:55

            Thomthom, different operations
            So there can be other commands in between.
            With the object I mean a section plane
            So I'll need to use transform_entities or transform_by_vector

            1 Reply Last reply Reply Quote 0
            • P Offline
              Pout
              last edited by 29 Nov 2011, 13:35

              i got it, will post solution later

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

              Advertisement