Hello Kyle,

 

There are built-in tools within GEANT itself which allow geometry overlaps to be checked.

For instance:

 

> slic -g ./mygeom.lcdd -n

>/geometry/test/run

 

Norman

 

From: [log in to unmask] [mailto:[log in to unmask]] On Behalf Of Kyle McCarty
Sent: Tuesday, July 18, 2017 9:13 AM
To: Maurik Holtrop <[log in to unmask]>
Cc: Alessandra Filippi <[log in to unmask]>; hps-software <[log in to unmask]>
Subject: Re: Geometry Viewer

 

Hello,

 

I was able to get it working well enough to see that there was no overlap using the wireframe display option and orthographic projections, so I was able to accomplish my goal. The current geometry tests are not sophisticated enough to really necessitate a computer-driven intersection test, though this may be useful in the future.

 

Thanks,

 

Kyle

 

On Tue, Jul 18, 2017 at 11:59 AM, Maurik Holtrop <[log in to unmask]> wrote:

Hello Kyle,

 

If you are using the method: LCDD -> GDML -> ROOT , which is probably the script you are talking about, then you can check the overlaps also using the ROOT geometry tools.

 

Please let me know if you still have an issue checking for overlaps.

 

Best,

Maurik

 

On Jul 18, 2017, at 10:35 AM, Kyle McCarty <[log in to unmask]> wrote:

 

Hello Alessandra,

 

Thanks for the response. I couldn't the SLIC method to work. I can't install SLIC, due to compatibility issues, on my local machine and it was struggling to use X11 forwarding from a machine where it does work. However, I found a Python script on the same page that I was able to get to render, so it fixed my problem anyway. This properly shows the vacuum box.

 

Thanks,

 

Kyle

 

On Tue, Jul 18, 2017 at 5:27 AM, Alessandra Filippi <[log in to unmask]> wrote:

Hi Kyle,
I way I use to inspect geometries is to view the lcdd file through slic. If it still works, here there are some explanations about how to do it:
https://confluence.slac.stanford.edu/display/hpsg/Detector+Geometry+Overview

maybe it's too coarse to your needs, but usually gives helpful information. I don't remember about the vacuum box being displayed by defauls but if not it can be switched on in the rendering.
Hope this helps, cheers
    Alessandra









On Mon, 17 Jul 2017, Kyle McCarty wrote:

Hello,
I need to display the complete HPS geometry to check for overlap in
components.

I know how to convert a geometry to heprep and view it in JAS3, but this
only displays a portion. It excludes the vacuum box, which is the relevant
piece in this case. Does anyone know how this may be done?

Thanks.

Kyle

____________________________________________________________________________

Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1


 

 


Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1

 

 


Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1

 

 


Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1



Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1