Message: Re: CAD to GEANT4 readable geometry Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: CAD to GEANT4 readable geometry 

Forum: Geometry
Re: Question CAD to GEANT4 readable geometry (Leonardo Ghizoni)
Date: 25 Mar, 2016
From: John Allison <John Allison>

Hi Leonardo

There's no free guaranteed supported smooth way of getting CAD files into Geant4.

If you can ask the CAD engineer to produce a STL file you're welcome to take inspiration from some code (attached) that I wrote myself in desperation recently to read a binary STL file.

I could put you in touch with someone who's working on a mesh to GDML converter. GDML is the obvious proper way to go. I'm waiting for all CAD systems to have a feature of exporting to GDML - only FASTRAD can do it at the moment, as far as I know.

Good luck

John

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2016/03/25/10.33-32720-B1DetectorConstruction.cc

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Ok: Re: CAD to GEANT4 readable geometry   (Leonardo Ghizoni - 27 Mar, 2016)
 Add Message Add Message
to: "Re: CAD to GEANT4 readable geometry"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]