RE: [fluka-discuss]: Use of ROT-DEFI for rotation

From: <mark.ibison_at_cockcroft.ac.uk>
Date: Tue, 14 Nov 2017 11:14:10 +0000

Hello Mikhail,

Thank you for the help.
Everything seems to work now, by defining my body initially at (0,0,0), rotating and then translating to move into the final position:

ROT-DEFI 200. 0.0 45. 0.0 0.0 0.0CAM_ROT
ROT-DEFI 200. 0.0 0.0 -100. 0.0 -633.CAM_ROT

$start_transform CAM_ROT
* Camera_4 defined as RPP
RPP Cam_4a -20. 0.0 150. 160. -5. 5.
$end_transform

Regards,
Mark
From: Mikhail Polkovnikov <Михаил Полковников> [mailto:pmk_at_ihep.ru]
Sent: 13 November 2017 20:13
To: Ibison, Mark (Liverpool Uni.,DL,-); fluka-discuss_at_fluka.org
Subject: Re: [fluka-discuss]: Use of ROT-DEFI for rotation

Dear Mark,

Please look at the advance course example<https://www.fluka.org/free_download/course/portugal2010/Lectures/AdvancedGeometry2010.pdf> (especially Slides 49 and 50).



TL:DR

Its easier to define 3 ROT-DEFI cards:

1. Move object to 0.0.0 point,

2. Rotate,

3. Move object to a new point,

A test file in attachment as an example.



Best regards,

Mikhail




__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Tue Nov 14 2017 - 13:29:26 CET

This archive was generated by hypermail 2.3.0 : Tue Nov 14 2017 - 13:29:30 CET