Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
819816c
Bare bones react app with websocket communication to the gui, served …
aymanhab Dec 17, 2024
ac692c7
GUI side support for updated visualizer, particularly meta data for j…
aymanhab Mar 3, 2025
4e1e04a
Use UserData to communicate opensimType to visualizer
aymanhab Mar 14, 2025
65c538c
GUI side of latest viewer wiring
aymanhab Mar 19, 2025
265cc2e
Remove unused command
aymanhab Mar 24, 2025
ecb5701
Add opensim-viewer repo as submodule
aymanhab Apr 28, 2025
7f2a512
Use opensim-viewer instead of threejs folder
aymanhab Apr 29, 2025
54c9ec5
Merge branch 'wire_viewer_to_gui' of https://github.com/opensim-org/o…
aymanhab Apr 29, 2025
a675c94
remove extra nested folder use same CMake min version as core
aymanhab May 1, 2025
6b4964d
Merge branch 'main' into wire_viewer_to_gui
aymanhab May 1, 2025
26eda83
build react app in GUI build script
aymanhab May 1, 2025
b6bcbc3
Add submodule
aymanhab May 1, 2025
fe58fd8
update submodule name
aymanhab May 1, 2025
bf350b0
Update continuous-integration.yml
aymanhab May 1, 2025
a5006ec
fix submodule url
aymanhab May 1, 2025
738e09a
Merge branch 'wire_viewer_to_gui' of https://github.com/opensim-org/o…
aymanhab May 1, 2025
a65484c
Update continuous-integration.yml
aymanhab May 1, 2025
76e5651
move opensim-viewer folder under opensim in distro
aymanhab May 2, 2025
dbec238
Merge branch 'wire_viewer_to_gui' of https://github.com/opensim-org/o…
aymanhab May 2, 2025
f8994b2
Fix path to server root
aymanhab May 2, 2025
e1e00a4
start page url change
aymanhab May 2, 2025
df12507
Update JettyMain.java
aymanhab May 3, 2025
74ecbab
Remove threejs folder/submodule
aymanhab May 5, 2025
2b43674
Revert "Remove threejs folder/submodule"
aymanhab May 5, 2025
fc611e2
use new branch on opensim-visualizer to keep old builds working
aymanhab May 5, 2025
1ba157e
commit opensim-viewer module
aymanhab May 6, 2025
a69837a
Build viewer on mac
aymanhab May 6, 2025
9f3bb9a
Update build script to move assets folder to top level
aymanhab May 6, 2025
a804152
Place assets one level up for easy access
aymanhab May 6, 2025
fd3b6e1
Attempt fix mac build
aymanhab May 6, 2025
e1a287f
Another attempt at copying assets folder rather than contents
aymanhab May 6, 2025
a2fb818
Move serverRootDir
aymanhab May 7, 2025
a9677d9
Remove extra copying of assets and fix linux build
aymanhab May 7, 2025
f58a41e
Update build.xml
aymanhab May 8, 2025
eb866fb
update viewer module
aymanhab May 9, 2025
0fafabc
update module
aymanhab May 15, 2025
846e5e9
Update module
aymanhab May 15, 2025
40e91e8
push viewer module
aymanhab May 16, 2025
346aac8
Merge branch 'wire_viewer_to_gui' into viewer_dev
aymanhab May 16, 2025
15c3235
Update viewer commit for snapshot options
aymanhab May 22, 2025
44eda09
update viewer with snapshot dialog commit
aymanhab Jun 3, 2025
2d12b62
Update viewer commit
aymanhab Jun 10, 2025
4db72a3
update viewer repo
aymanhab Jun 24, 2025
994ad09
Update opensim-viewer to merge in tree-components branch
aymanhab Jul 23, 2025
a8bd6c6
Update viewer module
aymanhab Jul 24, 2025
cd7ba7a
Upgrade module for viewer
aymanhab Aug 7, 2025
96c9927
update viewer module
aymanhab Aug 12, 2025
d3ba5b9
Update bindings
aymanhab Aug 13, 2025
9136014
Remove obsolete Wrap-Obst classes, also remove reference to forwardto…
aymanhab Aug 13, 2025
9e9e1ad
Update viewer module Dolly definition and animation works
aymanhab Aug 14, 2025
e0ac46c
Upgrade opensim-viewer module
aymanhab Aug 18, 2025
8da683f
Update continuous-integration.yml
aymanhab Aug 19, 2025
9fadf34
Update continuous-integration.yml
aymanhab Aug 19, 2025
4de7559
Update viewer module
aymanhab Aug 19, 2025
40e8a05
Merge branch 'wire_viewer_to_gui' of https://github.com/opensim-org/o…
aymanhab Aug 19, 2025
70a848a
Update viewer commit
aymanhab Aug 19, 2025
632eaa9
Upfate viewer repo
aymanhab Aug 25, 2025
e175aba
update viewer
aymanhab Aug 26, 2025
7f5485c
Update viewer
aymanhab Aug 26, 2025
c691d62
Update viewer
aymanhab Aug 26, 2025
f6aadf3
Merge branch 'wire_viewer_to_gui' of https://github.com/opensim-org/o…
aymanhab Aug 26, 2025
a3c0490
update viewer again
aymanhab Aug 27, 2025
49aedd0
update viewer
aymanhab Sep 2, 2025
dc25ba5
Start server early and extend timeout to handle large models
aymanhab Sep 2, 2025
fa20f88
update viewer with fix to camera add in tree
aymanhab Sep 2, 2025
82dbc4d
update viewer module
aymanhab Sep 4, 2025
b1df8b7
Update viewer commit
aymanhab Sep 4, 2025
2f17673
update viewer commit
aymanhab Sep 4, 2025
1ad2c19
send endAnimation message to viewer on pause
aymanhab Sep 5, 2025
7f517e4
Update viewer commit
aymanhab Sep 5, 2025
8a82b24
Uninstall cmake before installing packages
aymanhab Sep 5, 2025
743b47e
Fix build failure on ci due to CMake upgrade to version 4
aymanhab Sep 6, 2025
4f77341
Merge branch 'wire_viewer_to_gui' of https://github.com/opensim-org/o…
aymanhab Sep 6, 2025
9f44ea6
undo cmake version upgrade and add cli alternative
aymanhab Sep 6, 2025
3bc36e7
Free cmake version for Apple
aymanhab Sep 6, 2025
5ae9768
force min version 3.5
aymanhab Sep 6, 2025
c334750
cmake 3.5 to 4
aymanhab Sep 6, 2025
73477a8
Update Icon
aymanhab Sep 6, 2025
6e09c0d
Undo CMake version change
aymanhab Sep 6, 2025
4a4074f
no min cmake version
aymanhab Sep 7, 2025
6c69ae0
Cmake min version 3.5
aymanhab Sep 8, 2025
8ae16b4
Update opensim-models to use latest repo and update cmake min version
aymanhab Sep 8, 2025
b7ff5a0
Update viewer module to latest commit
aymanhab Sep 8, 2025
20f18c9
switch gui to new branch that is in sync with dev so future developme…
aymanhab Sep 11, 2025
198a3b8
Add caching for Netbeans installer on windows in CI workflow (#1558)
aymanhab Sep 11, 2025
90500c6
Update opensim-viewer module
aymanhab Sep 11, 2025
985d92e
Merge branch 'wire_viewer_to_gui' of https://github.com/opensim-org/o…
aymanhab Sep 11, 2025
5355e72
Update ui branding and viewer module
aymanhab Sep 12, 2025
8144b4a
Update ui branding and viewer module
aymanhab Sep 12, 2025
a509d02
Merge branch 'wire_viewer_to_gui' of https://github.com/opensim-org/o…
aymanhab Sep 12, 2025
19ba317
Modify NetBeans installation condition in CI workflow
aymanhab Sep 12, 2025
a15e197
Update viewer commit
aymanhab Sep 15, 2025
de23a67
Merge branch 'wire_viewer_to_gui' of https://github.com/opensim-org/o…
aymanhab Sep 15, 2025
acc1232
shorter timeout and update viewer
aymanhab Sep 15, 2025
14a5c9a
Disable transparency by default
aymanhab Sep 19, 2025
fb41d18
Turn debug on for now
aymanhab Sep 19, 2025
2b3cfcc
Update opensim-viewer commit
aymanhab Sep 19, 2025
5a64644
undo duplicated server initialization
aymanhab Sep 22, 2025
9b96776
Update viewer with dolly fixes
aymanhab Sep 22, 2025
a3a3e3b
upgrade viewer again with skySphere changes
aymanhab Sep 22, 2025
6c3a65b
Merge dolly fixes after review comments
aymanhab Sep 23, 2025
a82ae15
Undo debug messages
aymanhab Sep 24, 2025
55e88a9
Use fps from viewer to regulate frame rate, adjust gui side accordingly
aymanhab Sep 24, 2025
fb1fb4b
Update viewer
aymanhab Sep 24, 2025
7578afa
Enable transparency for bones and contacts nothing else
aymanhab Sep 26, 2025
c212d43
try fix permissions on install for mac
aymanhab Sep 30, 2025
17882e7
Update viewer module
aymanhab Sep 30, 2025
e060310
update viewer
aymanhab Sep 30, 2025
6dca976
Update visualizer module with url parameters
aymanhab Sep 30, 2025
cfa3e59
Use dev branch rather than dev-gui branch
aymanhab Sep 30, 2025
660214e
Update viewer-commit
aymanhab Oct 1, 2025
c14de06
Update commit
aymanhab Oct 1, 2025
c4c5bc8
Update jxbrowser commit
aymanhab Oct 1, 2025
b4f7c14
Separate option to modify opacity so that muscles are not transparent…
aymanhab Oct 9, 2025
50dca4a
Use Scrollpane and embedded panel to handle long list of coordinates,…
aymanhab Oct 9, 2025
7d99126
Update viewer commit
aymanhab Oct 10, 2025
85aacd6
Update macOS runner version in CI workflow
aymanhab Oct 12, 2025
7a0d24c
Downgrade macOS version in CI workflow
aymanhab Oct 12, 2025
5b13e54
Update viewer commit to default to mp4 video format
aymanhab Oct 13, 2025
5bece51
Merge branch 'wire_viewer_to_gui' of https://github.com/opensim-org/o…
aymanhab Oct 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,16 @@ jobs:
with:
distribution: 'temurin'
java-version: 8


- name: Cache Netbeans
id: cache-netbeans
uses: actions/cache@v3
with:
path: .\Apache-NetBeans-12.3-bin-windows-x64.exe
key: netbeans-12.3

- name: Install Netbeans 12.3
# Make sure the NetBeans installer is not corrupted.
#if: steps.cache-netbeans.outputs.cache-hit != 'true'
run: |
(New-Object System.Net.WebClient).DownloadFile("https://archive.apache.org/dist/netbeans/netbeans/12.3/Apache-NetBeans-12.3-bin-windows-x64.exe", "Apache-NetBeans-12.3-bin-windows-x64.exe")
$expectedHash = "0695d87d9c72dcf3738672ba83eb273dda02066fa5eee80896cb6ccf79175840367a13d22ab3cb9838dffaa9a219dd1f73aee0e27c085e5310da2e3bbbc92b2c"
Expand Down Expand Up @@ -150,7 +157,7 @@ jobs:
path: OpenSim-${{ steps.build-gui.outputs.version }}-win64.exe

mac:
name: Mac13
name: Mac

runs-on: macos-13

Expand All @@ -172,7 +179,7 @@ jobs:

- name: Install packages
run: |
brew pin cmake
brew uninstall cmake
brew install cmake pkgconfig autoconf libtool automake wget pcre doxygen llvm
brew reinstall gcc
pip3 install numpy==1.25
Expand Down
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ cmake_policy(SET CMP0048 NEW)

project(OpenSimApp VERSION 4.6)

cmake_minimum_required(VERSION 3.15)

cmake_minimum_required(VERSION 3.5)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
currentVersion=OpenSim 4.5
currentVersion=OpenSim 4.6
SPLASH_HEIGHT=472
SPLASH_WIDTH=380
SplashProgressBarBounds=0,466,380,6
SplashProgressBarColor=0xD1E27F
SplashRunningTextBounds=8,455,163,8
SplashRunningTextColor=0xFFFFFF
SplashRunningTextFontSize=15
LBL_splash_window_title=Starting OpenSim 4.5
LBL_splash_window_title=Starting OpenSim 4.6
SplashShowProgressBar=true
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
CTL_MainWindow_Title=OpenSim 4.5
CTL_MainWindow_Title_No_Project=OpenSim 4.5
CTL_MainWindow_Title=OpenSim 4.6
CTL_MainWindow_Title_No_Project=OpenSim 4.6

1 change: 1 addition & 0 deletions Gui/opensim/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@
<!-- Following chmods are needed so that the application is recognized as such by osx and shows in launchpad, these match local/dev environment -->
<chmod file="${mac.dist.inner.dir}/etc/OpenSim.conf" perm="744"/>
<chmod file="dist/OpenSim.app/Contents/Info.plist" perm="644"/>
<chmod file="dist/OpenSim.app/Contents/Resources/opensim/opensim-viewer" perm="777"/>

<copy todir="dist/OpenSim.app/Contents/Resources/"
file="installer_files/OSX/OpenSimDocument.icns" />
Expand Down
8 changes: 4 additions & 4 deletions Gui/opensim/coordinateViewer/nbproject/genfiles.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
build.xml.data.CRC32=76249938
build.xml.data.CRC32=a1fef0d5
build.xml.script.CRC32=bee0e0f9
build.xml.stylesheet.CRC32=[email protected]
build.xml.stylesheet.CRC32=[email protected]
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=76249938
nbproject/build-impl.xml.data.CRC32=a1fef0d5
nbproject/build-impl.xml.script.CRC32=b2dad851
nbproject/build-impl.xml.stylesheet.CRC32=[email protected]
nbproject/build-impl.xml.stylesheet.CRC32=[email protected]
8 changes: 4 additions & 4 deletions Gui/opensim/helpUtils/nbproject/genfiles.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
build.xml.data.CRC32=f3513f57
build.xml.data.CRC32=bfe3d449
build.xml.script.CRC32=dcc24d0e
build.xml.stylesheet.CRC32=[email protected]
build.xml.stylesheet.CRC32=[email protected]
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=f3513f57
nbproject/build-impl.xml.data.CRC32=bfe3d449
nbproject/build-impl.xml.script.CRC32=efc6910f
nbproject/build-impl.xml.stylesheet.CRC32=[email protected]
nbproject/build-impl.xml.stylesheet.CRC32=[email protected]
4 changes: 2 additions & 2 deletions Gui/opensim/jcommon/nbproject/genfiles.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
build.xml.data.CRC32=4bc5b5f7
build.xml.script.CRC32=6eba97c2
build.xml.stylesheet.CRC32=[email protected]
build.xml.stylesheet.CRC32=[email protected]
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=4bc5b5f7
nbproject/build-impl.xml.script.CRC32=28dc506e
nbproject/build-impl.xml.stylesheet.CRC32=[email protected]
nbproject/build-impl.xml.stylesheet.CRC32=[email protected]
4 changes: 2 additions & 2 deletions Gui/opensim/jfreechart/nbproject/genfiles.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
build.xml.data.CRC32=3e774552
build.xml.script.CRC32=92f4ebaf
build.xml.stylesheet.CRC32=[email protected]
build.xml.stylesheet.CRC32=[email protected]
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=3e774552
nbproject/build-impl.xml.script.CRC32=55ab7b37
nbproject/build-impl.xml.stylesheet.CRC32=[email protected]
nbproject/build-impl.xml.stylesheet.CRC32=[email protected]
4 changes: 2 additions & 2 deletions Gui/opensim/modeling/nbproject/genfiles.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
build.xml.data.CRC32=bc5a83bd
build.xml.script.CRC32=e1f11c18
build.xml.stylesheet.CRC32=[email protected]
build.xml.stylesheet.CRC32=[email protected]
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=bc5a83bd
nbproject/build-impl.xml.script.CRC32=da890f68
nbproject/build-impl.xml.stylesheet.CRC32=[email protected]
nbproject/build-impl.xml.stylesheet.CRC32=[email protected]
18 changes: 2 additions & 16 deletions Gui/opensim/modeling/nbproject/private/private.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,8 @@
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
<group>
<file>file:/E:/src/opensim-gui/Gui/opensim/modeling/src/org/opensim/modeling/C3DFileAdapter.java</file>
<file>file:/E:/src/opensim-gui/Gui/opensim/modeling/src/org/opensim/modeling/SetBodies.java</file>
<file>file:/E:/src/opensim-gui/Gui/opensim/modeling/src/org/opensim/modeling/BodyList.java</file>
<file>file:/E:/src/opensim-gui/Gui/opensim/modeling/src/org/opensim/modeling/opensimSimulationJNI.java</file>
<file>file:/E:/src/opensim-gui/Gui/opensim/modeling/src/org/opensim/modeling/SetModelComponents.java</file>
<file>file:/E:/src/opensim-gui/Gui/opensim/modeling/src/org/opensim/modeling/MarkersReference.java</file>
<file>file:/E:/src/opensim-gui/Gui/opensim/modeling/src/org/opensim/modeling/BodySet.java</file>
<file>file:/E:/src/opensim-gui/Gui/opensim/modeling/src/org/opensim/modeling/OpenSimObject.java</file>
<file>file:/E:/src/opensim-gui/Gui/opensim/modeling/src/org/opensim/modeling/ModelComponentSetModelComponent.java</file>
<file>file:/E:/src/opensim-gui/Gui/opensim/modeling/src/org/opensim/modeling/opensimSimbodyJNI.java</file>
<file>file:/E:/src/opensim-gui/Gui/opensim/modeling/src/org/opensim/modeling/opensimExampleComponentsJNI.java</file>
<file>file:/E:/src/opensim-gui/Gui/opensim/modeling/src/org/opensim/modeling/ModelComponentSetBodies.java</file>
<file>file:/E:/src/opensim-gui/Gui/opensim/modeling/src/org/opensim/modeling/ComponentSet.java</file>
<file>file:/E:/src/opensim-gui/Gui/opensim/modeling/src/org/opensim/modeling/MarkerSet.java</file>
<file>file:/E:/src/opensim-gui/Gui/opensim/modeling/src/org/opensim/modeling/opensimCommonJNI.java</file>
<file>file:/E:/src/opensim-gui/Gui/opensim/modeling/src/org/opensim/modeling/opensimActuatorsAnalysesToolsJNI.java</file>
<file>file:/D:/dev/src/opensim-gui/Gui/opensim/modeling/src/org/opensim/modeling/Manager.java</file>
<file>file:/D:/dev/src/opensim-gui/Gui/opensim/modeling/src/org/opensim/modeling/ForwardTool.java</file>
</group>
</open-files>
</project-private>
55 changes: 55 additions & 0 deletions Gui/opensim/modeling/src/org/opensim/modeling/BoolLike.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (https://www.swig.org).
* Version 4.2.0
*
* Do not make changes to this file unless you know what you are doing - modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */

package org.opensim.modeling;

public class BoolLike {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;

public BoolLike(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}

public static long getCPtr(BoolLike obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}

public static long swigRelease(BoolLike obj) {
long ptr = 0;
if (obj != null) {
if (!obj.swigCMemOwn)
throw new RuntimeException("Cannot release ownership as memory is not owned");
ptr = obj.swigCPtr;
obj.swigCMemOwn = false;
obj.delete();
}
return ptr;
}

@SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}

public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
opensimCommonJNI.delete_BoolLike(swigCPtr);
}
swigCPtr = 0;
}
}

public BoolLike(boolean value_) {
this(opensimCommonJNI.new_BoolLike(value_), true);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,6 @@ public void setStatesFileName(String aFileName) {
opensimActuatorsAnalysesToolsJNI.ForwardTool_setStatesFileName(swigCPtr, this, aFileName);
}

public boolean getUseSpecifiedDt() {
return opensimActuatorsAnalysesToolsJNI.ForwardTool_getUseSpecifiedDt(swigCPtr, this);
}

public void setUseSpecifiedDt(boolean aUseSpecifiedDt) {
opensimActuatorsAnalysesToolsJNI.ForwardTool_setUseSpecifiedDt(swigCPtr, this, aUseSpecifiedDt);
}

public void setPrintResultFiles(boolean aToWrite) {
opensimActuatorsAnalysesToolsJNI.ForwardTool_setPrintResultFiles(swigCPtr, this, aToWrite);
}
Expand Down
Loading
Loading