Search found 72 matches
- Fri Dec 03, 2021 2:14 pm
- Forum: OpenSim
- Topic: How to interpret: Multiple faces have an edge between vertices 0 and 2 in the same order.
- Replies: 2
- Views: 267
Re: How to interpret: Multiple faces have an edge between vertices 0 and 2 in the same order.
I found out that what a "facet normal" is and that not all normal where pointing outward from the brick. I made it so that, looking from the inside, following the 3 vertices of a triangle, I now am going clockwise and therefore the normal is pointing outward. But there still is an error: Traceback (...
- Fri Dec 03, 2021 8:46 am
- Forum: OpenSim
- Topic: How to interpret: Multiple faces have an edge between vertices 0 and 2 in the same order.
- Replies: 2
- Views: 267
How to interpret: Multiple faces have an edge between vertices 0 and 2 in the same order.
Hello list, Trying to create an stl-file to be used in ContactMesh, but my python script ends with: Traceback (most recent call last): File "/home/sietse/Roeien/Modelling/OpenSim/MyCode/Pusher/pusher.py", line 170, in <module> blad = osim.ContactMesh('brick.stl', File "/home/sietse/Software/OpenSim/...
- Sat Nov 27, 2021 8:09 am
- Forum: OpenSim
- Topic: Setting fast_optimization in CMC to false doesn't work for me.
- Replies: 0
- Views: 127
Setting fast_optimization in CMC to false doesn't work for me.
Hello list, I seem to misunderstand the slow optimization setting, because it does not seem to work. I created a simple model using 3 bodies and 3 Pinjoints, all code and a few video's to show the working of controlling the model using fast or slow optimization. The code can be found here here . leg...
- Tue Nov 09, 2021 7:39 am
- Forum: OpenSim
- Topic: Creating a marker file NOT wrt the ground frame
- Replies: 0
- Views: 80
Creating a marker file NOT wrt the ground frame
I understand that the coordinates/positions in a marker file are with respect to the ground frame, correct? In my use case, a simulation of a rower in a boat, I am interested in the speed of the rowing wrt to the ground frame. To control the rower I want to describe its motion using a marker file th...
- Thu Nov 04, 2021 2:40 pm
- Forum: OpenSim
- Topic: Adding BallJoint breaks simulation (updated again).
- Replies: 5
- Views: 387
Re: Adding BallJoint breaks simulation (updated again).
Yes, i gave all bodies a non-zero inertia and the original model is working fine now.
Now I can go to the next step, adding some constraints to complete this first version of the boat.
Thanks!
Now I can go to the next step, adding some constraints to complete this first version of the boat.
Thanks!
- Thu Nov 04, 2021 9:44 am
- Forum: OpenSim
- Topic: Adding BallJoint breaks simulation (updated again).
- Replies: 5
- Views: 387
Re: Adding BallJoint breaks simulation (updated again).
It does. Thanks!
- Thu Nov 04, 2021 4:49 am
- Forum: OpenSim
- Topic: Adding BallJoint breaks simulation (updated again).
- Replies: 5
- Views: 387
Re: Adding BallJoint breaks simulation (updated).
I simplified the model and the problem still persists! There now only is ONE body and ONE joint. The complete code is: import opensim as osim import math pi = math.pi bbaan = osim.Model() bbaan.setName("BootBaan") bbaan.setGravity(osim.Vec3(0, -9.90665, 0)) upperal = osim.Body("Upper_Arm_Left", 1, o...
- Tue Nov 02, 2021 8:01 am
- Forum: OpenSim
- Topic: Cannot get contactgeometry to work (solved).
- Replies: 3
- Views: 476
Re: Cannot get contactgeometry to work.
The reason the ContactMesh didn't work was that it needs the ElasticFoundationForce instead of the HuntCrossleyForce.
- Tue Nov 02, 2021 6:38 am
- Forum: OpenSim
- Topic: Anisotropic friction
- Replies: 2
- Views: 199
Re: Anisotropic friction
Thanks for the idea.
But the friction should also dependent upon the Z coordinate. The friction plane has to be lifted off from the "ground/water" and then there should be no friction at all. We'll see.
But the friction should also dependent upon the Z coordinate. The friction plane has to be lifted off from the "ground/water" and then there should be no friction at all. We'll see.
- Tue Nov 02, 2021 3:29 am
- Forum: OpenSim
- Topic: Adding BallJoint breaks simulation (updated again).
- Replies: 5
- Views: 387
Adding BallJoint breaks simulation (updated again).
Hello, Created a model, 20 bodies, 20 joints, all very straightforward. Until now simulations work nicely. But when adding the next body and (for the first time) BallJoint, the simulation does not work properly. In the very first step of the simulation the model is vanished completely! There is NO e...