Search found 9 matches
- Fri Oct 11, 2024 3:03 am
- Forum: OpenSim
- Topic: vtp surface files
- Replies: 2
- Views: 569
vtp surface files
Hi, I am creating personalised models. Since the last OpenSim edition (4.5) I cannot load surfaces for bodies that are not in a fixed vtp format. I receive the following errors: "Visualizer couldn't open r_fibula.vtp because: SimTK Exception thrown at PolygonalMesh.cpp:411: .. SimTK Exception thrown...
- Fri Aug 30, 2024 6:53 am
- Forum: OpenSim
- Topic: OpenSim 4.5.1 - error when running consecutive Analyze
- Replies: 3
- Views: 1438
Re: OpenSim 4.5.1 - error when running consecutive Analyze
Hello Ayman -- I do not seem to have the permission to open an issue. How do I get it? Meanwhile, I tried running MocoInverse. It which crashes with Disposing session as kernel process died ExitCode: 3221225477, Reason: Warning: intermediate_callback is disfunctional in your installation. You will o...
- Tue Aug 27, 2024 11:03 am
- Forum: OpenSim
- Topic: OpenSim 4.5.1 - error when running consecutive Analyze
- Replies: 3
- Views: 1438
OpenSim 4.5.1 - error when running consecutive Analyze
Hello, I am using OpenSim with Python. Previousely, I was able to run several Static Optimization analyses using the Analyze tool consecutively. It is no longer possible in the new OpenSim 4.5 Python package. When moving on to the next trial, the Kernel crashes with the following error: "SWIG direct...
- Sun Dec 10, 2023 12:53 am
- Forum: OpenSim
- Topic: MocoCasADiSolver is not available in python
- Replies: 5
- Views: 630
Re: MocoCasADiSolver is not available in python
Thank you -- this version required python 3.9, not 3.8 -- Once the correct environment was created, the installation was painless. Thanks again for your help.
- Sat Nov 25, 2023 6:14 am
- Forum: OpenSim
- Topic: MocoCasADiSolver is not available in python
- Replies: 5
- Views: 630
MocoCasADiSolver is not available in python
I have just made a new installation of OpenSim 4.4 in Python 3.8 numpy 1.20 environment. On trying to run Moco I get an error: "std::exception in 'OpenSim::MocoSolution OpenSim::MocoStudy::solve() const': MocoCasADiSolver is not available. Thrown at MocoCasADiSolver.cpp:448 in solveImpl()" Comparing...
- Fri Jul 21, 2023 9:59 pm
- Forum: OpenSim
- Topic: Update Muscle Path
- Replies: 2
- Views: 423
Re: Update Muscle Path
Thank you -- I will give it a go!
- Tue Jul 18, 2023 4:18 am
- Forum: OpenSim
- Topic: Update Muscle Path
- Replies: 2
- Views: 423
Update Muscle Path
Hi, this question is related to my question in https://simtk.org/plugins/phpBB/viewtopic.php?f=91&t=16752 I am updating muscle paths in a model. The problem is that stating "state = model.initSystem()" before "loc=model.getMuscles().get(muscle).getGeometryPath().getPathPointSet().get(point).getLocat...
- Fri Jul 07, 2023 6:54 am
- Forum: OpenSim
- Topic: get location for muscle does not work in python
- Replies: 2
- Views: 502
Re: get location for muscle does not work in python
Thanks Dan. I'll give it a go. How can I update these XYZ?
is this right?
for i in range(0,3):
val = loc.get(i)
val = val + 1
loc.set(i, val)
K
is this right?
for i in range(0,3):
val = loc.get(i)
val = val + 1
loc.set(i, val)
K
- Thu Jul 06, 2023 8:52 am
- Forum: OpenSim
- Topic: get location for muscle does not work in python
- Replies: 2
- Views: 502
get location for muscle does not work in python
Hi, I am struggling to get and update fixed points for muscle paths in python. When using model.getMuscleList().getPathPointSet() I get an error "'AbstractPathPoint' object has no attribute 'get_location' ". I also cannot reach the vector value when running state = model.initSystem() loc = model.get...