Jump to content

Recommended Posts

Hi everybody,

I'm a PhD student of Naples and I'm working in a complex project that involves Labview code (that I know very very basically..).

I'll start to ask you help for a little problem :)

I had imported a STL file (3D file) in Labview (below there is a screen shot) and I manage to get the coordinates x,y,z of  the point of the STL file that  I select with the mouse click.

Now I would need to create a marker ( or a little sphere or a red point ) on the STL file where I clicked and, if I click on an other point I would need that the marker created before was deleted and that a new marker be created on the new point I clicked, I mean that on the 3D object must be always only one marker. (I'm sorry for my English, please tell me if there is something not clear).

I would specifie somethings:

  1. the Z coordinate is not important to create the marker/point/sphere because it gona be create on the surface of the 3D object I've imported at the start of the VI (STL file).
  2. I must be able to continue to move the 3D object in the scene and create the marker/sphere/point only when I click on the object surface
  3. I need to storage the X,Y marker coordinate
  4. on 3d onbject must be only one marker at the time

 

THANK YOU IN ADVANCE

 

Front_Pannel.png

Block_Diagram.png

Pick_point_3D_Picture_Control.vi

Link to comment
  • 2 weeks later...
  • 2 years later...

Thank you for your help, but I'm still having problems..

Finally I achived to apply my jpeg picture to the imported STL 3d model (as in the attached VI) but the VI "apply texture" apply the texture to each ont of the triangles of the STL file.. that is it does not associate eache pixel of the jpeg picture to each triangle (that it is what I would..). I don't know if it is necessary to perform the jpeg image normalization to apply it on the STL file becaouse of the different sizes.. Someone can help me?

Thank you in advance! 

STL_Texture_Ale_04-07-18.vi

Img_dimostratore.jpg

Untitled2.stl

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.