Scaling tool is not converging

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Shunafrica White
Posts: 6
Joined: Thu Aug 31, 2017 11:09 am

Scaling tool is not converging

Post by Shunafrica White » Thu Jul 08, 2021 9:50 am

Hello,

I'm trying to scale a model but every time I launch the scaling tool the solution does not converge. Furthermore, I'm not even seeing any progress in the bar that indicates the completion of the scaling. Also, after I hit run on the scaling tool I get a pop up information message, as attached. I'm not sure what this means. Also, this may be unrelated but every time I load a model the bony structures aren't visible. Could this be affecting the scaling tool, as well? Can someone please help? I've attached my setup file in case this might help.

Thanks,

Shunafrica
Attachments
setup_scale.xml
(19.41 KiB) Downloaded 6 times
Screen Shot 2021-06-26 at 9.32.20 PM (3).png
Screen Shot 2021-06-26 at 9.32.20 PM (3).png (618.23 KiB) Viewed 259 times

Tags:

User avatar
Thomas Uchida
Posts: 1797
Joined: Wed May 16, 2012 11:40 am

Re: Scaling tool is not converging

Post by Thomas Uchida » Fri Jul 09, 2021 7:32 pm

I'm trying to scale a model but every time I launch the scaling tool the solution does not converge.
The Scale Tool cannot fail to converge (it is not an iterative procedure). Based on the error message in your image, it looks like the name of the model contains an invalid character. You can change the name of the model by opening the .osim file in a text editor; the model name is near the top:

Code: Select all

<Model name="the_name_goes_here">
Avoid using the characters shown in the error message.
every time I load a model the bony structures aren't visible.
Please see Topic 12410: viewtopicPhpbb.php?f=91&t=12410

User avatar
Shunafrica White
Posts: 6
Joined: Thu Aug 31, 2017 11:09 am

Re: Scaling tool is not converging

Post by Shunafrica White » Mon Jul 12, 2021 10:42 am

Thank you for your response. However, after checking the .osm file I'm not seeing the use of any of the mentioned invalid characters in the model name. I've attached a screenshot of the model name and a copy of the .osm file for convenience.
Attachments
gait2354_simbody.osim
(325.49 KiB) Downloaded 7 times
Screen Shot 2021-07-12 at 1.40.29 PM (2).png
Screen Shot 2021-07-12 at 1.40.29 PM (2).png (336.41 KiB) Viewed 143 times

User avatar
Thomas Uchida
Posts: 1797
Joined: Wed May 16, 2012 11:40 am

Re: Scaling tool is not converging

Post by Thomas Uchida » Mon Jul 12, 2021 5:32 pm

It looks like this is the default "gait2354" model. In that case, it isn't clear why it doesn't open. I downloaded the file and it opened fine on my (Windows) machine. Do any models open or are you having trouble with just this one? Depending on where the file came from, you might want to check that you're using the correct line endings for a Mac.

POST REPLY