How to use STLs that are not body-centered when building a model? #871
Replies: 1 comment 1 reply
-
I think that an easier way to handle the problem of your STLs/OBJs not being body centered is something (roughly) like:
If you find that the StationDefinedFrame somewhat "over-encodes" your topology (e.g. because the StationDefinedFrame is assuming some nonzero joint coordinate or similar) then one "trick" to this is to attach an offset frame "in between" the joint and the StationDefinedFrame, which gives you the ability to tweak it, but also enables the Re-zero joint feature, which does some maths to figure out how to re-transform offset frames such that they are in their current position, but with zeroed coordinates for the joint. Alternatively, if your problem is that you need to play around with joint coordinates in order to reposition the resulting model to match sensor-space (e.g. because your |
Beta Was this translation helpful? Give feedback.
-
Related: #869
I can’t figure out how to use
StationDefinedFrame
s with STLs that dont have an origin at the center of their associated body . So right now we’re having to find body centers elsewhere, then re write the STLs before being able to use them in Opensim Creator.Additionally, when I re assign a joint the
StationDefinedFrame
using OpenSim Creator'ssocket
feature, it assumes the body is coming in at neutral and assigns an additional rotation. So to be able to use the function I have to find the body axes and reorient it to neutral before using. Is there a way to reorient the joint to match the position of my STL meshes (i.e. in sensor-space, where the patient may not be in a perfectly neutral position).Beta Was this translation helpful? Give feedback.
All reactions