Hello,
I want to create a model with a torsional ankle spring, according to this link: https://simtk-confluence.stanford.edu/d ... bolic+Cost.
but when I apply the structure there are no changes in the model and the spring will not appear. Also, in the other forces branch, there is nothing else. I attached the related pictures. Is someone help me that is there any mistake from me?
Thanks a lot.
Create a model with a torsional ankle spring
- Mehran Razzaghi
- Posts: 18
- Joined: Wed Dec 02, 2015 9:49 am
Create a model with a torsional ankle spring
- Attachments
-
- page.JPG (282.32 KiB) Viewed 364 times
-
- my modell.JPG (411.05 KiB) Viewed 364 times
Tags:
- Thomas Uchida
- Posts: 1794
- Joined: Wed May 16, 2012 11:40 am
Re: Create a model with a torsional ankle spring
Do any errors appear in the Messages Window? The third line of your script is suffixing the model name with "_ankle_spring" but the name displayed in the GUI's Navigator panel is not suffixed with "_ankle_spring". Is a new model even being loaded?
- Mehran Razzaghi
- Posts: 18
- Joined: Wed Dec 02, 2015 9:49 am
Re: Create a model with a torsional ankle spring
Thanks a lot for your response.
There is no error in the massage. I attached the picture of the message.
About suffixing the model name with "_ankle_spring" exactly I agree. there are no spring forces in the navigator. there is no new model for loading. I followed the link(https://simtk-confluence.stanford.edu/d ... bolic+Cost) and insert the codes according to the page. but it's not working. I don't know which step is the error.
There is no error in the massage. I attached the picture of the message.
About suffixing the model name with "_ankle_spring" exactly I agree. there are no spring forces in the navigator. there is no new model for loading. I followed the link(https://simtk-confluence.stanford.edu/d ... bolic+Cost) and insert the codes according to the page. but it's not working. I don't know which step is the error.
- Attachments
-
- massage.JPG (347.78 KiB) Viewed 231 times
- Ayman Habib
- Posts: 2252
- Joined: Fri Apr 01, 2005 12:24 pm
Re: Create a model with a torsional ankle spring
Hello,
The scripting shell in the last screen capture doesn't show that you executed the script that adds the ankleSpring. I'd make sure to execute the GUI script one line at a time and check for errors. You could save the model after adding the spring to a file (using model.print() call) and then you can check the file to see if it gets printed and if it has the spring before loading it into the GUI.
Please let us know what you find out.
Best regards,
-Ayman
The scripting shell in the last screen capture doesn't show that you executed the script that adds the ankleSpring. I'd make sure to execute the GUI script one line at a time and check for errors. You could save the model after adding the spring to a file (using model.print() call) and then you can check the file to see if it gets printed and if it has the spring before loading it into the GUI.
Please let us know what you find out.
Best regards,
-Ayman
- Mehran Razzaghi
- Posts: 18
- Joined: Wed Dec 02, 2015 9:49 am
Re: Create a model with a torsional ankle spring
Hello,
Sorry for the delay in response. Thanks for your guide. Finally, I did it. I copied each line of the codes one by one and then pasted it in the ScriptingShell window. and at the end, the new model appeared on the GUI. I attached the result of it.
Just one other thing, when I tried to change the colour or opacity of the AnkleLimitSpringDamper in the Navigator>walk_subject01_ankle_spring>Forces>Other Forces, there is no changes appear in the GUI. why did it not change?
Sorry for the delay in response. Thanks for your guide. Finally, I did it. I copied each line of the codes one by one and then pasted it in the ScriptingShell window. and at the end, the new model appeared on the GUI. I attached the result of it.
Just one other thing, when I tried to change the colour or opacity of the AnkleLimitSpringDamper in the Navigator>walk_subject01_ankle_spring>Forces>Other Forces, there is no changes appear in the GUI. why did it not change?
- Attachments
-
- insert one by one.JPG (453.78 KiB) Viewed 189 times
- Ayman Habib
- Posts: 2252
- Joined: Fri Apr 01, 2005 12:24 pm
Re: Create a model with a torsional ankle spring
Hi Mehran,
Glad we sorted this out.
As to the color/opacity, some components in the model (nodes in the navigator tree) correspond to visual representation while others don't. CoordinateLimitForce has no associated visual representation, as such changing color/opacity would have no visual effect. The property that a component/Force has visuals associated with it is built into the component itself by the component designer (e.g. Constraints and Controllers have no visuals but Markers and Frames do).
Hope this helps,
-Ayman
Glad we sorted this out.
As to the color/opacity, some components in the model (nodes in the navigator tree) correspond to visual representation while others don't. CoordinateLimitForce has no associated visual representation, as such changing color/opacity would have no visual effect. The property that a component/Force has visuals associated with it is built into the component itself by the component designer (e.g. Constraints and Controllers have no visuals but Markers and Frames do).
Hope this helps,
-Ayman
- Mehran Razzaghi
- Posts: 18
- Joined: Wed Dec 02, 2015 9:49 am
Re: Create a model with a torsional ankle spring
Thanks for your kind response. Ok. I got it. you are right. this was really helpful.
Best regards
Best regards