• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

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 1 Oct 2008, 14:34

    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
    • F Offline
      fredo6
      last edited by 1 Oct 2008, 15:45

      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 1 Oct 2008, 15:51

        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
        1 / 1
        • First post
          3/3
          Last post
        Buy SketchPlus
        Buy SUbD
        Buy WrapR
        Buy eBook
        Buy Modelur
        Buy Vertex Tools
        Buy SketchCuisine
        Buy FormFonts

        Advertisement