what is pattern of rotating a refernce frame

Then you should use AMMRv1.6. This is the newest repository that was released and it comes with the installation of AMS 6.0.

Here is a link to the tutorial showing how to use different scaling laws in your application. Please try following it to understand how it works.

Scaling tutorial

Regards,
Pavel

hello sir

I want to know one thing

What Does exactly it means

  1. nStep = 1;
  2. tEnd = 1.0;

If we change the value what would happen

Thanks & Regards

Mithun Goyal

Hello Mithun,

I would say the easiest way to find out is to just try :wink:

  1. nStep = 1 means that for the study, the timeinterval from tStart to tEnd is split into nStep, so in this case 1, step. The time when something is evaluated in the study is also written in the variable t in the output of the study.
  2. tEnd = 1.0 means that the time interval ends at 1.0 s. If tStart is not set, the study is using the default value of tStart = 0.0. Changing tEnd without changing nStep changes the time between the timesteps, not the number how often things are evalutated in the study.

All this, you can also find in the reference manual for the AnyBodyStudy (or parent classes of it) which you can easily excess e.g. by clicking on the AnyBodyStudy and pressing F1.

Best regards
Daniel

dear sir

Can we add Stl file from AUTOCAD in

MOCAP-driven Gait Models (C3D input): Full body or lower extremity gait model based MOCAP data. The model uses the redundant kinematic solver. It is a good starting point for understanding and making MOCAP driven models. The MOCAP data is imported directly from a C3D file.
Files: MoCap_FullBody.main.any, MoCap_LowerBody.main.any, model-folder

File if yes then how.

Thanks & regards

Mithun Goyal

Hello Mithun,

the general answer is: yes, it is possible to add an stl file to the model. To use an stl file which you have created in another software, you just have to make sure that it is NOT saved in binary format since the reader in AnyBody has some problems handling this otherwise. How to include the file depends a bit on what you would like to use it for. If you e.g. want to use an stl file for scaling, please have a look into the Scaling tutorial, lesson 3. If you want to use e.g. implant surfaces, you can have a look at the THA or TKA models and the FDK tutorial, expecially lesson 4.

Otherwise you should be more specific on your problem.

Best regards
Daniel

Dear Sir

I want to add a bag to the shoulder of the model so I edited the environment model of the
MOCAP-driven Gait Models (C3D input): Full body or lower extremity gait model based MOCAP data. The model uses the redundant kinematic solver. It is a good starting point for understanding and making MOCAP driven models. The MOCAP data is imported directly from a C3D file.
Files: MoCap_FullBody.main.any, MoCap_LowerBody.main.any, model-folder

Like dis

[b]// This file creates the environment around the human. By default, it creates
// the force plates. You can also add additional devices here.
AnyFolder EnvironmentModel ={

// Defines the Global Ref Frame, usually no changes necessary.
AnyFixedRefFrame GlobalRef ={
Origin={0,0,0};
AnyDrawRefFrame drw={ScaleXYZ=0.4*{1,1,1};};
};
AnyFolder DrawC3DMarkers = {};
// Reference to the BodyModel to allow easy scripting, usually no changes necessary.
AnyFolder &BodyModelRef=Main.Studies.HumanModel.BodyModel;

// ***************************
// Force Plates are included here. If you want to run the model on your own data
// and you have a different amount or type of force plates, this is the place to start:
// There is a detailed description of how to change forceplate types, number of plates,
// orientation etc. in the Wiki at: www.anyscript.org
// ***************************
#define HumanModelPresent 1
#include “…/Input/ForcePlates.any”
#undef HumanModelPresent

AnySeg &RiLeg = Main.Studies.HumanModel.BodyModel.Right.Leg.Seg.Thigh;
RiLeg ={
AnyRefNode localrefframe={
sRel = {0,0,0};
ARel = RotMat(-pi/2,z)* RotMat(-pi/2,y);
AnyDrawRefFrame drws = {ScaleXYZ = {1,1,1}*0.3;RGB={0,0,1};};
};
};
// Bag segment
AnySeg Bag = {
Mass = 20;
Jii = {0.2,0.2,1}/10;
r0 = Main.Studies.HumanModel.BodyModel.Trunk.SegmentsLumbar.PelvisSeg.r0+{0,0,0.15};
AnyRefNode StrapFront = {
sRel = {0.1, 0.1, 0};
};
AnyRefNode StrapBack = {
sRel = {-0.1, 0.1, 0};
};
AnyDrawSurf surf = {
FileName = “…/Input/bag”;
RGB = {128,0,0}/256;
ScaleXYZ = {1,1,1}/100;
};
};

// Create via points for the bag strap
Main.Model.HumanModel.Right.ShoulderArm.Seg.Scapula = {
AnyRefNode Strap1 = {
sRel = {-0.05, 0.01, 0.02};
};
};
Main.Model.HumanModel.Right.ShoulderArm.Seg.Clavicula = {
AnyRefNode Strap1 = {
sRel = {0.1, 0.02, -0.01};
};
};
Main.Model.HumanModel.Trunk.SegmentsThorax.ThoraxSeg = {
AnyRefNode Strap1 = {
sRel = {0.1, 0.25, 0.15};
};
};

// Contact point on the pelvis
Main.Model.HumanModel.Trunk.SegmentsLumbar.PelvisSeg = {
AnyRefNode Bag = {
sRel = {0.0, 0.0, 0.15};
};
};

// Constrain the bag to only slide up and down on the pelvis
AnyPrismaticJoint PelvisBag = {
AnyRefFrame &Pel = Main.Studies.HumanModel.BodyModel.Trunk.SegmentsLumbar.PelvisSeg.Bag;
AnyRefFrame &Bag = .Bag;
Axis = y;
};

// Model the strap
AnyKinPLine Strap = {
AnyRefFrame &p1 = .Bag.StrapFront;
AnyRefFrame &p2 = Main.Studies.HumanModel.BodyModel.Trunk.SegmentsThorax.ThoraxSeg.Strap1;
AnyRefFrame &p3 = Main.Studies.HumanModel.BodyModel.Right.ShoulderArm.Seg.Clavicula.Strap1;
AnyRefFrame &p4 = Main.Studies.HumanModel.BodyModel.Right.ShoulderArm.Seg.Scapula.Strap1;
AnyRefFrame &p5 = .Bag.StrapBack;
AnyDrawPLine drw = {
RGB = {128,0,0}/256;
Thickness = 0.01;
};
};

// Strap length driver
AnyKinEqSimpleDriver StrapLength = {
AnyKinPLine &Strap = .Strap;
DriverPos = {0.8};
DriverVel = {0};
};

// ***************************
// Add other environment here:
// ***************************

};[/b]

and added the bag geometry into input folder of the model

After that I am getting this error message


ERROR(SCR.PRS9) : C:/U…s/csio/A…a/R…g/A…y/A…x/A…o/A…n/E…s/M…l/M…l/Environment.any(78) : ‘Bag’ : Unresolved object

Kindly resolve the problem

Thanks & regards

Mithun Goyal

Dear sir
its done
problem is solved

Thanks & Regards

Mithun Goyal

Dear Sir
Is it possible to export the human body model from anybody software in STL Format to any 3D Modelling Software. If yes, Then How?

Regards

Mithun

Dear Mithun,

unfortuntely it is NOT ALLOWED to export geometries from the body model of the AMMR to use in another 3D Modelling Software! This you can find in the EULA in section 3, especially 3.3, which came along with the AnyBody Software package and you can find in the installation directory. So please do NOT EXPORT the human body for use in another other software to avoid legal consequences.

Best regards
Daniel

Dear Sir/ madam

I want to know that is it possible to import and replace bone geometry of the model by my own modeled bone or or modified bone geometry in this software.
Regards

Mithun goyal

Dear Mithun,

Yes, it is, of course, possible. You can either replace some parts of the generic model completely and do them from scratch or morph parts of the model to take dimensions of the required bone. Please check Scaling chapter in the tutorials.

Please keep in mind that simply replacing the visualized geometry will not change the model and results.

Regards,
Pavel

Dear sir/madam

If we replace the original bone with the diseased bone etc, will there bechange in the forces to that particular bone

Regards

Mithun Goyal

Dear Mithun,

There will be a change if you replace the bone correctly. Please check tutorials.

Regards,
Pavel

hello sir
Is it possible to get xml file by loading model of

MOCAP-driven Gait Model (text-based input): Full or lower extrfemity gait model driven by marker data given by text-based data input.
Files: MoCap_UniMiami_FullBody.main.any, MoCap_UniMiami_LowerBody.main.any, model-folder

I am not getting the xml file.

regards

mithun

Dear Mithun,

Do I understand it right that you want to export loads of a segment in an xml file for one of the MoCap models?

Yes, of course. This should be possible. It should be possible to follow the steps described in the tutorial about the FE output, http://www.anybodytech.com/fileadmin/AnyBody/Docs/Tutorials/chap8_Finite_element_analysis/lesson1.html, and set the output format of the AnyMechOutputFileForceExport function to xml (variable XMLformatOnOff).

With that you should be able to obtain the forces in an xml file.

Best regards
Daniel

Hello sir

I am getting this error when i load the model,what really it does mean & what should I change in the model .

ERROR(OBJ1) : C:/U…s/csio/A…a/R…g/A…y/A…x/A…o/A…n/E…s/M…l/M…l/JointsAndDriversOptimized.any(12) : JntDriverTrunk : Time, ‘t’, has an invalid value for this interpolation
Model loading skipped

Thanks & Regards

Mithun Goyal

Hello Mithun,

it is a bit difficult to see what exactly causes this error message you copied. It looks as one of the drivers of the model, which uses an interpolation function to calculate the value of the driver for a given time, gets a time that is outside of the interval for which an interpolation is defined and therefore.
There could be different things that could cause this problem. Most likely, the start or the end of the simulation period is just a little outside of the interpolation interval. So what you could try is to increase tStart or decrease tEnd a little bit by increasing the values FrontFrameOffset or LastFrameOffset which you can find in the file TrialSpecificData.any a bit and see if this helps.

Best regards
Daniel

Mithun,

You should run the kinematic analysis first. Typically this message pops up when optimized joint angles are missing or something is inconsistent between inverse dynamics and kinematics.

Regards,
Pavel

dear sir

We have anybody modeling system software in one system & abaqus in other , when we generate an output.inp file and import it in abaqus software which is installed on other system
this error is shown,

AbaqusException: Include file “C:\Users\csio\AppData\Roaming\AnyBody Technology\AnyBody.6.0.x\AMMR.v1.6.1-MyDemo\Application\Examples\StandingModel\Output\implant.inp” does not exist.

why this error appears

thanks & regards

Mithun Goyal

Dear Sir

When I run the model given below I am not getting the export loads of a segment in an xml file

#include “…/libdef.any”
// Switch to use the detail neck model
#define UseDetailNeckModel 0
// Switch to include Arms
#define UseUpperExtremities 1
// Prefix for the output file names
// to distinguish the full body and the lower body models
#define OutputFileNamePrefix “FullBody-”
// Switch to save all results in output folder
#ifndef AutoSaveOption
#define AutoSaveOption 0
#endif

// Detailed description can be found at:
#include “Model/Description.any”

//Set this to 1 if you want to run the motion and Parameter Optimization identification
//**************************************************
#ifndef MotionAndParameterOptimizationModel
#define MotionAndParameterOptimizationModel 0
#endif

//Set this to 1 if you want to run the inverse dynamic analysis
#ifndef InverseDynamicModel
#define InverseDynamicModel 1
#endif
//Usually only have one of the two switches active so set the inactive analysis to 0
//**************************************************

// Following will include several predefined classes to generate markers and environments
// Usually, there is no need to make changes in this file:
#include “Model/Classes.any”

Main = {

// This file controls most of the Settings of your Model, the following items are defined here:
// 1. Marker Names
// 2. Marker locations
#include “Model/ModelSetup.any”

// Define the Environment around the human
#include “Model/Environment.any”

// This file controls most of the Trial Specific setup, the following items are defined here:
// 1. C3D file Name
// 2. Start and End Frame
// 3. Subject Anthropometric data
// 4. Initial guess on position
// If you want to run the model on your own data this is the place to start:
#include “Input/TrialSpecificData.any”

AnyFolder Studies ={
// Usually, there is no need to make changes in the following files. PLease be aware. that
// changes in the Kinematics and InverseDynamics may lead to model failure and/or unrealistic results:
#if MotionAndParameterOptimizationModel
#include “Model/Kinematics.any”
#endif

#if InverseDynamicModel
#include "Model/InverseDynamics.any"  
#endif

AnyMechOutputFileForceExport FE_out =
{
FileName = “Output highload.xml”;
UseRefFrameOnOff = On;
AnyRefFrame & ref1 = Main.Studies.HumanModel.BodyModel.Right.Leg.Seg.Thigh;
AllSegmentsInStudyOnOff = Off;
XMLformatOnOff = On;
//AllSegmentsInStudyOnOff = Off;
AnySeg &thigh = Main.Studies.HumanModel.BodyModel.Right.Leg.Seg.Thigh;
};

AnyOperationShellExec ConvertToAbq={
Show=On;
FileName = "Output\AnyFE2Abq\AnyFE2Abq.exe";
Arguments = "-i .\Output	highload.xml -o .\Output\output.inp -m .\Output\implant.inp";
WorkDir=".\ ";

};

};

}; //Main

And if I use this program

#include “…/libdef.any”
// Switch to use the detail neck model
#define UseDetailNeckModel 0
// Switch to include Arms
#define UseUpperExtremities 1
// Prefix for the output file names
// to distinguish the full body and the lower body models
#define OutputFileNamePrefix “FullBody-”
// Switch to save all results in output folder
#ifndef AutoSaveOption
#define AutoSaveOption 0
#endif

// Detailed description can be found at:
#include “Model/Description.any”

//Set this to 1 if you want to run the motion and Parameter Optimization identification
//**************************************************
#ifndef MotionAndParameterOptimizationModel
#define MotionAndParameterOptimizationModel 0
#endif

//Set this to 1 if you want to run the inverse dynamic analysis
#ifndef InverseDynamicModel
#define InverseDynamicModel 1
#endif
//Usually only have one of the two switches active so set the inactive analysis to 0
//**************************************************

// Following will include several predefined classes to generate markers and environments
// Usually, there is no need to make changes in this file:
#include “Model/Classes.any”

Main = {

// This file controls most of the Settings of your Model, the following items are defined here:
// 1. Marker Names
// 2. Marker locations
#include “Model/ModelSetup.any”

// Define the Environment around the human
#include “Model/Environment.any”

// This file controls most of the Trial Specific setup, the following items are defined here:
// 1. C3D file Name
// 2. Start and End Frame
// 3. Subject Anthropometric data
// 4. Initial guess on position
// If you want to run the model on your own data this is the place to start:
#include “Input/TrialSpecificData.any”

AnyFolder Studies ={
// Usually, there is no need to make changes in the following files. PLease be aware. that
// changes in the Kinematics and InverseDynamics may lead to model failure and/or unrealistic results:
#if MotionAndParameterOptimizationModel
#include “Model/Kinematics.any”
#endif

#if InverseDynamicModel
#include "Model/InverseDynamics.any"  
#endif

AnyMechOutputFileForceExport FE_out =
{
FileName = “Output highload.xml”;
UseRefFrameOnOff = On;
AnyRefFrame & ref1 = Main.Studies.HumanModel.BodyModel.Right.Leg.Seg.Thigh;
AllSegmentsInStudyOnOff = Off;
XMLformatOnOff = On;
//AllSegmentsInStudyOnOff = Off;
AnySeg &thigh = Main.Studies.HumanModel.BodyModel.Right.Leg.Seg.Thigh;
};

AnyOperationShellExec ConvertToAbq={
Show=On;
FileName = "Output\AnyFE2Abq\AnyFE2Abq.exe";
Arguments = "-i .\Output	highload.xml -o .\Output\output.inp -m .\Output\implant.inp";
WorkDir=".\ ";

};

};
AnyBodyStudy Study = {
AnyFolder &Model = .Model;

tEnd = 10.0;
Gravity = {0.0, -9.81, 0.0};
nStep = 5;

}; //Main

I get this error
ERROR(OBJ1) : C:/U…s/csio/A…a/R…g/A…y/A…x/A…o/A…n/E…s/M…l/M…l/JointsAndDriversOptimized.any(12) : JntDriverTrunk : Time, ‘t’, has an invalid value for this interpolation
Model loading skipped

Please help to find the error

Thanks & regards

Mithun