Skip to content

Commit 4d9fe67

Browse files
divyaksh-chandermelund
authored andcommitted
Fix and update Lesson3 of AnyExp4SOLIDWORKS tutorial (#112)
* Update initial position of mannequin in fitness machine tutorial * Update fitness machine lesson 3 for AMS 7.4 * Remove build step for new theme
1 parent 1e1d2b7 commit 4d9fe67

11 files changed

Lines changed: 330 additions & 302 deletions

File tree

.github/workflows/build.yaml

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -89,39 +89,3 @@ jobs:
8989
destination_dir: dev
9090

9191

92-
sphinx-build-new-theme:
93-
runs-on: ubuntu-latest
94-
needs: [build-official-version]
95-
steps:
96-
- uses: actions/checkout@v3
97-
with:
98-
fetch-depth: 0
99-
100-
- name: Checkout new theme branch
101-
run: |
102-
git checkout newtheme
103-
104-
- name: Setup conda
105-
uses: conda-incubator/setup-miniconda@v2
106-
with:
107-
activate-environment: sphinx
108-
environment-file: environment.yaml
109-
channels: conda-forge
110-
111-
- uses: ammaraskar/sphinx-problem-matcher@master
112-
# if: github.ref != 'refs/heads/master'
113-
114-
- name: Build Documentation
115-
shell: bash -l {0}
116-
run: |
117-
make html-dev O="-W"
118-
119-
- name: Deploy 🚀
120-
uses: peaceiris/actions-gh-pages@v3
121-
with:
122-
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
123-
external_repository: AnyBody/tutorials
124-
publish_branch: gh-pages
125-
publish_dir: _build/html
126-
destination_dir: new
127-

AnyExp4SOLIDWORKS/Downloads/CoM_View.any

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ AnyFolder Human_CoM =
99
{
1010
Mass = 0;
1111
Jii = {0, 0, 0};
12-
r0 = ..HumanModel.BodyModel.Trunk.SegmentsLumbar.PelvisSeg.r0;
13-
Axes0 = ..HumanModel.BodyModel.Trunk.SegmentsLumbar.PelvisSeg.Axes0;
12+
r0 = ..BodyModel.Trunk.SegmentsLumbar.PelvisSeg.r0;
13+
Axes0 = ..BodyModel.Trunk.SegmentsLumbar.PelvisSeg.Axes0;
1414
AnyDrawNode drw =
1515
{
1616
ScaleXYZ={1,1,1}*0.02;
-18.2 KB
Binary file not shown.

AnyExp4SOLIDWORKS/Downloads/JointsAndDrivers.any

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
AnyFolder Drivers =
22
{
33
// Aliases for convenient referencing
4-
AnyFolder &RefHM = Main.Model.HumanModel;
4+
AnyFolder &RefHM = Main.Model.BodyModel;
55

66
AnyFolder &JntPos= Main.HumanModel.Mannequin.Posture;
77
AnyFolder &JntVel= Main.HumanModel.Mannequin.PostureVel;
@@ -60,19 +60,19 @@ AnyFolder Drivers =
6060
Reaction.Type={Off};
6161
};
6262

63-
AnyCylindricalJoint Pelsvis_Driver =
63+
// ************************************
64+
// Drivers for the trunk
65+
// ************************************
66+
67+
AnyCylindricalJoint Pelvis_Driver =
6468
{
6569
AnyRefFrame &Base = Main.Model.FitnessMachine._ANY_INTERFACE_.ANY_PELVIS;
6670
AnyRefFrame &Target = Main.Model.Human_RefNodes.Pelvis_Node;
6771
Axis = y;
6872
Ref = 0;
6973
Constraints.Reaction.Type = {Off, Off, Off, Off};
7074
};
71-
72-
// ************************************
73-
// Drivers for the trunk
74-
// ************************************
75-
75+
7676
//Thorax pelvis rotation driver
7777
AnyKinEqSimpleDriver PelvisThorax_Driver =
7878
{

0 commit comments

Comments
 (0)