# Animate Bones and Markers : Importing mesh models into Maya from Horos

* In Maya, select **imp** on the MayaTool Shelf
* Click on **impObjs,** select the file and click OK
* Repeat for each model
* Hover mouse over models and press **number key 5** for "smooth shade."
* Press **number key 4** to toggle back to mesh view, and then 5 again
* Placing each model into a separate layer makes it easy to turn visibility off and on.
  * Select the object you wish to create a layer for.&#x20;
  * On the right side of the screen, click on the **Channel Box/Layer Editor** tab.
  * Click **Layers -> Create Layer from Selected**\
    &#x20;![](/files/-M-QIYUXtCi_YeddFh9r)
  * Double click on the "Layer1" and rename the layer to the name of the bone.
  * Clicking on the left box (highlighted in green) will make the object visible or invisible.
  * Clicking on the right box will (highlighted in yellow)
    * T- Make the object transparent
    * R- Make the object fully visible but unable to be selected\
      &#x20;![](/files/-M-QIYUWhIIgmzaFpuYp)

## Correcting models from Horos <a href="#importingmeshmodelsintomayafromhoros-correctingmodelsfromhoros" id="importingmeshmodelsintomayafromhoros-correctingmodelsfromhoros"></a>

#### Models created in Horos have two issues when imported into Maya: <a href="#importingmeshmodelsintomayafromhoros-modelscreatedinhoroshavetwoissueswhenimportedintomaya" id="importingmeshmodelsintomayafromhoros-modelscreatedinhoroshavetwoissueswhenimportedintomaya"></a>

* they are in units of mm, so they 10x too large for the cm scale in Maya (see how small and far away the reference grid is in the image below?)
* they have irregular polygon normals, so the surface reflects light incorrectly in Maya smooth shade mode

![](/files/-M-QIYU_MBK9rlys9y6b)

**To scale models down to 0.1x size:**

1. Shift-select all imported models in the scene (bone and marker models)
2. Press button in farthest right top corner of the Maya window to open Channel Box/Layer Editor (if it is not already open)
3. Set all of the 1s to the right of Scale X, Y, Z, to the value 0.1 (see image above). The grid is now large relative to the model (image below).
4. Shift-select the three Scale attribute names (the words Scale X, Scale Y, Scale Z), then right click and Select Freeze/Scale (image below). This will set the scale back to 1 without changing the size of the models. This effectively sets the scale for your models to cm, which are the units we use for XROMM.&#x20;

![](/files/-M-QIYUZJQUeyN6tLfbi)

### To correct the normals: <a href="#importingmeshmodelsintomayafromhoros-tocorrectthenormals" id="importingmeshmodelsintomayafromhoros-tocorrectthenormals"></a>

1. Select the Polygons menu set from the far left top of Maya window
2. Select one of your bones (best to do them one at a time)
3. Select Normals/Set to Face from the top menu bar (image below)
4. Wait. Setting normals to face can take a while, depending on how dense the polygons are on your model. It is a good idea to reduce the number of polygons coming out of Horos with the decimate function. When finished, your model will look smooth (image below)

![](/files/-M-QIYUbm-g3qv0G1VAF)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gitbook.brown.edu/xromm/animate-bones-and-markers/xromm-importing-mesh-models-into-maya-from-horos.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
