Share 
Follow 
AboutDownloadsDocumentsForumsSource CodeIssuesNews
Date:
2010-08-26 19:38
Priority:
3
State:
Open
Submitted by:
Leia Stirling (leia)
Assigned to:
Ayman Habib (aymanh)
Summary:
OpenSim 2.1.0_b6 Scaling bug

Detailed description
A non-uniform scaling cannot be performed when a coordinate coupler is present in the model. For example, in my case the tibia body could not be scaled non-uniformly due to the presence of the patella. The original error stated “A java.lang.RuntimeException exception has occurred.”

More details:
"java.lang.RuntimeException: Bad dynamic_cast!
at org.opensim.modeling.opensimModelJNI.OpenSimContext_processModelScale__SWIG_0(Native Method)
at org.opensim.modeling.OpenSimContext.processModelScale(OpenSimContext.java:257)
at org.opensim.tracking.ScaleToolModel$ScaleToolWorker.construct(ScaleToolModel.java:335)
at org.opensim.swingui.SwingWorker$2.run(SwingWorker.java:108)
[catch] at java.lang.Thread.run(Thread.java:595)"

In the out.log I saw:
“Step 2: Scaling generic model Exception:
Non-uniform scaling of CoordinateCoupler constraints not implemented.”

Add A Comment: Notepad

Message  ↓
Date: 2020-11-10 06:53
Sender: Saad Khan

Running into the same issue in Opensim 4.0. Is this fixed?

Attachments:
Size Name Date By Download
132 KiBmocap3D_m5.osim2010-08-31 13:03leiamocap3D_m5.osim
20 KiBScaleNonUniformTibia.xml2010-08-31 13:12leiaScaleNonUniformTibia.xml
Field Old Value Date By
category_id1002012-03-28 19:52jenhicks
assigned_tonone2012-03-28 19:52jenhicks
File Added322: ScaleNonUniformTibia.xml2010-08-31 13:12leia
File Added321: mocap3D_m5.osim2010-08-31 13:03leia
Feedback