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!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Moving object in steps

    Scheduled Pinned Locked Moved Developers' Forum
    6 Posts 3 Posters 180 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

      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

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

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

          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
          • Chris FullmerC Offline
            Chris Fullmer
            last edited by

            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

              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

                i got it, will post solution later

                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