Personal tools
You are here: Home cmgui Wiki Move the muscles
Views
FrontPage >> Sallys notes >>

Move the muscles

last edited 5 years ago by sche155

Because I didn't fix the attachment points when I was fitting the sclera and the muscles, after they are fitted, the muscles is not attached to the sclera and has a gap between the two. To fix this, I had manually move the muscles so the ends are touching the surface of the sclera.

1) Read in the node and element file of the surface_fitted_sclera.

2) Offset the nodes, elements, lines and faces using {gfx change_identifier node_offset 1000 element_offset 1000 face_offset 1000 line_offset 1000}

3) Read in the muscle that I want to reposition. (because the muscle volume is generated with Shane's perl script fittedsurfacetovolume2.pl, I need to use gfx read element generate_lines_and_faces )

4) Draw nodal points and surfaces to the objects.

5) Double click on Nodes, and check "modify" so that the node points can be moved and multiple nodes selected so the whole face can move to touch the sclera.

6) Save the modified fitted muscles.

Contributing to this site

Please add to the wiki any relevant information that you think might be useful to other users of this website. For example, you might like to contribute your experiences, questions and answers.

You are encouraged to contribute to this site regardless of your level of experience. Contributions are welcomed from new and regular visitors.

If you ask a question and receive an answer from a developer you should record it in the wiki. This information is extremely useful and can help other users overcome the same problem.

See how to add and edit pages for more information.