Code Monkey home page Code Monkey logo

Comments (2)

mohse-n avatar mohse-n commented on September 26, 2024 1

Thanks. As you suggested, it seems using the offset frame solved the problem.

In my case, the automatically created offset frames when adding the body were sufficient. I moved torso_offset to the desired location of the joint and then moved head_offset so that the skull geometry was in the correct place.

from opensim-creator.

adamkewley avatar adamkewley commented on September 26, 2024

Hi @mohse-n

I think what you're asking is "how can I move the mesh separately from the joint's frame". If that's the case, then the "trick" is to add an additional offset frame to the thing you want to attach to (say, here, the body_offset), followed by attaching the mesh to that offset frame. This gives you a new frame that can be moved independently of (but is kinematically attached to) the original frame.

Steps:

  • Right click the frame that you want to attach free-form geometry to
  • Click Add Offset Frame
  • This will add a new frame into the model that is attached to the frame you right-clicked
  • Right click the new offset frame
  • Click Add Geometry and select your desired geometry
  • This will add geometry that is attached to the new offset frame
  • Move the new offset frame

If you find you have mis-attached a frame somewhere, you can usually right-click a frame/geometry then use the Sockets menu to reattach it to something else. The Re-express in new frame checkbox ensures that the reattachment doesn't cause things to jolt around.

from opensim-creator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.