McXtrace logo

McXtrace - An X-ray ray-trace simulation package

Synchrotron SOLEIL DTU Physics

McXtrace

About McXtrace
 Publications
 Project Partners
 Project People
 Goal

Download
 Components

Documentation
 Manual
 Commands
 Wiki (GitHub)
 Tutorial

Mailing list

Links

Search

Code-repository (GitHub)

Report bugs (GitHub)


The Text McXtrace Component

9.2  The Text McXtrace Component

Release: McXtrace 3.9

Draw a text

Identification

  • Author: Emmanuel Farhi

  • Origin: SOLEIL

  • Date: Oct 10, 2026

Description

A text with given size and orientation. The text is drawn in upper letters.

Example: Text(text=”SOLEIL”, size=0.5, plane=”XY”)

Input parameters

Parameters in boldface are required; the others are optional.

Name

Unit

Description

Default

text

str

Text to draw.

size

m

Size of text.

0.5

plane

str

”XY”,”YZ”,or ”XZ”

”XY”

pen_thickness

1

Stroke diameter as fraction of text size. 0 draws thin lines, >0 draws each stroke as a cylinder with spherical joints.

0.1

Links

  • Component source code found in file Text.comp.


Last Modified: Friday, 23-Oct-2026 19:31:08 CEST
Search website mailinglist archive GitHub repos