Specifications

179
exchanging them, we shall end up with a very good supply of models that fit most purposes. The AnyBody
Model Repository is an attempt to provide such a library.
These are some of the tasks you will want to accomplish with predefined models:
To change the model pieces to fit your own purposes - preferably without tampering with the
interior workings of the parts you are using.
To be able to combine existing body parts to larger models.
To be able to attach the parts you can find to model bits you construct yourself.
All this can be done very elegantly in the AnyScript language provided you keep it in mind when you
construct your models. The AnyBody Model Repository is constructed that way, and it contains numerous
examples of the technique. In short, it uses the following elements of the language to make it happen:
1. Include files
2. Parameters
3. Equipping parts with their own interfaces
While there are many different ways models could be constructed to obtain the modularity we are looking
for, the AnyScript Model Repository represents one very well-structured solution, and AnyBody Technology
strongly recommends following the structure of this library when new models are developed.
The Repository Model Structure
The model repository is really not a part of the AnyBody Modeling System. It is a library of models that
scientists and other advanced users have developed and made available in the public domain. The AnyBody
Modeling System does not require you to structure your models in any particular way. But it is much easier
to manage large models if you divide them into logical parts, and if you follow the structure of the
Repository, then you can use the body parts in the Repository for your own models.
So this tutorial is an introduction to the Model Repository structure as well as a case in point of how models
can be organized and interfaced with each other in general.
The Repository has its files structured into two main groups:
ARep stands for "Application Repository", and it contains the various devices, environments and working
situations you may want to hook the body up to. An application could be a model lifting a box, walking, or
riding a bicycle. This means that the ARep branch is where you can find the main files of models you can
analyze, i.e. the files you actually load into the AnyBody Modeling System. You will know them because they
have "Main" in their names: <application name>.Main.any.
BRep is short for "Body Repository", and it contains AnyScript models of the body with no attachments and
no specification of movement, forces, or supports. The entire body model contains many hundred muscles