|
|
|
|
![]() |
![]() |
![]() | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
About McStas Documentation |
[ Identification | Description | Input parameters | Links ] The
Component for including 3D mesh in Union geometry
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Name | Unit | Description | Default | |
| filename | str | Name of file that contains the 3D geometry: OFF, STL (ascii or binary) or PLY | 0 | |
| material_string | string | material name of this volume, defined using Union_make_material | 0 | |
| priority | 1 | priotiry of the volume (can not be the same as another volume) A high priority is on top of low. | ||
| visualize | 1 | set to 0 if you wish to hide this geometry in mcdisplay | 1 | |
| all_surfaces | string | Comma seperated string of Union surface definitions defined prior to this component | 0 | |
| cut_surface | string | Comma seperated string of Union surface definitions defined prior to this component, applied to all internal cuts | 0 | |
| target_index | 1 | Focuses on component a component this many steps further in the component sequence | 0 | |
| target_x | m | position of target to focus at | 0 | |
| target_y | m | Position of target to focus at | 0 | |
| target_z | m | position of target to focus at | 0 | |
| focus_aw | deg | horiz. angular dimension of a rectangular area | 0 | |
| focus_ah | deg | vert. angular dimension of a rectangular area | 0 | |
| focus_xw | m | horiz. dimension of a rectangular area | 0 | |
| focus_xh | m | vert. dimension of a rectangular area | 0 | |
| focus_r | m | focusing on circle with this radius | 0 | |
| p_interact | 1 | probability to interact with this geometry [0-1] | 0 | |
| mask_string | string | Comma seperated list of geometry names which this geometry should mask | 0 | |
| mask_setting | string | "All" or "Any", should the masked volume be simulated when the ray is in just one mask, or all. | 0 | |
| number_of_activations | 1 | Number of subsequent Union_master components that will simulate this geometry | 1 | |
| coordinate_scale | 1e-3 | Multiplier that the vertex positions are multiplied by. Set to 1 for input coordinates in meters. Set to 1e-3 for input coordinates in mm. | 1e-3 | |
| init | string | Deprecated and unused. Accepted so that instruments written for McStas/McXtrace 3.8.7 and earlier, which name the Union_init component here, still compile. | "" | |
| bvh_display_layers | 1 | mcdisplay draws the bounding boxes of this layer of the mesh BVH (the root is layer 1) when the BVH has more layers than this, otherwise the triangle edges. Set to 0 to always draw the triangle edges. | 12 |
| AT ( | , | , | ) RELATIVE | |||
|---|---|---|---|---|---|---|
| ROTATED ( | , | , | ) RELATIVE |
Union_mesh.comp.
[ Identification | Description | Examples | Input parameters | Links ]
Generated on mcstas 3.10.2