# Offset Aperture Edges

![](/files/JpwLdGW0b51gWa4qsfk2)

![](/files/ar0FxKRti5wTpIbijTjd) - [\[source code\]](https://github.com/ladybug-tools/honeybee-grasshopper-core/blob/master/honeybee_grasshopper_core/src//HB%20Offset%20Aperture%20Edges.py)

Offset the edges of all Apertures of a Honeybee Room or Face by a certain distance.

This is useful for translating between interfaces that expect the window frame to be included within or excluded from the geometry of the Aperture. For example, EnergyPlus expects Aperture geometry to be for only the glass portion of the window while IES-VE expects the Aperture geometry to include the frame.

Note that this component also has usefulness to simply repair cases where Apertures extend pas their parent Face or overlap with one another. In this situation, the offset input can be set to zero and the repair\_ boolean set to True to only run the repair operation.

### Inputs

* **hb\_objs \[Required]**

A list of honeybee Rooms or Faces for which Apertures will have their edges offset. This can also be an entire honeybee Model for which all Rooms will have Apertures offset.

* **offset \[Required]**

A number for the distance with which the edges of each Aperture will be offset from the original geometry. Positive values will offset the geometry outwards and negative values will offset the geometries inwards.

* **repair**

A bool to note whether invalid Apertures and Doors should be fixed after performing the initial offset operation. This repair process involves two steps. First, sub-faces that extend past their parent Face are trimmed with the parent and will have their edges offset towards the inside of the Face. Second, any sub-faces that overlap or touch one another will be unioned into a single Aperture or Door. (Default: False).

### Outputs

* **report**

Reports, errors, warnings, etc.

* **hb\_objs**

The input Honeybee Face, Room or Model with Apertures offset.


---

# 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/honeybee-primer/components/0_create/offset_aperture_edges.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.
