# The `Geometry_test` Instrument

*McXtrace: Test of all Union geometry components in one file*

## Identification

- **Site:** Tests_union
- **Author:** Peter Willendrup
- **Origin:** DTU
- **Date:** January 2026

## Description

```text
Use of all basic geometries, mesh(as a torus), sphere, cylinder, cone and box

Adapted from McSas Geometry_test, work in progress

Example: meshfile="torus.off" Detector: detector_scat_I=47.5
Example: meshfile="torus.STL" Detector: detector_scat_I=47.5
```

## Input parameters

Parameters in **boldface** are required; the others are optional.

| Name | Unit | Description | Default |
|------|------|-------------|---------|
| meshfile |  |  | "torus.STL" |

## Links

- [Source code](Geometry_test.instr) for `Geometry_test.instr`.

---
