[mcstas-users] listing components positions

Erik Bergbäck Knudsen erkn at fysik.dtu.dk
Fri Apr 11 09:21:46 CEST 2014


Dear Jean-Francois,
Indead - there is a simpler way to get the component positions:
  mcdisplay Example.instr
will do that for you.
Or, if you use the GUI, select "Trace (3d view)" instead of "Simulate" 
you also get the list of positions.
The GUI actually runs mcdisplay in the background, so the two are 
really one and the same.

I hope that helps.

cheers
Erik

On Fri 11 Apr 2014 09:13:37 AM CEST, Jean-Francois.Moulin at hzg.de wrote:
> Dear Mcstas Developpers!
>
> is there any way to get a list of the absolute positions of all the components from an .instr file?
> Even better would be if the start and end points of each components could be listed.
> For now I use a trivial but cumbersome method which consists in placing dummy detectors everywhere and parsing the output. There must be a better way...
>
> Thanks in advance !
>
> JF
>
>
>
> -
> Helmholtz Zentrum Geesthacht
> Institut für Werkstoffforschung
> Abteilung WPN, Instrument REFSANS
> Lichtenbergstr. 1
> 85747 Garching FRM II
> Tel.: +49 (0)89 289 10762
> Internet: http://www.frm2.tum.de
> Helmholtz-Zentrum Geesthacht
> Zentrum für Material- und Küstenforschung GmbH
> Max-Planck-Straße 1 I 21502 Geesthacht I Deutschland/Germany
>
> Geschäftsführer/Board of Management: Prof. Dr. Wolfgang Kaysser, Dipl.-Ing. Michael Ganß
> Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: MinDirig Wilfried Kraus
> Amtsgericht Lübeck HRB 285 GE (Register Court)
> Internet: http://www.hzg.de
> _______________________________________________
> mcstas-users mailing list
> mcstas-users at mcstas.org
> http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users

--
Erik Bergbäck Knudsen, Research Engineer         | DTU | morituri
NEXMAP, DTU Fysik, DK-2800 Kgs. Lyngby, Denmark  |<>-<>|    te
phone: (+45) 2132 3151, mobile: (+45) 3123 6184  |<>-<>| salutant




More information about the mcstas-users mailing list