problems with STL files

Hi,

I am facing little problems withSTL files in AnyBody. I a musinf STL

files to represent the bony surfaces. I have attached muscles to these
bones. These muscles are created in such a way that they are penetrating
through the bones and no errors are being showed in the analysis. So I
thought that these STL files are not being realized as bones by the
software. I thought by converting them into anysurf files, these problem
may be solved. So, when i used “AnySurfSTL” function with STL file, it
converted the STL file into ANYSURF file, but it din’t display the bone
in model window. later i tried using the newly created “ANYSURF” file
instead of STL file, but in vain. Can anyone please tell me

  1. Why the STL file is not recognized as a bone?
  2. Why the model window is not showing the anysurf file as well,
    eventhough there are no warnings?

Thank you

kiran

Kiran S Konakanchi
Graduate Student
Mechanical and Aerospace Engineering
State University of NewYork at Buffalo
1022 Furnas Hall

Hi Kiran

The muscles can not wrap directly on an .stl or .anysruf file, this
is why they penetrate through the bone. The .stl and .anysurf files
are purely for graphics. If you want the muscle to wrap on the
surface you have to create either spheres, ellipsoids or cylinders
which the muscle can wrap on. These surfaces you have to fit
manually to bone surface to represented its surface.

When having created the surfaces using AnySurfEllipsoid,
AnySurfCylinder or AnySrufSphere you have to create a
AnyShortestPathMuscles which refers to these surfaces. It will then
find the shortest path around these surfaces.

Please have a look in the body repository file “Arm3D/Muscles.any”
to see how it can be done.
You may also look at the file “MomentArmMeasure.any”, in the file
section on this yahoo group. It is a small example about how to
measure momentarms but it also shows how to make a
AnyShortestPathMuscle wrap a cylinder.

I do not understand that the AnySurf file you have created did not
display. If you have made a naming mistake the system will tell that
it can not find the file. Did you notice if AnyBody wrote that it
was converting the file? it should write this when it converts the
file. Please check that the size of the .stl and .anysurf file are
not too different this would indicate that something went wrong in
the converting process.

It could also be that the Transparency has been set to 0 this would
make the bone invisible

These next lines is just an example on how to draw an .anysurf

AnyDrawSurf DrwSurf = {
FileName = “Ulna_bone”;
RGB ={0,0,1};
};
Please notice that the filename uses no extension when it is
an .anysurf.

I hope this helps solving your problems otherswise please do not
hesitate to ask again.

Best regards
AnyBody support

— In anyscript@yahoogroups.com, ksk5@b… wrote:
> Hi,
>
> I am facing little problems withSTL files in AnyBody. I a
musinf STL
> files to represent the bony surfaces. I have attached muscles to
these
> bones. These muscles are created in such a way that they are
penetrating
> through the bones and no errors are being showed in the analysis.
So I
> thought that these STL files are not being realized as bones by the
> software. I thought by converting them into anysurf files, these
problem
> may be solved. So, when i used “AnySurfSTL” function with STL
file, it
> converted the STL file into ANYSURF file, but it din’t display the
bone
> in model window. later i tried using the newly created “ANYSURF”
file
> instead of STL file, but in vain. Can anyone please tell me
>
> 1. Why the STL file is not recognized as a bone?
> 2. Why the model window is not showing the anysurf file as well,
> eventhough there are no warnings?
>
> Thank you
>
> kiran
>
>
> Kiran S Konakanchi
> Graduate Student
> Mechanical and Aerospace Engineering
> State University of NewYork at Buffalo
> 1022 Furnas Hall