Hi Chris
I think the best you can do it to move the points a bit further away from
the surfaces, this may prevent this from happening.
If the translation is small it may not make a large difference, sometimes
there are no way around such modifications, even if they are subjective.
Best regards
Søren
From: anyscript@yahoogroups.com [mailto:anyscript@yahoogroups.com] On Behalf
Of chrisjgatti
Sent: 13 February 2008 20:00
To: anyscript@yahoogroups.com
Subject: [AnyScript] Re: Scaling model without all segment lengths
I’ve been looking at the penetration error problem…
> 1. They may happen at load time when the model is in its initial
> position. If it is only in this position they occur they are not
> important it just means the initial posture creates penetration.
>
> 2. They may occur when running inverse analysis of the model. This
> can be important.
The penetration errors do not occur when the model is loaded in its
initial position, however they do occur when running an analysis. And,
they occur when I scale the model for only some subjects (more often
than not, while using AnyAnne.any rather than AnyMan.any). I am just
running a kinematic analysis to compute moment arms for a static
posture right now, but I will be looking using the inverse dynamics
analysis later on, still in a static posture.
> There can be different reasons:
>
> 1. If for example the arm is penetrating the thorax this may give a
> penetration warning. This is not an error related to the Brep model
> but related to the way the model is being used. Here the remedy is
> to change the drivers of the model.
>
> 2. In principle all surfaces in the model used for wrapping have
> been made in a way that makes them scale with the model. When
> defining a cylinder it is typically defined using three nodes. These
> nodes control the size and location of the cylinder. If the bone is
> scaled these control nodes will also be scaled like any other node
> on the bone and consequently the cylinder will be scaled too,
> ellipsoids are made in a similar way. This setup does not guarantee
> that penetration errors will never occur. If the via point and
> the surface is located on the same bone and are very close,
> different types of scaling and sizes could potentially create
> penetration errors.
I believe the penetration errors are due to case #2, where the
insertion points are penetrating the wrapping surfaces.
> In general the remedy is to
>
> 1. exclude all muscles from the model except the one causing the
> problem
>
> 2. insert an AnyDrawParamSurface in the surface being penetrated to
> visualize it you can do this directly in the muscle. Typically by
> writing
>
> Surf1={ AnyDrawParamSurf drw={}; }; //assuming a Surf1 reference
> is existing!
>
> 3. insert an AnyDrawRefFrame in the node which is penetrating
>
> 4. try to understand the root of the problem if it is related to
> scaling or motion
>
> 5. Do modifications on either model or motion to solve the problem.
I followed this for a couple of the muscles and it seems that
insertion points are very close to the surface of the wrapping surface
(from what I can tell visually). Considering I am analyzing a static
posture, I guess the model has to be modified. But, if the insertion
point is very close to the wrapping surface, does the model really
need to be modified? If so, what type of modification is suggested?
Moving nodes seems a little subjective.
Thanks,
Chris
[Non-text portions of this message have been removed]