Login
Username:

Password:


Lost Password?

Register now!
Main Menu
H3D.org Feeds
H3D.org Forum Index
   Programming Issues
     Need help on drilling an object
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
aparna
Posted on: 2010/2/5 6:41
Not too shy to talk
Joined: 2010/1/1
From:
Posts: 12
Need help on drilling an object
Hi,

I am working with X3D ,H3DAPI and Falcon.
But I do need help on few things. It would be great if you can provide
me some information on the same.

I am working on a drilling exercise.
What is expected out of the excercise is
1) The real time formation of the hole as in a real drilling exercise.
2) Force feedback while drilling.

I have looked into VHTK bone drilling example. I didnt look at the code
but at the video. I would like to know the best approach to this problem
as well code sample doing similar things.

Thanks,
Aparna
karlu
Posted on: 2010/2/8 8:35
Guru
Joined: 2004/12/2
From: Sweden
Posts: 585
Re: Need help on drilling an object
VHTK doesn't have support for drilling, since it's primarily designed for visualization and guidance. If you want to implement your own drilling algorithm then VHTK can assist with volume data handling, transfer functions, visualization, etc. There are many more or less complicated algorithms available but you can take a look at forssim if you want something that is already implemented.


----------------
KJ Lundin Palmerius
Norrköping Visualization and Interaction Studio
Linköping University, Sweden

aparna
Posted on: 2010/2/19 6:54
Not too shy to talk
Joined: 2010/1/1
From:
Posts: 12
Re: Need help on drilling an object
Hi,

I checked with forssim but couldnt get proper support on installtion of what they have done. I just need to deform a hard surface..it may not be very realistic too.

I tried to use the chainmail deformer. I integrated the C++ code with the H3API. But when i run the X3D code it H3Dviewer crashes. Can someone help me.I am pasting the code below.

<X3D profile='H3DAPI' version='1.4'>
<head>
<meta name='title' content='deform.x3d'/>
<meta name='description' content='An example which shows how to use the DeformableShape node. Touch the object with a haptics device to notice all features.'/>
<meta name='editors' content='SenseGraphics AB'/>
</head>

<Scene>
<GlobalSettings>
<HapticsOptions maxDistance="1" useBoundTree="true" />
</GlobalSettings>

<IMPORT AS = 'HDEV' exportedDEF = 'HDEV' inlineDEF = 'H3D_EXPORTS' />
<Collision enabled="false">
<DeformableShape DEF="D">
<ChainmailDeformer compressionFactor="1.0" stretchFactor="1.5" shearFactor="2.5"/>
<Appearance>
<Material diffuseColor="0.543 0.273 0.121"/>
<FrictionalSurface stiffness="10" dynamicFriction="0.6" staticFriction="0.2" />
<!-- <ImageTexture url="wood.jpg" DEF="IMT" repeatS="false" repeatT="false"/> -->
</Appearance>
</DeformableShape>
</Collision>
<PythonScript DEF="CUBE" url="ITSCube.py" />
<PythonScript url="deformCube.py">
<DeformableShape USE="D" containerField="references" />
</PythonScript>
</Scene>
</X3D>


Thanks,
Aparna
karlu
Posted on: 2010/2/19 8:22
Guru
Joined: 2004/12/2
From: Sweden
Posts: 585
Re: Need help on drilling an object
I've seen people before confuse deformation with the process of drilling or milling, so I'll just make sure that you're choosing a deformation algorithm for the right reason. Just make sure that you're aware that deformation is a reversible process that retains body mass and, in cases of incompressible materials, also the volume, while drilling and milling are eroding processes that generally do not change the position of material in the object, but only the object's occupancy in space.

Just wanted to make sure.


----------------
KJ Lundin Palmerius<br />Norrköping Visualization and Interaction Studio<br />Linköping University, Sweden

aparna
Posted on: 2010/2/20 5:26
Not too shy to talk
Joined: 2010/1/1
From:
Posts: 12
Re: Need help on drilling an object
Thanks a lot for the input. I didnt know this difference.
I was trying to use the deformation algorithm for the drilling reasons.
I am not worried if the body and mass are retained in my case though.If it shows the drilling happening properly.
Or is there any specific algorithm for drilling?

I appreciate your help in this regard.
karlu
Posted on: 2010/2/24 10:04
Guru
Joined: 2004/12/2
From: Sweden
Posts: 585
Re: Need help on drilling an object
There are several algorithms developed for this purpose and I think that this application paper cites the most important ones. The work presented in the paper is also available as an open source extension to the H3D API.


----------------
KJ Lundin Palmerius<br />Norrköping Visualization and Interaction Studio<br />Linköping University, Sweden

aparna
Posted on: 2010/2/25 9:56
Not too shy to talk
Joined: 2010/1/1
From:
Posts: 12
Re: Need help on drilling an object
Thanks a lot for the information.
Aparna
Threaded | Newest First Previous Topic | Next Topic | Top

Register To Post
 



(C) 2004 SenseGraphics AB    ---    Powered by XOOPS