AnyBody™ Tutorials
Getting started with AnyScript

AnyScript is the model definition language of the AnyBody body modeling system.

AnyScript is actually an object-oriented programming language developedspecifically fordescribing the construction and behavior of bodies of living creatures. It can also model the different environment components that the body happens to be connected to. Typical examples would be bicycles, furniture, sports equipment, hand tools, and workplaces.

AnyScript contains facilities for definition of bones (called segments), their connections by joints, muscles, movements, constraints, and exterior forces.

One of the ideas behind AnyScript is that its text-based format and object-oriented structure makes it easy to transfer elements between models. You can build a library of body segments for use in your different analysis projects, and you can easily exchange models with other users and collaborate with them on complex modeling tasks.

The syntax of AnyScript is much like a Java, JavaScript, or C++ computer program. If you already know one of these programming languages, you will quickly feel at home with AnyScript. But don't be alarmed if you have no programming experience. AnyScript is very logically constructed, and this tutorial is designed to help new users getting started as gently as possible.

So let us take the bull by the horns and get you introduced to the world of body modeling with AnyScript. This tutorial comprises six lessons during which you will complete your first AnyScript model, a simplified model of an arm.

Each lesson (after lesson 1) begins with a link to a file with the AnyScript code. If you have a problem making your own code work, simply download the file and start from there.

This tutorial consists of the following lessons:

Let's get started with Lesson 1: Basic concepts

AnyBody Technology A/S · Niels Jernes vej 10 · DK-9220 Aalborg Ø · Denmark · Tel. +45 9635 4286 · Fax. +45 9635 4599            Sitemap