Message: STEP file import formats under Geant4 9.2? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question STEP file import formats under Geant4 9.2? 

Forum: Persistency
Date: 26 Mar, 2009
From: Mark Looper <Mark Looper>

I have been trying to figure out how to use the new CAD file import capability in version 9.2, but the MEs I've talked to here don't recognize the file formats supported. Geant4 9.2 is supposed to be able to read STEP files, but the example given ($G4INSTALL/examples/extended/persistency/gdml/G02) doesn't use *.step or *.stp as the input file, but rather a pair of files with names of the form *.tree and *.geom. As I said, our SolidWorks users have never seen these; the README file calls them "STEP Tool files," so does that mean they are a (proprietary?) format put out by the commercial "STEP Tools" software (www.steptools.com)? Is there a way to translate a *.step file into such a file pair, preferably with some freeware app or SolidWorks add-on?

Also, in DetectorConstruction.cc of that example I see that parser.ParseST returns a G4LogicalVolume that encloses the "hardware" and is assigned one material, with the "hardware" assigned another material as a daughter volume. In the example input files, there is a single daughter volume; can the input file contain more than one? If so, do I understand correctly that all daughter volumes will be assigned a single material (Aluminum in the example), so that I will have to specify other materials by hand? Thanks.

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

1 Feedback: Re: STEP file import formats under Geant4 9.2?   (John Watts - 27 Mar, 2009)
(_ More: Re: STEP file import formats under Geant4 9.2?   (Mark Looper - 06 May, 2009)
(_ More: Re: STEP file import formats under Geant4 9.2?   (Mark Looper - 06 May, 2009)
 Add Message Add Message
to: "STEP file import formats under Geant4 9.2?"

 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 ]