[Gate-users] Source definition in STL complex geometry
Josh Knowland
jknowland at lucernodynamics.com
Wed Jan 16 01:25:46 CET 2019
Hey Ashok, I don't use Gate to visualize. I design all the geometry together in 3D using 3D CAD and then export STLs from that.
Sorry I can't help with that.
Josh
-----Original Message-----
From: Ashok Tiwari <tiwarias at yahoo.com>
Sent: Tuesday, January 15, 2019 7:24 PM
To: Josh Knowland <jknowland at lucernodynamics.com>
Subject: Re: Source definition in STL complex geometry
Hi Josh,
Can I ask you one question? Is it possible to visualize the source in STL geometry?
I do not able to visualize it using the following command; /gate/source/sphere11/visualize 100 red 2 # count color size and sphere11 is name of source
Interested to visualize it because I want to check whether sources are in the right location. I appreciate your help in advance.
Regards,
Ashok Tiwari
> On Jan 15, 2019, at 11:38 AM, Josh Knowland <jknowland at lucernodynamics.com> wrote:
>
> Ashok,
> I am not sure, but I believe "attach to" is used to move a source with geometry. By doing this, a small tight-fitting source can move around with geometry if it moves. Using confine to do this would mean that the source needs to be large enough to encompass the geometry as it moves without the source itself moving.
>
> If you are moving geometry, I believe "attach to" is the right way to do it. If you are not moving, either should work.
>
> For lungs, I have created the lungs in STL and assign the Lung material. Obviously this isn't ideal because I don't currently leave space for air itself. Maybe I should do that. When placing the lungs inside the chest, I don't believe you have to carve our space. If you make the lungs a daughter of the chest and confine a source to each, Gate will do the intersection for you. I think this is true, but you should probably test it.
>
>
>
> -----Original Message-----
> From: Ashok Tiwari <tiwarias at yahoo.com>
> Sent: Tuesday, January 15, 2019 12:32 PM
> To: gate-users at lists.opengatecollaboration.org; Josh Knowland
> <jknowland at lucernodynamics.com>
> Subject: Source definition in STL complex geometry
>
> Hi Josh,
>
> I was also thinking in the similar way i.e, create a source that is slightly larger than STL file’s approximate size.
>
> Which command is best, confine or attach in source definition? I’m using attachTo instead of ../gps/confine [volume].
>
> Another thing: In my STL phantom, I’ve added lungs cavity and some spheres (lesions). I want to define a lung cavity so that it mimics the lung. In real phantoms styrofoam is added to mimic the lung. Any thoughts on this matter?
>
> Thank you.
>
> Ashok
>
>
More information about the Gate-users
mailing list