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

    Point3D to ImputPoint

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 2 Posters 777 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 !

      I have a question.
      I have a point position, and I try to put it in an imputPoint position... Haw can you do that, please ???

      Point3d(60.5559, 54.0235, 0) [b]in a[/b] #<Sketchup;;InputPoint;0xf33e6f8>
      

      πŸŽ‰ πŸŽ‰

      I try the "Pick" function, but the modified imputPoint is so far from his logical position !!!

      Thank you !

      Frenglish at its best !
      My scripts

      1 Reply Last reply Reply Quote 0
      • fredo6F Offline
        fredo6
        last edited by

        Just convert your Point3D to screen coordinates (x, y) via view.screen_coords.
        Then with x, y, you can do what you want.
        Note that if you use an input point, its attribute <position> may not give back the original Point3D

        Fredo

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

          Aaah !! Thank you Fredo6 !! that's exactly what I want !

          Frenglish at its best !
          My scripts

          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