본문 바로가기
근골격동역학/ANDYBODY공부

[에니바디] 근력을 바꾸는 법

by bigpicture 2022. 9. 14.
반응형

에니바디는 아래와 같이 근력을 계산한다. 

 AnyFolder StrengthScaling = {    
    AnyVar Rother = 0.5;          // Mass fraction in the body of organs, blood, skeleton, etc.
    AnyVar Rfat = ..Anthropometrics.FatPercent/100; // Fat ration in the entire body
    AnyVar Rfat0 = .StandardParameters.BodyParameters.FatPercent/100;
    AnyFolder Pelvis = { AnyVar StrengthScale = (..MassScaling.Pelvis.MassScale / ..GeometricalScaling.Pelvis.LengthScale) * ((1-.Rother-.Rfat)/(1-.Rother-.Rfat0)); };
    AnyFolder Spine = { AnyVar StrengthScale = (..MassScaling.Trunk.MassScale / ..GeometricalScaling.Trunk.LengthScale ) * ((1-.Rother-.Rfat)/(1-.Rother-.Rfat0)); };
    
    AnyFolder Right =
    { 
      AnyFolder Humerus = { AnyVar StrengthScale = (...MassScaling.Right.Humerus.MassScale / ...GeometricalScaling.Right.Humerus.LengthScale            ) * ((1-..Rother-..Rfat)/(1-..Rother-..Rfat0)); };
      AnyFolder Ulna    = { AnyVar StrengthScale = (...MassScaling.Right.Ulna.MassScale    / ...GeometricalScaling.Right.Ulna.LengthScale               ) * ((1-..Rother-..Rfat)/(1-..Rother-..Rfat0)); };
      AnyFolder Hand    = { AnyVar StrengthScale = (...MassScaling.Right.Hand.MassScale    / ...GeometricalScaling.Right.Hand.ScaleFunction.LengthScale ) * ((1-..Rother-..Rfat)/(1-..Rother-..Rfat0)); };



Rfat 은 지방비율이다. 근육력을 지방비율과 연동시켜 놓았다. 

지방지율을 줄이면, 근력을 늘릴 수 있다는 것이다. 

지방비율은 아래 경로에서 정의한다. 

 

 

실제로 가보면 없다. 템플릿으로 정의해놓았다. 

 

 

템플릿 위치를 찾는 방법은 아래와 같다. 

 

[main 파일]-[#include "../libdef.any"] -[#include "<ANYBODY_PATH_BODY>/HumanModel.defs.any"]-[#include "BodyModels/GenericBodyModel/AnyMan.ClassTemplates.any"]

 

아래와 같이 입력되어 있다. 

 

 

이 template 을 불러와 사용하는 것이고 아래와 같이 수정한다. 

 

 

여기에 FatPercent 를 추가해주면 된다. 현재 값은 트리를 더블클릭하면 알 수 있다. 

 

 

 

반응형

댓글