RE: [fluka-discuss]: database of geometrical objects

From: <>
Date: Wed, 8 Apr 2015 16:08:08 +0200 (CEST)

2015-04-07 10:24 GMT+02:00 Chris Theis <>:
Hi Michele, I can only answer regarding the possibilities that are currently there for SimpleGeo. Regarding the geometrical database supported by FLAIR somebody else will have to help who has knowledge on that. It’s quite simple to build a geometry database in SG. First you basically define your component (e.g. a full magnet) and place it into a container body like a box. If you then would like to use that object in another geometry you open that other geometry and the select the “Merge” command from the “File” menu. This will import the magnet as a group into your current geometry and you can then apply a transformation to that group. Consequently, the magnet will be moved to its new location. The only thing which you then have to do is to subtract the container box from the surrounding volume in the original geometry. That’s it. You can also duplicate the imported geometries and move them to different places. Thus, you can build a full beam line with very few mouse-clicks. The only thing you should pay attention to is the naming scheme of your bodies. FLUKA has a limit of 8 characters and will silently (!) truncate everything exceeding this limit. So if you want to use duplicates then I recommend to start with short names because for each duplicate SG will append an ID to ensure unique names. CheersChris

Hello Chris, sorry for the delay in replying your message, however I wanted to apply your method first. Thank you for your suggestions. I have just a question: during the merge operation, by clicking yes to import the library element as a group, SG creates a second root. Is it safe to delete both the root and the container box?Michele

You can manage unsubscription from this mailing list at
Received on Wed Apr 08 2015 - 17:31:48 CEST

This archive was generated by hypermail 2.3.0 : Wed Apr 08 2015 - 17:31:49 CEST