# Mesh to Hatch

![](/files/xsbQ6ZcMqmMBzHEq5zCa)

![](/files/6mQlkO4FS3UgN7VkUSLp) - [\[source code\]](https://github.com/ladybug-tools/ladybug-grasshopper/blob/master/ladybug_grasshopper/src//LB%20Mesh%20to%20Hatch.py)

Bake a clored mesh into the Rhino scene as a group of colored hatches.

This is useful when exporting ladybug graphics from Rhino to vector-based programs like Inkscape or Illustrator since hatches are exported from Rhino as colored-filled polygons.

### Inputs

* **mesh \[Required]**

A colored mesh (or list of colored meshes) to be baked into the Rhino scene as groups of colored hatches.

* **layer**

Text for the layer name on which the hatch will be added. If unspecified, it will be baked onto the currently active layer.

* **run \[Required]**

Set to 'True' to bake the mesh into the scene as hatches.

### Outputs

* **report**

Reports, errors, warnings ...


---

# 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://docs.ladybug.tools/ladybug-primer/components/4_extra/mesh_to_hatch.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.
