Forums Anyscript.org  

Go Back   Forums Anyscript.org > Self-Supported Forum > AnyBody Model Repository

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 08-06-2014, 12:00 AM
khushbupatel494 khushbupatel494 is offline
Junior Member
 
Join Date: Dec 2013
Posts: 15
Default Body Mass Index

How do you change the body mass index in the models?
Reply With Quote
  #2  
Old 08-06-2014, 09:17 AM
aalmunajjed aalmunajjed is offline
Senior Member
 
Join Date: Mar 2011
Posts: 633
Default

Hello,
just change the body mass in the AnyMan or TrialSpecific file depending what model you use.
__________________
Best regards, Amir

__________________
Amir Al-Munajjed, AnyBody Support

Please provide AMMR and AMS version numbers in case you send a debug model. The folder structure should follow the standard in the AMMR. This makes it a lot easier for us to answer your questions faster.

Consider to subscribe to a forum, click the 'ForumTools' link above the list of threads then select 'Subscribe to Forum'.
Reply With Quote
  #3  
Old 08-31-2014, 04:59 AM
khushbupatel494 khushbupatel494 is offline
Junior Member
 
Join Date: Dec 2013
Posts: 15
Default

Thanks, I am using the Lifting Model and I have trying to access the Anyman file in the code, I found a link in the tutorial, however the link does not work, is there any other way I can access this file?
Reply With Quote
  #4  
Old 09-02-2014, 10:02 AM
aalmunajjed aalmunajjed is offline
Senior Member
 
Join Date: Mar 2011
Posts: 633
Default

Hi,

did you have a look at the scaling tutorial?
http://www.anybodytech.com/fileadmin...ing/intro.html

the best is to start with the model "StandingModelScalingDisplay"


The StandingLift model uses a standard unscaled body model. In order to scale it you:

- need to include a scaling law, for example:

#define BM_SCALING CONST_SCALING_LENGTHMASSFAT

- need to include a AnyMan file

#path BM_SCALING_ANTHRO_FILE "Model\AnyMan.any"

- need to copy this file into your model folder. (you could use one from the StandingModelScalingDisplay model)


Now you can change the values in the AnyMan file.
__________________
Best regards, Amir

__________________
Amir Al-Munajjed, AnyBody Support

Please provide AMMR and AMS version numbers in case you send a debug model. The folder structure should follow the standard in the AMMR. This makes it a lot easier for us to answer your questions faster.

Consider to subscribe to a forum, click the 'ForumTools' link above the list of threads then select 'Subscribe to Forum'.
Reply With Quote
  #5  
Old 09-03-2014, 02:44 AM
khushbupatel494 khushbupatel494 is offline
Junior Member
 
Join Date: Dec 2013
Posts: 15
Default

We were the tutorial and had to download the link because our version looked different, however the file downloaded from the link erases the main folder and does not accept it. Can you please tell us how to change it in this file, attached is the code.



// Scaling laws using external measures
// #define BM_SCALING CONST_SCALING_UNIFORM_EXTMEASUREMENTS
// #define BM_SCALING CONST_SCALING_LENGTHMASS_EXTMEASUREMENTS
// #define BM_SCALING CONST_SCALING_LENGTHMASSFAT_EXTMEASUREMENTS

// Anthropometric data file (unchanged files can be found in AAUHuman\Scaling\AnyFamily)
// #path BM_SCALING_ANTHRO_FILE "Model\AnyFamily\AnyMan.any"
// #path BM_SCALING_ANTHRO_FILE "Model\AnyFamily\AnyManUniform.any"
// #path BM_SCALING_ANTHRO_FILE "Model\AnyFamily\AnyManExternal.any"
// #path BM_SCALING_ANTHRO_FILE "Model\AnyFamily\AnyManExtPercentile.any"
// #path BM_SCALING_ANTHRO_FILE "Model\AnyFamily\AnyWomanExtPercentile.any"
//--------------- END OF SCALING CONFIGURATION -------------------


//#include "Model\CustomScaling.any"

#include "<ANYBODY_PATH_BODY>/HumanModel.any"

// This folder collects the elements of the model. It is referred by the
// study section below as the target of the analyses.
AnyFolder Model = {
/// Body model without default drivers
AnyFolder &HumanModel=.HumanModel.BodyModel;
/// Reference to the mannequin folder (used by drivers)
AnyFolder &Mannequin =.HumanModel.Mannequin;

// Environment files are used to include objects surrounding human, e.g. global reference frame
#include "Model\Environment.any"

AnyFolder ModelEnvironmentConnection = {
// All added constraints reaction forces to simulate standing human
#include "Model\JointsAndDrivers.any"
};

// Visualization of the external measures
//#include "Model\DrawExternalMeasures.any"
};


AnyBodyStudy Study = {
AnyFolder &Model = .Model;

tEnd = 1.0;
Gravity = {0.0, -9.81, 0.0};
nStep = 1;
// these settings are needed for adding drivers without removing the default set
InitialConditions.SolverType = KinSolOverDeterminate;
Kinematics.SolverType = KinSolOverDeterminate;

}; // End of study

// Include an operation sequence to run all required steps of your application (see Operations tab)
#include "<ANYBODY_PATH_TOOLBOX>\Operations\RunAppSequence. any"

}; //Main
Reply With Quote
  #6  
Old 09-09-2014, 12:31 PM
mkjung9980's Avatar
mkjung9980 mkjung9980 is offline
Senior Member
 
Join Date: Aug 2009
Posts: 889
Default

Hi,

Attached please find a sample model which can be useful for the understanding of different scaling strategies.

I hope this may be helpful for you.

Best regards,
Moonki
Attached Files
File Type: zip ScalingTest20140909.zip (9.1 KB, 6 views)
__________________

Moon Ki Jung, Ph.D, Application Engineer, AnyBody Technology A/S.

※ AnyScript™ Reference Manual is the bible.
※ AnyScript™ wiki page is the best supplementary information(http://wiki.anyscript.org).
※ When you would upload your models, please write information about your AMS and AMMR versions.
※ If you want to get more intensive support, please update your information(profile, organization and signature).
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:07 AM.