[Gate-users] Problems with visualization

Alessandro Bellini ale.notc at gmail.com
Fri Feb 3 15:02:46 CET 2017


2017-02-03 15:01 GMT+01:00 Alessandro Bellini <ale.notc at gmail.com>:

> Thanks a lot!
> I continued the examples, I receive the following error when I add the
> first level of the system
>
> Idle> /control/execute pet.mac
>
> WARNING: The vis manager will keep up to 100 events.
>
>   This may use a lot of memory.
>
>   It may be changed with, e.g., "/vis/scene/endOfEventAction accumulate
> 10".
>
>  CREATED THE COMMAND /gate/systems/cylindricalPET/addAnewRsector
>
> /gate/box1/vis/forceWireframe> *****setMaterial Water
>
>
> ***** Batch is interrupted!! *****
>
> Idle>
> I think that it is due to the following line (the error shows up with this
> line
> /gate/box1/setMaterial Water
>
> I've attached pet.mac
>
> Thanks a lot
>
> Alessandro
>
>
>
> 2017-02-03 13:34 GMT+01:00 Pietrzyk, Uwe <u.pietrzyk at fz-juelich.de>:
>
>>
>> Hi Alesandro,
>>
>> there were some commands missing. Please see the test.mac file in the
>> attachment.
>> Maybe it would be a good idea to use one of the *examples* which come
>> with the GATE
>> distribution or also the *EduGATE* examples, were you can learn , how to
>> arrange
>> a simulation.
>>
>> Kind regards, and best wishes,
>>
>> Uwe Pietrzyk
>>
>>
>>
>>
>>
>> /----------------------------------------------------------------------
>> Prof. Dr. Uwe Pietrzyk
>> Diplom-Physiker
>> Institut für Neurowissenschaften und Medizin / INM-4
>> Forschungszentrum Jülich GmbH
>> 52425 Jülich
>> Tel: +49-2461-61 4763 <+49%202461%20614763>
>> Fax: +49-2461-61 2820 <+49%202461%20612820>
>> Mobil: +49-162-103-4871 <+49%20162%201034871>
>> eMail: U.Pietrzyk at fz-juelich.de
>> http://www.fz-juelich.de/inm/inm-4/DE/Home/home_node.html
>> &
>> Bergische Universität Wuppertal
>> Fakultät für Mathematik und Naturwissenschaften
>> Büro:  D.08.01
>> Gaußstr. 20
>> 42097 Wuppertal
>> Tel: +49-(0)202-439-3523 <+49%20202%204393523>
>> Fax: +49-(0)202-439-2811 <+49%20202%204392811>
>> eMail: Uwe.Pietrzyk at uni-wuppertal.de
>> <Uwe.Pietrzyk at physik.uni-wuppertal.de>
>> http://www.medizinphysik.uni-wuppertal.de
>> ----------------------------------------------------------------------/
>>
>> On 03 Feb 2017, at 12:48, Alessandro Bellini <ale.notc at gmail.com> wrote:
>>
>> Dear GATE users,
>>
>> I've just installe GATE v7.2 on Mac OSX 10.11 and I'm trying the very
>> first step using Gate User's Guide, and I have problems after very few lines
>>
>> # TEST GATE MANUAL
>>
>> # V I S U A L I Z A T I O N
>> /vis/open OGLSX
>> /vis/viewer/reset
>> /vis/viewer/set/viewpointThetaPhi 60 60
>> /vis/viewer/zoom 1
>> /vis/viewer/set/style surface
>> /vis/drawVolume
>> /tracking/storeTrajectory 1
>> /vis/scene/endOfEventAction accumulate 10
>> /vis/viewer/update
>>
>> # G E O M E T R Y
>> /gate/geometry/setMaterialDatabase GateMaterials.db
>>
>> # W O R L D
>> /gate/world/geometry/setXLength 40. cm
>> /gate/world/geometry/setYLength 40. cm
>> /gate/world/geometry/setZLength 40. cm
>>
>> # S Y S T E M
>> /gate/world/daughters/name cylindricalPET
>> /gate/world/daughters/insert cylinder
>> /gate/cylindricalPET/setMaterial Water
>> /gate/cylindricalPET/geometry/setRmax 100 mm
>> /gate/cylindricalPET/geometry/setRmin 86 mm
>> /gate/cylindricalPET/geometry/setHeight 18 mm
>> #/gate/cylindricalPET/vis/setColor red
>> /gate/cylindricalPET/vis/setVisible 1
>> /gate/cylindricalPET/vis/forceWireframe
>> /vis/viewer/zoom 3
>>
>> I do not see the cylinder in the viewer, I only see the zoomed world.
>> Sorry for the very newbie question
>>
>> Thanks a lot
>>
>> Alessandro
>> _______________________________________________
>> Gate-users mailing list
>> Gate-users at lists.opengatecollaboration.org
>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170203/123fcea4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pet.mac
Type: application/octet-stream
Size: 1738 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170203/123fcea4/attachment-0001.obj>


More information about the Gate-users mailing list