RE: Python & OpenGL geometry

From: Michal Dwuznik <Michal.Dwuznik_at_cern.ch>
Date: Fri, 18 Jul 2008 11:46:07 +0200

-----Original Message-----
From: Andrei Gheata
Sent: Fri 7/18/2008 10:37 AM
To: Michal Dwuznik
Cc: roottalk (Mailing list discussing all aspects of the ROOT system) Subject: Re: [ROOT] Python & OpenGL geometry Hi Andrei,

my mistake sorry,
unfortunately after building from different media and using proper names after Align() I lose the possibility of changing attributes - both using already created TGeoVolume references and recreating them via gGeoManager.GetListOfUVolumes().
Is that 'by design'?
Regards
Michal

>Hi Michal,
>
> >box1 = ROOT.gGeoManager.MakeBox('box1', solid1, 10, 20, 30)
> >box2 = ROOT.gGeoManager.MakeBox('box2', solid1, 20, 20, 20)
>
>Looks for me the 2 volumes have the same medium, therefore material. Try
> solid2 for the second line. Also, create a TGeoManager using:
>
>ROOT.TGeoManager('geom','comment')
>
>Cheers,
>Andrei
>
>Michal Dwuznik wrote:
>> Hi,
>>

<cut> Received on Fri Jul 18 2008 - 11:46:12 CEST

This archive was generated by hypermail 2.2.0 : Fri Jul 18 2008 - 17:50:01 CEST