ilkea
Aerospace
- Apr 7, 2006
- 9
Hi,
assume that I have a solid body with a relatively complex geometry with volume = V
what I would like to do is to offset one face deltax and calculate the new volume (Vnew) and write this volume to a file and repeat this step for n times...
I assume this is possible in NX but I dont know how to, I will be glad if you post a similar code, so that I can modify it to match my needs
well, I am not familiar to VB or C++ but the algorithm should do something like below
deltax= 0.1
do i=1,100
offsetvalue = deltax X i
//update the model with new offset value, obtain the new solid//
//re-calculate the volume = Vnew //
Volume(i) = Vnew (not neccassarily in array form, any non-confusing data/file type is OK)
end do
exit
Thanks in advance...
assume that I have a solid body with a relatively complex geometry with volume = V
what I would like to do is to offset one face deltax and calculate the new volume (Vnew) and write this volume to a file and repeat this step for n times...
I assume this is possible in NX but I dont know how to, I will be glad if you post a similar code, so that I can modify it to match my needs
well, I am not familiar to VB or C++ but the algorithm should do something like below
deltax= 0.1
do i=1,100
offsetvalue = deltax X i
//update the model with new offset value, obtain the new solid//
//re-calculate the volume = Vnew //
Volume(i) = Vnew (not neccassarily in array form, any non-confusing data/file type is OK)
end do
exit
Thanks in advance...