contact mesh

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
cui weiling
Posts: 27
Joined: Tue Feb 28, 2017 5:28 am

contact mesh

Post by cui weiling » Sat Oct 07, 2017 6:45 am

Recently,I want to add contact mesh to my model, The file conversion has been completed form .stl to .obj ,but system of opensim can not load the

.osim file and give following messages
Looking forward to reply





java.lang.RuntimeException: SimTK Exception thrown at ContactGeometry_TriangleMesh.cpp:466:
Bad call to Simbody API method ContactGeometry::TriangleMesh::Impl::TriangleMesh::Impl(): Each edge must be shared by exactly two faces.
(Required condition 'forwardEdges.size() == backwardEdges.size()' was not met.)
at org.opensim.modeling.opensimModelJNI.Model_initSystem(Native Method)
at org.opensim.modeling.Model.initSystem(Model.java:179)
at org.opensim.view.pub.OpenSimDB.addModel(OpenSimDB.java:138)
at org.opensim.view.pub.OpenSimDB.addModel(OpenSimDB.java:133)
at org.opensim.view.FileOpenOsimModelAction$1.run(FileOpenOsimModelAction.java:95)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
at java.awt.EventQueue.access$300(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:706)
at java.awt.EventQueue$3.run(EventQueue.java:704)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

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

Re: contact mesh

Post by Thomas Uchida » Sat Oct 07, 2017 4:01 pm

Please see Sherm's response in the following thread: viewtopicPhpbb.php?f=91&t=5792

POST REPLY