sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Position of a point

    Scheduled Pinned Locked Moved Developers' Forum
    4 Posts 2 Posters 208 Views 2 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
      Matt666
      last edited by

      Hi all!
      Answer is certainly easy, but I don't know how to do...

      I want to find position of a point, determining by :

      • Position of an initial point
      • Distance
      • Vector
        How can I find this point? 😉

      Frenglish at its best !
      My scripts

      1 Reply Last reply Reply Quote 0
      • M Offline
        Matt666
        last edited by

        Ah great!! It works perfectly! vector.length.... I didn't aware of that!
        Thank you Chris!

        Frenglish at its best !
        My scripts

        1 Reply Last reply Reply Quote 0
        • Chris FullmerC Offline
          Chris Fullmer
          last edited by

          use point.offset

          point1 = (the known point position) vector = (the known vector position) distance = (the known distasnce) vector.length = distance point2 = point1.offset vector

          That will then give you point2 as the new point. The vector.length = distance line sets the known vector to the desired length - you can skip it if you know that your vector is already set to the correct length. Hope that helps,

          Chris

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

          1 Reply Last reply Reply Quote 0
          • Chris FullmerC Offline
            Chris Fullmer
            last edited by

            Excellent, glad it helped (and worked). I also just edited a minor typo in the example, but I'm sure you figured it out even with the typo,

            Chris

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

            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