Hi Carlos,<br><br>I believe the problem is in your table data. The first line must contain the number of materials (i.e. the number of subsequent lines) and in your case should be:<br><br>2<br>
0 0 Air true 1.0 0.0 0.0 0.2<br>
1 5 Water true 0.0 0.0 1.0 0.2<br><br><br>Best regards,<br><br>-------------------------------------------------------------------<br>Ricardo Capote<br><div>
<br>
<span lang="en"><span>Institute</span> <span>of Biophysics and</span> <span>Biomedical Engineering</span><br> <span>Faculty</span> <span>of Science, University</span> <span>of Lisbon</span></span><br>
Campo Grande<br>
1749-016 Lisbon<br>
<br>
Tel. <a value="+351217500177">+ 351 21 750 01 77</a>; Fax: <a value="+351217500030">+ 351 21 750 00 30</a><br>
Extension: 20510<br>
Email: <a href="mailto:rmcapote@fc.ul.pt" target="_blank">rmcapote@fc.ul.pt</a><br>Website: <a href="http://www.ibeb.fc.ul.pt/" target="_blank">http://www.ibeb.fc.ul.pt/</a></div><br><br><br><div class="gmail_quote">2012/12/5 <span dir="ltr"><<a href="mailto:gate-users-request@lists.opengatecollaboration.org" target="_blank">gate-users-request@lists.opengatecollaboration.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Gate-users mailing list submissions to<br>
<a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.opengatecollaboration.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:gate-users-request@lists.opengatecollaboration.org">gate-users-request@lists.opengatecollaboration.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:gate-users-owner@lists.opengatecollaboration.org">gate-users-owner@lists.opengatecollaboration.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Gate-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Problem with Material on Voxelized Phantom (Carlos Uribe)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 4 Dec 2012 14:13:02 -0800<br>
From: Carlos Uribe <<a href="mailto:carluri@phas.ubc.ca">carluri@phas.ubc.ca</a>><br>
To: <a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.opengatecollaboration.org</a><br>
Subject: [Gate-users] Problem with Material on Voxelized Phantom<br>
Message-ID:<br>
<CAPJy_1QkwhchooA=x9yGJzeOr6e4Yr1TSGv3Lu=<a href="mailto:sod_4GkUH0A@mail.gmail.com">sod_4GkUH0A@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hello Gate Users,<br>
<br>
I'm having a problem when running a voxelized phantom which I set up like<br>
this:<br>
<br>
/gate/world/daughters/name Phantom<br>
/gate/world/daughters/insert parameterizedBoxMatrix<br>
<br>
/gate/Phantom/geometry/insertReader interfile<br>
/gate/Phantom/interfileReader/insertTranslator range<br>
/gate/Phantom/interfileReader/rangeTranslator/readTable Phantom.dat<br>
<br>
/gate/Phantom/interfileReader/rangeTranslator/describe 1<br>
/gate/Phantom/interfileReader/readFile Phantom.h33<br>
/gate/Phantom/placement/setTranslation 0. 0. 0. mm<br>
/gate/Phantom/placement/setRotationAxis 1 0 0<br>
/gate/Phantom/placement/setRotationAngle 0 deg<br>
/gate/Phantom/attachVoxelPhantomSD<br>
/gate/Phantom/addOutput DoseTest<br>
<br>
<br>
and the table data is like<br>
<br>
1<br>
0 0 Air true 1.0 0.0 0.0 0.2<br>
1 5 Water true 0.0 0.0 1.0 0.2<br>
<br>
I am getting the following error:<br>
<br>
GateGeometryVoxelInterfileReader::ReadFile: WARNING: voxel not added<br>
(material translation not found); value: 0<br>
<br>
Any idea why this can be happening?<br>
<br>
Thanks in advance,<br>
<br>
--<br>
Carlos F Uribe<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20121204/9e050784/attachment-0001.html" target="_blank">http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20121204/9e050784/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
<br>
End of Gate-users Digest, Vol 79, Issue 5<br>
*****************************************<br>
</blockquote></div><br><br>