3d files in vb.net

I know this is going to be a difficult question, so I am not necessarily looking for a straightforward answer, but perhaps a tutorial or point in the right direction.

I am programming a robot that will be controlled by a remote operator. We have a 3D rendering of a robot in SolidWorks. What I want to do is get the 3D file in VB (possibly using DX9) and be able to manipulate it with code so that the remote operator can better understand what the robot is doing. The operator will also have live video to watch, but that doesn't really matter to this question.

Any help would be greatly appreciated. Thank!

+1


source to share


2 answers


Sounds like a difficult idea to implement. Well, for VB, you're stuck with MDX 1.1 (comes with the DirectX SDK) or SlimDX (or another third party managed DirectX wrapper). The latest version of XNA (replacement for MDX 1.1 / 2.0b) is only available for the C # encoder. You can try a workaround , but it's not recommended and you won't get much community support. This is the least you need for your VB to display some 3D content.

If you want to save some of the problems, you can use an off-the-shelf game engine to make things easier. Try Ogre and it manages the MOgre wrapper . This was one of the candidates for my project. But I ended up with SlimDX because Ogre didn't support videos very well. But since the video is not your requirement, you can really consider it. Most of the examples will be in C # as well, so you will need to convert to VB.Net. It won't be difficult.



It's more complicated here, you need to export your model exported from SolidWorks to DirectX (* .x) format. I did a quick google search and only found a few paid tools to do this. You may need to spend a little on this, or spend more time looking for free converter tools.

What about it. If you have more questions, please send the message again. Good luck

+3


source


I'm not sure what the real question is, but what I suspect you are trying to do is be able to manipulate the robot's SW model with some kind of manual input. Assuming this is the right question, two aspects need to be highlighted:

1) Solidworks module: once the robot model works correctly in SW, a program can be written in VB.Net that can manipulate the positional assistants for each of the joints. Also, using VB, the window can be programmed with sliders, etc., which will allow the operator to "remotely" control the robot. Once this is done, there is a great opportunity to customize a table that can store sequential steps. Upon completion of the VB program, development could continue to allow the robot to "cycle" through the sequence of moves. If any obstacles are added to the model, it will be a great tool for collision detection and off-line learning.



2) If the question also includes the inclusion of a physical operator, then there are a number of potential solutions for this. Hopefully, the robot software will provide the VB library for software and software processing of the robot. If so, then the VB code can then be designed with a "run" mode where the SW robot is controlled by the operator gimbal rather than the controls in the VB window (as mentioned above). This would allow the operator to work "offline" with the virtual robot.

Hope it helps.

0


source







All Articles