> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ploterr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Opening helpers

> Check an opening profile and read the saved configuration of an opening.

## Import

```typescript theme={null}
import {
  openingConfigSnapshot,
  validateOpeningProfile,
  roundOpeningCutter,
} from '@opengeometry/floorkit';
```

## openingConfigSnapshot

```typescript theme={null}
function openingConfigSnapshot(opening: HostedOpening): {
  config: object;
  restore: () => void;
};
```

## validateOpeningProfile

```typescript theme={null}
function validateOpeningProfile(
  opening: ProfiledWallOpening,
  tolerance: number,
): WallOpeningProfile;
```

## roundOpeningCutter

```typescript theme={null}
function roundOpeningCutter(
  opening: ProfiledWallOpening,
  frame: StationWallFrame,
  thickness: number,
  deflection: number,
  accuracy: AnalyticAccuracy | undefined,
  color: number,
  centerHeight?: number,
): AnalyticSolid;
```

## Types

### ProfiledWallOpening

```typescript theme={null}
interface ProfiledWallOpening {
  ogid?: string;
  station: number;
  width: number;
  bottom: number;
  height: number;
  profile?: WallOpeningProfile;
}
```

### WallOpeningProfile

```typescript theme={null}
type WallOpeningProfile = 'rectangular' | 'round' | 'arched';
```

## Related

* [`HostedOpening`](/floorkit/api/architecture/wall#hostedopening)
* [`StationWallFrame`](/floorkit/api/architecture/circular-wall#stationwallframe)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.