[Gate-users] How do I redefine the reference point / coordinate center of geometrical object?

Andreas Menzel am at crystal-photonics.com
Wed Aug 9 09:28:54 CEST 2017


Dear Gate community,

I am currently working on a Gate geometry object which is supposed to 
build collimators with rectangular holes, i.e. parallel, converging, 
diverging and fanbeam - indeed, it should be able to replace the fanbeam 
of v7.2 which was removed in v8.0 as it was buggy. It is built by means 
of Boolean operations from walls and septa. One of the problems I 
currently have and which I would like to solve before publishing 
anything is the coordinate center in the resulting object. Because of 
how the thing is assembled, this is currently the center of the first 
septum constructed, i.e. near one of the walls. I would prefer if it was 
the actual center of the whole collimator. Do you know a way how to 
shift the coordinate center of a solid? This would spare me the trouble 
of rewriting the assembly procedure.

Thanks a lot for your help!

Andreas

-- 
Dr. Andreas Menzel

Crystal Photonics GmbH
Albert Einstein Straße 16
D - 12489 Berlin
Germany

FAX.: +49 (0) 30 34669299

am at crystal-photonics.com
www.crystal-photonics.com
-------------------------
Geschäftsführer: Klaus Schwenkenbecher
Amtsgericht Berlin-Charlottenburg HRB 99822B
Steuer-Nr.: 37/109/21041
VAT-No.: DE 814612031



More information about the Gate-users mailing list