Hi,
I would like to know if some of you already used the function : 'hm_createmark 'by cylinder''.
I tried to use it to detect some elements around a line.
The problem is it does not work properly...like returning me elements that have nothing to do with some lines...
Initially, i've got a line that goes through my meshed surface.
I take both extremities of the line, and create two nodes at those points.
I allows me to get my cylinder axis and calculate my director vector.
Then I do a :
hm_createmark elems 1 'by cylinder' '$xnode1 $ynode1 $znode1 $x_vect $y_vect $z_vect 5 $length inside 0 1 0'
Where :
xnode1,ynode1,znode1 is the starting point of my cylinder
x_vect[...]z_vect is my director vector of my cylinder.
At the end of the selection i create a surface with each of the elements selected with my cylinder.
In the first image (image1.bmp) we have the cylinder 'created' by the createmark.
In the second image (image2.bmp) we can see the surfaces created by the process... Not very accurate at all !! We can see that my createmark took elements outside the selection zone...
Somebody already had this problem ? Any solution ?
The createmark ' by sphere' works well...but in the case i absolutely need the cylinder !
Thanks in advance for whoever could help me ...
Unable to find an attachment - read this blog