McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding

Download
 Components

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)


McStas: Test_mesh_boxes

[ Identification | Description | Examples | Input parameters | Links ]

The Test_mesh_boxes Instrument

A small instrument to investigate mesh boxes in a user configuration

Identification

  • Site: Tests_union
  • Author: Sam Lambrick with Python McStas Instrument Generator
  • Origin: ESS DMSC / ISIS
  • Date: 10:07:56 on March 05, 2026

Description

Instrument provided by Sam Lambrick from ISIS, that uses three meshes to
make their boxes.

Examples

(Test cases in bold)
  • Test: Detector: psd_detector_I=10.7752
  • Test: box_file="box.off" blade_file="single_blade.off" Detector: psd_detector_I=10.7752
  • Test: box_file="box.ply" blade_file="single_blade.ply" Detector: psd_detector_I=10.7752

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
box_filestrMesh file of the Be envelope: box.stl (ascii STL), box.off or box.ply"box.stl"
blade_filestrMesh file of the Cd blades: single_blade.stl (ascii STL), single_blade.off or single_blade.ply"single_blade.stl"

Links


[ Identification | Description | Examples | Input parameters | Links ]

Generated for mcstas 3.10.0


Last Modified: Friday, 23-Oct-2026 18:32:10 CEST
Search website mailinglist archive GitHub repos