Message: Re: using G4SubtractionSolid correctly for complex geometry Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: using G4SubtractionSolid correctly for complex geometry 

Forum: Geometry
Re: None using G4SubtractionSolid correctly for complex geometry (Anthony Villano)
Re: None Re: using G4SubtractionSolid correctly for complex geometry (John Allison)
Re: None Re: using G4SubtractionSolid correctly for complex geometry (John Allison)
Re: Agree Re: using G4SubtractionSolid correctly for complex geometry (Michael H. Kelsey)
Re: None Re: using G4SubtractionSolid correctly for complex geometry (John Allison)
Date: 16 Jan, 2016
From: Anthony Villano <Anthony Villano>

So I've used the Ray Tracer to visualize the geometry via a macro:

/vis/scene/create

# Create a scene handler for a specific graphics system
# (Edit the next lines(s) to choose another graphics system
/vis/open RayTracer

# Draw Scene
#
/vis/viewer/set/style surface /vis/viewer/set/lightsThetaPhi 0 0 deg /vis/viewer/set/viewpointThetaPhi 90 90 deg #/vis/viewer/zoom 1.5

#make some special colors /tracking/storeTrajectory 0 /vis/scene/add/trajectories /vis/modeling/trajectories/create/drawByParticleID /vis/modeling/trajectories/drawByParticleID-0/setRGBA neutron 1 0.45 0.08 1 /vis/scene/endOfEventAction accumulate

#make a raytrace model /vis/rayTracer/eyePosition 0.1 0.1 0.1 m /vis/rayTracer/trace

The results are a little strange, but the geometry engine doesn't fail. The results look distorted though (See g4RayTracer.jpeg attached):

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2016/01/16/15.10-20728-g4RayTracer.jpeg

I'll probably go from here by trying the pointer renaming quickly, then perhaps try to develop the subtraction and mother-volume methods in parallel.

I did the drawings in AutoCad, and I'm not sure I want to try to convert them to GDML. Partly because I don't see (using google) an obvious native export tool from AutoCAD, and I don't want to have to install another go between CAD package. I also don't have a clear picture of how this geometry would then be embedded in a larger geometry, which is ultimately the goal.

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

1 None: Re: using G4SubtractionSolid correctly for complex geometry   (Anthony Villano - 16 Jan, 2016)
(_ None: Re: using G4SubtractionSolid correctly for complex geometry   (John Allison - 17 Jan, 2016)
(_ None: Re: using G4SubtractionSolid correctly for complex geometry   (Anthony Villano - 17 Jan, 2016)
 Add Message Add Message
to: "Re: using G4SubtractionSolid correctly for complex 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 ]