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

    Inference lock along a random vector

    Scheduled Pinned Locked Moved Developers' Forum
    1 Posts 1 Posters 1.8k Views 1 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.
    • B Offline
      biervat
      last edited by

      I'm trying to inference lock along a random vector. I wrote this and it works as long as @vector is along the red/green or blue axis but it doesn't lock in any other situation. Does anyone has a solution?

      
      @picked_first_ip.copy(@mouse_ip)
      @mouse_ip = Sketchup;;InputPoint.new(@picked_first_ip.position.offset(@vector))
      view.lock_inference(@picked_first_ip,@mouse_ip)
      
      
      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