Skip to content

Commit

Permalink
Define statement for removing via nodes on L3 and L4 in erector spinae
Browse files Browse the repository at this point in the history
#define REMOVE_ERECTORSPINAE_L3VIA
#define REMOVE_ERECTORSPINAE_L4VIA
  • Loading branch information
hs committed Sep 23, 2024
1 parent cd8774b commit f5fa492
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 7 deletions.
38 changes: 33 additions & 5 deletions Body/AAUHuman/Trunk/MusclesLeft.any
Original file line number Diff line number Diff line change
Expand Up @@ -386,17 +386,25 @@ AnyFolder ErectorSpinae = {
AnyMuscleModel &MusMdl = ....MuscleModels.Left.ErectorSpinae.ILplL1CI;
AnyRefNode &Org = ....Segments.L1Seg.ILplL1CINodeL;
AnyRefNode &Via1 = ....Segments.L2Seg.ILplL1CIViaNodeL;
#ifndef REMOVE_ERECTORSPINAE_L3VIA
AnyRefNode &Via2 = ....Segments.L3Seg.ILplL1CIViaNodeL;
// AnyRefNode &Via3 = ....Segments.L4Seg.ILplL1CIViaNodeL;
#endif
#ifndef REMOVE_ERECTORSPINAE_L4VIA
AnyRefNode &Via3 = ....Segments.L4Seg.ILplL1CIViaNodeL;
#endif
AnyRefNode &Ins = ....Segments.PelvisSeg.ILplL1CINodeL;
viewMuscle = {#include "../DrawSettings/MusDrawSettings.any"};
viewForce.Visible ??= Off;
};
AnyMuscleViaPoint ILplL2CI = {
AnyMuscleModel &MusMdl = ....MuscleModels.Left.ErectorSpinae.ILplL2CI;
AnyRefNode &Org = ....Segments.L2Seg.ILplL2CINodeL;
#ifndef REMOVE_ERECTORSPINAE_L3VIA
AnyRefNode &Via1 = ....Segments.L3Seg.ILplL2CIViaNodeL;
// AnyRefNode &Via2 = ....Segments.L4Seg.ILplL2CIViaNodeL;
#endif
#ifndef REMOVE_ERECTORSPINAE_L4VIA
AnyRefNode &Via2 = ....Segments.L4Seg.ILplL2CIViaNodeL;
#endif
AnyRefNode &Ins = ....Segments.PelvisSeg.ILplL2CINodeL;
viewMuscle = {#include "../DrawSettings/MusDrawSettings.any"};
viewForce.Visible ??= Off;
Expand All @@ -419,15 +427,19 @@ AnyFolder ErectorSpinae = {
AnyMuscleModel &MusMdl = ....MuscleModels.Left.ErectorSpinae.LTplL1SIPS;
AnyRefNode &Org = ....Segments.L1Seg.LTplL1SIPSNodeL;
AnyRefNode &Via1 = ....Segments.L2Seg.LTplL1SIPSViaNodeL;
#ifndef REMOVE_ERECTORSPINAE_L3VIA
AnyRefNode &Via2 = ....Segments.L3Seg.LTplL1SIPSViaNodeL;
#endif
AnyRefNode &Ins = ....Segments.PelvisSeg.LTplL1SIPSNodeL;
viewMuscle = {#include "../DrawSettings/MusDrawSettings.any"};
viewForce.Visible ??= Off;
};
AnyMuscleViaPoint LTplL2SIPS = {
AnyMuscleModel &MusMdl = ....MuscleModels.Left.ErectorSpinae.LTplL2SIPS;
AnyRefNode &Org = ....Segments.L2Seg.LTplL2SIPSNodeL;
#ifndef REMOVE_ERECTORSPINAE_L3VIA
AnyRefNode &Via1 = ....Segments.L3Seg.LTplL2SIPSViaNodeL;
#endif
AnyRefNode &Ins = ....Segments.PelvisSeg.LTplL2SIPSNodeL;
viewMuscle = {#include "../DrawSettings/MusDrawSettings.any"};
viewForce.Visible ??= Off;
Expand Down Expand Up @@ -464,7 +476,9 @@ AnyFolder ErectorSpinae = {
AnyRefNode &Via6 = ....Segments.Left.R12Seg.ILptC5SIPSVia6NodeL;
AnyRefNode &Via7 = ....Segments.L1Seg.ILptC5SIPSVia7NodeL;
AnyRefNode &Via8 = ....Segments.L2Seg.ILptC5SIPSVia8NodeL;
#ifndef REMOVE_ERECTORSPINAE_L3VIA
AnyRefNode &Via9 = ....Segments.L3Seg.ILptC5SIPSVia9NodeL;
#endif
AnyRefNode &Ins = ....Segments.PelvisSeg.ILptC5SIPSNodeL;
viewMuscle = {#include "../DrawSettings/MusDrawSettings.any"};
viewForce.Visible ??= Off;
Expand All @@ -479,7 +493,9 @@ AnyFolder ErectorSpinae = {
AnyRefNode &Via5 = ....Segments.Left.R12Seg.ILptC6SIPSVia5NodeL;
AnyRefNode &Via6 = ....Segments.L1Seg.ILptC6SIPSVia6NodeL;
AnyRefNode &Via7 = ....Segments.L2Seg.ILptC6SIPSVia7NodeL;
#ifndef REMOVE_ERECTORSPINAE_L3VIA
AnyRefNode &Via8 = ....Segments.L3Seg.ILptC6SIPSVia8NodeL;
#endif
AnyRefNode &Ins = ....Segments.PelvisSeg.ILptC6SIPSNodeL;
viewMuscle = {#include "../DrawSettings/MusDrawSettings.any"};
viewForce.Visible ??= Off;
Expand All @@ -493,7 +509,9 @@ AnyFolder ErectorSpinae = {
AnyRefNode &Via4 = ....Segments.Left.R12Seg.ILptC7CIVia4NodeL;
AnyRefNode &Via5 = ....Segments.L1Seg.ILptC7CIVia5NodeL;
AnyRefNode &Via6 = ....Segments.L2Seg.ILptC7CIVia6NodeL;
AnyRefNode &Via7 = ....Segments.L3Seg.ILptC7CIVia7NodeL;
#ifndef REMOVE_ERECTORSPINAE_L3VIA
AnyRefNode &Via7 = ....Segments.L3Seg.ILptC7CIVia7NodeL;
#endif
AnyRefNode &Ins = ....Segments.PelvisSeg.ILptC7CINodeL;
viewMuscle = {#include "../DrawSettings/MusDrawSettings.any"};
viewForce.Visible ??= Off;
Expand All @@ -506,7 +524,9 @@ AnyFolder ErectorSpinae = {
AnyRefNode &Via3 = ....Segments.Left.R12Seg.ILptC8CIVia3NodeL;
AnyRefNode &Via4 = ....Segments.L1Seg.ILptC8CIVia4NodeL;
AnyRefNode &Via5 = ....Segments.L2Seg.ILptC8CIVia5NodeL;
AnyRefNode &Via6 = ....Segments.L3Seg.ILptC8CIVia6NodeL;
#ifndef REMOVE_ERECTORSPINAE_L3VIA
AnyRefNode &Via6 = ....Segments.L3Seg.ILptC8CIVia6NodeL;
#endif
AnyRefNode &Ins = ....Segments.PelvisSeg.ILptC8CINodeL;
viewMuscle = {#include "../DrawSettings/MusDrawSettings.any"};
viewForce.Visible ??= Off;
Expand All @@ -518,7 +538,9 @@ AnyFolder ErectorSpinae = {
AnyRefNode &Via2 = ....Segments.Left.R12Seg.ILptC9CIVia2NodeL;
AnyRefNode &Via3 = ....Segments.L1Seg.ILptC9CIVia3NodeL;
AnyRefNode &Via4 = ....Segments.L2Seg.ILptC9CIVia4NodeL;
#ifndef REMOVE_ERECTORSPINAE_L3VIA
AnyRefNode &Via5 = ....Segments.L3Seg.ILptC9CIVia5NodeL;
#endif
AnyRefNode &Ins = ....Segments.PelvisSeg.ILptC9CINodeL;
viewMuscle = {#include "../DrawSettings/MusDrawSettings.any"};
viewForce.Visible ??= Off;
Expand All @@ -529,7 +551,9 @@ AnyFolder ErectorSpinae = {
AnyRefNode &Via1 = ....Segments.Left.R12Seg.ILptC10CIVia1NodeL;
AnyRefNode &Via2 = ....Segments.L1Seg.ILptC10CIVia2NodeL;
AnyRefNode &Via3 = ....Segments.L2Seg.ILptC10CIVia3NodeL;
AnyRefNode &Via4 = ....Segments.L3Seg.ILptC10CIVia4NodeL;
#ifndef REMOVE_ERECTORSPINAE_L3VIA
AnyRefNode &Via4 = ....Segments.L3Seg.ILptC10CIVia4NodeL;
#endif
AnyRefNode &Ins = ....Segments.PelvisSeg.ILptC10CINodeL;
viewMuscle = {#include "../DrawSettings/MusDrawSettings.any"};
viewForce.Visible ??= Off;
Expand All @@ -539,7 +563,9 @@ AnyFolder ErectorSpinae = {
AnyRefNode &Org = ....Segments.Left.R11Seg.ILptC11CINodeL;
AnyRefNode &Via1 = ....Segments.L1Seg.ILptC11CIVia1NodeL;
AnyRefNode &Via2 = ....Segments.L2Seg.ILptC11CIVia2NodeL;
#ifndef REMOVE_ERECTORSPINAE_L3VIA
AnyRefNode &Via3 = ....Segments.L3Seg.ILptC11CIVia3NodeL;
#endif
AnyRefNode &Ins = ....Segments.PelvisSeg.ILptC11CINodeL;
viewMuscle = {#include "../DrawSettings/MusDrawSettings.any"};
viewForce.Visible ??= Off;
Expand All @@ -549,7 +575,9 @@ AnyFolder ErectorSpinae = {
AnyRefNode &Org = ....Segments.Left.R12Seg.ILptC12CINodeL;
AnyRefNode &Via1 = ....Segments.L1Seg.ILptC12CIVia1NodeL;
AnyRefNode &Via2 = ....Segments.L2Seg.ILptC12CIVia2NodeL;
#ifndef REMOVE_ERECTORSPINAE_L3VIA
AnyRefNode &Via3 = ....Segments.L3Seg.ILptC12CIVia3NodeL;
#endif
AnyRefNode &Ins = ....Segments.PelvisSeg.ILptC12CINodeL;
viewMuscle = {#include "../DrawSettings/MusDrawSettings.any"};
viewForce.Visible ??= Off;
Expand Down
32 changes: 30 additions & 2 deletions Body/AAUHuman/Trunk/MusclesRight.any
Original file line number Diff line number Diff line change
Expand Up @@ -394,17 +394,25 @@ AnyFolder ErectorSpinae = {
AnyMuscleModel &MusMdl = ....MuscleModels.Right.ErectorSpinae.ILplL1CI;
AnyRefNode &Org = ....Segments.L1Seg.ILplL1CINodeR;
AnyRefNode &Via1 = ....Segments.L2Seg.ILplL1CIViaNodeR;
#ifndef REMOVE_ERECTORSPINAE_L3VIA
AnyRefNode &Via2 = ....Segments.L3Seg.ILplL1CIViaNodeR;
// AnyRefNode &Via3 = ....Segments.L4Seg.ILplL1CIViaNodeR;
#endif
#ifndef REMOVE_ERECTORSPINAE_L4VIA
AnyRefNode &Via3 = ....Segments.L4Seg.ILplL1CIViaNodeR;
#endif
AnyRefNode &Ins = ....Segments.PelvisSeg.ILplL1CINodeR;
viewMuscle = {#include "../DrawSettings/MusDrawSettings.any"};
viewForce.Visible ??= Off;
};
AnyMuscleViaPoint ILplL2CI = {
AnyMuscleModel &MusMdl = ....MuscleModels.Right.ErectorSpinae.ILplL2CI;
AnyRefNode &Org = ....Segments.L2Seg.ILplL2CINodeR;
#ifndef REMOVE_ERECTORSPINAE_L3VIA
AnyRefNode &Via1 = ....Segments.L3Seg.ILplL2CIViaNodeR;
// AnyRefNode &Via2 = ....Segments.L4Seg.ILplL2CIViaNodeR;
#endif
#ifndef REMOVE_ERECTORSPINAE_L4VIA
AnyRefNode &Via2 = ....Segments.L4Seg.ILplL2CIViaNodeR;
#endif
AnyRefNode &Ins = ....Segments.PelvisSeg.ILplL2CINodeR;
viewMuscle = {#include "../DrawSettings/MusDrawSettings.any"};
viewForce.Visible ??= Off;
Expand All @@ -427,15 +435,19 @@ AnyFolder ErectorSpinae = {
AnyMuscleModel &MusMdl = ....MuscleModels.Right.ErectorSpinae.LTplL1SIPS;
AnyRefNode &Org = ....Segments.L1Seg.LTplL1SIPSNodeR;
AnyRefNode &Via1 = ....Segments.L2Seg.LTplL1SIPSViaNodeR;
#ifndef REMOVE_ERECTORSPINAE_L3VIA
AnyRefNode &Via2 = ....Segments.L3Seg.LTplL1SIPSViaNodeR;
#endif
AnyRefNode &Ins = ....Segments.PelvisSeg.LTplL1SIPSNodeR;
viewMuscle = {#include "../DrawSettings/MusDrawSettings.any"};
viewForce.Visible ??= Off;
};
AnyMuscleViaPoint LTplL2SIPS = {
AnyMuscleModel &MusMdl = ....MuscleModels.Right.ErectorSpinae.LTplL2SIPS;
AnyRefNode &Org = ....Segments.L2Seg.LTplL2SIPSNodeR;
#ifndef REMOVE_ERECTORSPINAE_L3VIA
AnyRefNode &Via1 = ....Segments.L3Seg.LTplL2SIPSViaNodeR;
#endif
AnyRefNode &Ins = ....Segments.PelvisSeg.LTplL2SIPSNodeR;
viewMuscle = {#include "../DrawSettings/MusDrawSettings.any"};
viewForce.Visible ??= Off;
Expand Down Expand Up @@ -472,7 +484,9 @@ AnyFolder ErectorSpinae = {
AnyRefNode &Via6 = ....Segments.Right.R12Seg.ILptC5SIPSVia6NodeR;
AnyRefNode &Via7 = ....Segments.L1Seg.ILptC5SIPSVia7NodeR;
AnyRefNode &Via8 = ....Segments.L2Seg.ILptC5SIPSVia8NodeR;
#ifndef REMOVE_ERECTORSPINAE_L3VIA
AnyRefNode &Via9 = ....Segments.L3Seg.ILptC5SIPSVia9NodeR;
#endif
AnyRefNode &Ins = ....Segments.PelvisSeg.ILptC5SIPSNodeR;
viewMuscle = {#include "../DrawSettings/MusDrawSettings.any"};
viewForce.Visible ??= Off;
Expand All @@ -487,7 +501,9 @@ AnyFolder ErectorSpinae = {
AnyRefNode &Via5 = ....Segments.Right.R12Seg.ILptC6SIPSVia5NodeR;
AnyRefNode &Via6 = ....Segments.L1Seg.ILptC6SIPSVia6NodeR;
AnyRefNode &Via7 = ....Segments.L2Seg.ILptC6SIPSVia7NodeR;
#ifndef REMOVE_ERECTORSPINAE_L3VIA
AnyRefNode &Via8 = ....Segments.L3Seg.ILptC6SIPSVia8NodeR;
#endif
AnyRefNode &Ins = ....Segments.PelvisSeg.ILptC6SIPSNodeR;
viewMuscle = {#include "../DrawSettings/MusDrawSettings.any"};
viewForce.Visible ??= Off;
Expand All @@ -501,7 +517,9 @@ AnyFolder ErectorSpinae = {
AnyRefNode &Via4 = ....Segments.Right.R12Seg.ILptC7CIVia4NodeR;
AnyRefNode &Via5 = ....Segments.L1Seg.ILptC7CIVia5NodeR;
AnyRefNode &Via6 = ....Segments.L2Seg.ILptC7CIVia6NodeR;
#ifndef REMOVE_ERECTORSPINAE_L3VIA
AnyRefNode &Via7 = ....Segments.L3Seg.ILptC7CIVia7NodeR;
#endif
AnyRefNode &Ins = ....Segments.PelvisSeg.ILptC7CINodeR;
viewMuscle = {#include "../DrawSettings/MusDrawSettings.any"};
viewForce.Visible ??= Off;
Expand All @@ -514,7 +532,9 @@ AnyFolder ErectorSpinae = {
AnyRefNode &Via3 = ....Segments.Right.R12Seg.ILptC8CIVia3NodeR;
AnyRefNode &Via4 = ....Segments.L1Seg.ILptC8CIVia4NodeR;
AnyRefNode &Via5 = ....Segments.L2Seg.ILptC8CIVia5NodeR;
#ifndef REMOVE_ERECTORSPINAE_L3VIA
AnyRefNode &Via6 = ....Segments.L3Seg.ILptC8CIVia6NodeR;
#endif
AnyRefNode &Ins = ....Segments.PelvisSeg.ILptC8CINodeR;
viewMuscle = {#include "../DrawSettings/MusDrawSettings.any"};
viewForce.Visible ??= Off;
Expand All @@ -526,7 +546,9 @@ AnyFolder ErectorSpinae = {
AnyRefNode &Via2 = ....Segments.Right.R12Seg.ILptC9CIVia2NodeR;
AnyRefNode &Via3 = ....Segments.L1Seg.ILptC9CIVia3NodeR;
AnyRefNode &Via4 = ....Segments.L2Seg.ILptC9CIVia4NodeR;
#ifndef REMOVE_ERECTORSPINAE_L3VIA
AnyRefNode &Via5 = ....Segments.L3Seg.ILptC9CIVia5NodeR;
#endif
AnyRefNode &Ins = ....Segments.PelvisSeg.ILptC9CINodeR;
viewMuscle = {#include "../DrawSettings/MusDrawSettings.any"};
viewForce.Visible ??= Off;
Expand All @@ -537,7 +559,9 @@ AnyFolder ErectorSpinae = {
AnyRefNode &Via1 = ....Segments.Right.R12Seg.ILptC10CIVia1NodeR;
AnyRefNode &Via2 = ....Segments.L1Seg.ILptC10CIVia2NodeR;
AnyRefNode &Via3 = ....Segments.L2Seg.ILptC10CIVia3NodeR;
#ifndef REMOVE_ERECTORSPINAE_L3VIA
AnyRefNode &Via4 = ....Segments.L3Seg.ILptC10CIVia4NodeR;
#endif
AnyRefNode &Ins = ....Segments.PelvisSeg.ILptC10CINodeR;
viewMuscle = {#include "../DrawSettings/MusDrawSettings.any"};
viewForce.Visible ??= Off;
Expand All @@ -547,7 +571,9 @@ AnyFolder ErectorSpinae = {
AnyRefNode &Org = ....Segments.Right.R11Seg.ILptC11CINodeR;
AnyRefNode &Via1 = ....Segments.L1Seg.ILptC11CIVia1NodeR;
AnyRefNode &Via2 = ....Segments.L2Seg.ILptC11CIVia2NodeR;
#ifndef REMOVE_ERECTORSPINAE_L3VIA
AnyRefNode &Via3 = ....Segments.L3Seg.ILptC11CIVia3NodeR;
#endif
AnyRefNode &Ins = ....Segments.PelvisSeg.ILptC11CINodeR;
viewMuscle = {#include "../DrawSettings/MusDrawSettings.any"};
viewForce.Visible ??= Off;
Expand All @@ -557,7 +583,9 @@ AnyFolder ErectorSpinae = {
AnyRefNode &Org = ....Segments.Right.R12Seg.ILptC12CINodeR;
AnyRefNode &Via1 = ....Segments.L1Seg.ILptC12CIVia1NodeR;
AnyRefNode &Via2 = ....Segments.L2Seg.ILptC12CIVia2NodeR;
#ifndef REMOVE_ERECTORSPINAE_L3VIA
AnyRefNode &Via3 = ....Segments.L3Seg.ILptC12CIVia3NodeR;
#endif
AnyRefNode &Ins = ....Segments.PelvisSeg.ILptC12CINodeR;
viewMuscle = {#include "../DrawSettings/MusDrawSettings.any"};
viewForce.Visible ??= Off;
Expand Down

0 comments on commit f5fa492

Please sign in to comment.