Jump to content

Drawing objects in 3D picture control


AusTEX

Recommended Posts

I'm just getting started with using the 3D picture control and need some help with drawing objects. There are only a few built in functions for drawing objects such as the cone, cylinder, and box. What do you do when you need to draw a different shape, maybe a pyramide? For example, I would like to draw something similar to the box, but I want the rectangles that define the top and bottom to be different sizes. I'd also like to draw something like the cone but I want to be able to specify the radius of the bottom as well as the top. Anyone know how this can be done? Thanks in advance.

Link to comment

You can either create the mesh manually by using Create Mesh.vi and then adding the array of 3D coordinates using a property node. The other option is to use something like this:

http://decibel.ni.co...t/docs/DOC-5242

I like the second option for complex things, though it can take a bit of getting used to for scaling and position. All of the tools are free, which is nice.

I'm just getting started with using the 3D picture control and need some help with drawing objects. There are only a few built in functions for drawing objects such as the cone, cylinder, and box. What do you do when you need to draw a different shape, maybe a pyramide? For example, I would like to draw something similar to the box, but I want the rectangles that define the top and bottom to be different sizes. I'd also like to draw something like the cone but I want to be able to specify the radius of the bottom as well as the top. Anyone know how this can be done? Thanks in advance.

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.