Many thanks to Oliver for putting this package together. I was able to get it up and running in a fresh Ubuntu 10.04 virtual machine in no time at all, whereas I had been unable to get it compiled from source at all over the weekend. Now I can stop messing with environment set-up and actually do some useful work!
Also, the instructions posted on PythonOCC the website by Thomas worked flawlessly. Thanks for that, too! Cheers -John On Tue, May 4, 2010 at 09:24, <pythonocc-users-requ...@gna.org> wrote: > Send Pythonocc-users mailing list submissions to > pythonocc-users@gna.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.gna.org/listinfo/pythonocc-users > or, via email, send a message with subject or body 'help' to > pythonocc-users-requ...@gna.org > > You can reach the person managing the list at > pythonocc-users-ow...@gna.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Pythonocc-users digest..." > > > Today's Topics: > > 1. Debian package for Ubuntu 10.04 (Thomas Paviot) > 2. Re: Strange Duplicate References... (Dave Cowden) > 3. Re: Debian package for Ubuntu 10.04 (Jelle Feringa) > 4. Re: Debian package for Ubuntu 10.04 (Dave Cowden) > 5. Re: Debian package for Ubuntu 10.04 (Yorik van Havre) > 6. Re: Debian package for Ubuntu 10.04 (Thomas Paviot) > 7. Re: Debian package for Ubuntu 10.04 (Thomas Paviot) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 4 May 2010 12:32:00 +0200 > From: Thomas Paviot <tpav...@gmail.com> > Subject: [Pythonocc-users] Debian package for Ubuntu 10.04 > To: "pythonOCC users mailing list." <pythonocc-users@gna.org> > Message-ID: > <h2ybfc3e86e1005040332w72509b65w288fc7e186ded...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Hi, > > Excellent news: Oliver Borm released a debian package for the latest Ubuntu > 10.04 LTS release. > > https://launchpad.net/~cae-team/+archive/ppa<https://launchpad.net/%7Ecae-team/+archive/ppa> > > I will test this package as soon as my own machine is upgraded to Ubuntu > 10.04. > > Best Regards, > > Thomas > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: /public/pythonocc-users/attachments/20100504/4ae554c0/attachment.htm > > ------------------------------ > > Message: 2 > Date: Tue, 4 May 2010 06:35:22 -0400 > From: Dave Cowden <dave.cow...@gmail.com> > Subject: Re: [Pythonocc-users] Strange Duplicate References... > To: "pythonOCC users mailing list." <pythonocc-users@gna.org> > Message-ID: > <j2ia01427d51005040335ne8513ad5p74b3a214f507c...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Ok thanks. Unfortunately both simple examples I tried didn't repro the > problem. It might be that the garbage collector has to run for the > problem to happen. I only experience the issue when a lot of work has > been done between creating and using the list. > > On 5/4/10, Thomas Paviot <tpav...@gmail.com> wrote: > > 2010/5/4 Dave Cowden <dave.cow...@gmail.com> > > > >> Hey, all: > >> > >> I have had a strange problem occur a couple of times, wondering if > anyone > >> recognizes it. > >> > >> The behavior occurs when looping over shapes and dealing with them in > >> python lists. During the iteration, > >> all of the objects appear normal and correct. But later when they are > >> accessed in the list, all of the references in the list appear to be the > >> last object written into the list. > >> > >> > >> For example, I had code like the below, which was transforming a list of > >> shapes: > >> > >> wireList = []; #this is a list of wires that are all ok > >> > >> > >> #make transformation > >> p1 = gp.gp_Pnt(0,0,0); > >> p2 = gp.gp_Pnt(0,0,z); > >> xform = gp.gp_Trsf(); > >> xform.SetTranslation(p1,p2); > >> bt = BRepBuilderAPI.BRepBuilderAPI_Transform(xform); > >> > >> newList = []; > >> > >> for w in wireList: > >> bt.Perform(w,True); > >> newList.append(bt.Shape() ); > >> TestDisplay.display.showShape(bt.Shape() ); > >> > >> > >> > >> When this code runs, the shapes displayed are correct. But later when > they > >> are accessed, what i get is a bunch of copies of the last one added. > >> > >> > >> I have also seen this behavior before iterating over wires using a > >> wireExplorer-- in that case, it was resolved by using the super-ugly and > >> annoying TopTools.TopTools_HSequenceOfShape() object instead of a python > >> list. > >> > >> Should I use HSequnceOfShape instead of python lists, or is there a > trick > >> that I can use to let me use lists? > >> > >> thanks! > >> > >> > > > > Hi Dave, > > > > I have to reproduce this issue from a simple example, and create a > unittest. > > > > In the meantime, you may have to use the HSequnceOfShape. Although it's > not > > pythonic, it's more safe to use builtin OCC list manager rather than > python > > list. The mapping between python lists and OCC lists have to be performed > at > > the SWIG level. > > > > Best Regards, > > > > Thomas > > > > > > ------------------------------ > > Message: 3 > Date: Tue, 4 May 2010 12:40:02 +0200 > From: Jelle Feringa <jelleferi...@gmail.com> > Subject: Re: [Pythonocc-users] Debian package for Ubuntu 10.04 > To: "pythonOCC users mailing list." <pythonocc-users@gna.org> > Message-ID: <3a0901e2-aceb-4344-a7b0-86f944b05...@gmail.com> > Content-Type: text/plain; charset="us-ascii" > > COOOOOOOOOOOOL! I saw some google alerts on this... > Wow, excellent! Can I have the honour of blog posting this? > I'm not so sure which version I have of ubuntu, but your right; test > before post!!! > > THOMAS THIS IS AMAZINGLY GOOD NEWS!!!!!!!! > > -jelle > > On May 4, 2010, at 12:32 PM, Thomas Paviot wrote: > > > Hi, > > > > Excellent news: Oliver Borm released a debian package for the latest > > Ubuntu 10.04 LTS release. > > > > https://launchpad.net/~cae-team/+archive/ppa<https://launchpad.net/%7Ecae-team/+archive/ppa> > > > > I will test this package as soon as my own machine is upgraded to > > Ubuntu 10.04. > > > > Best Regards, > > > > Thomas > > > > _______________________________________________ > > Pythonocc-users mailing list > > Pythonocc-users@gna.org > > https://mail.gna.org/listinfo/pythonocc-users > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: /public/pythonocc-users/attachments/20100504/9acbb999/attachment.htm > > ------------------------------ > > Message: 4 > Date: Tue, 4 May 2010 08:49:33 -0400 > From: Dave Cowden <dave.cow...@gmail.com> > Subject: Re: [Pythonocc-users] Debian package for Ubuntu 10.04 > To: "pythonOCC users mailing list." <pythonocc-users@gna.org> > Message-ID: > <t2ua01427d51005040549od46858a8ib035c55b067f1...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Yes, I'm very excited as well. I tried valiantly but unsuccessfully to get > 0.4 working on my old RedHat 8.0 box--- but it'd be great if there's a > linux > flavor with a simple-to-install package. > > On Tue, May 4, 2010 at 6:40 AM, Jelle Feringa <jelleferi...@gmail.com > >wrote: > > > COOOOOOOOOOOOL! I saw some google alerts on this... > > Wow, excellent! Can I have the honour of blog posting this? > > I'm not so sure which version I have of ubuntu, but your right; test > before > > post!!! > > > > THOMAS THIS IS AMAZINGLY GOOD NEWS!!!!!!!! > > > > -jelle > > > > On May 4, 2010, at 12:32 PM, Thomas Paviot wrote: > > > > Hi, > > > > Excellent news: Oliver Borm released a debian package for the latest > Ubuntu > > 10.04 LTS release. > > > > https://launchpad.net/~cae-team/+archive/ppa<https://launchpad.net/%7Ecae-team/+archive/ppa> > > > > I will test this package as soon as my own machine is upgraded to Ubuntu > > 10.04. > > > > Best Regards, > > > > Thomas > > > > _______________________________________________ > > Pythonocc-users mailing list > > Pythonocc-users@gna.org > > https://mail.gna.org/listinfo/pythonocc-users > > > > > > > > _______________________________________________ > > Pythonocc-users mailing list > > Pythonocc-users@gna.org > > https://mail.gna.org/listinfo/pythonocc-users > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: /public/pythonocc-users/attachments/20100504/51669750/attachment.htm > > ------------------------------ > > Message: 5 > Date: Tue, 4 May 2010 11:40:58 -0300 > From: Yorik van Havre <yo...@gmx.fr> > Subject: Re: [Pythonocc-users] Debian package for Ubuntu 10.04 > To: "pythonOCC users mailing list." <pythonocc-users@gna.org> > Message-ID: > <h2m233107ae1005040740ib43a5203wc3d5abca185b...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Excellent! > building pythonocc always gave me a bit of headache... Actually there was > quite some time I didn't use it because of laziness... > with a minor tweak (changing the python dependency version from >=2.6 to > >=2.5, howto here: http://forums.linuxmint.com/viewtopic.php?f=42&t=35136), > this package works perfectly on debian squeeze too. I have rebuilt an amd64 > package here, for who's interested: > http://yorik.uncreated.net/archive/packages/python-occ_0.4-1ppa2_amd64.deb > > -- > Yorik van Havre S?o Paulo Brazil http://yorik.uncreated.net > > > On 4 May 2010 09:49, Dave Cowden wrote: > > > Yes, I'm very excited as well. I tried valiantly but unsuccessfully to > get > > 0.4 working on my old RedHat 8.0 box--- but it'd be great if there's a > linux > > flavor with a simple-to-install package. > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: /public/pythonocc-users/attachments/20100504/d6c7c284/attachment.htm > > ------------------------------ > > Message: 6 > Date: Tue, 4 May 2010 16:45:28 +0200 > From: Thomas Paviot <tpav...@gmail.com> > Subject: Re: [Pythonocc-users] Debian package for Ubuntu 10.04 > To: "pythonOCC users mailing list." <pythonocc-users@gna.org> > Message-ID: > <z2nbfc3e86e1005040745z7b0d8a6bv349f0b3fdd15d...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > 2010/5/4 Yorik van Havre <yo...@gmx.fr> > > > Excellent! > > building pythonocc always gave me a bit of headache... > > > Me too! > > > > Actually there was quite some time I didn't use it because of laziness... > > with a minor tweak (changing the python dependency version from >=2.6 to > > >=2.5, howto here: > http://forums.linuxmint.com/viewtopic.php?f=42&t=35136), this package > works perfectly on debian squeeze too. I have rebuilt an > > amd64 package here, for who's interested: > > > http://yorik.uncreated.net/archive/packages/python-occ_0.4-1ppa2_amd64.deb > > > Many thanks Yorik, I will update the pythonocc website with these > information. > > > > > > > > -- > > Yorik van Havre S?o Paulo Brazil http://yorik.uncreated.net > > > > > Thomas > > > > > > > > On 4 May 2010 09:49, Dave Cowden wrote: > > > >> Yes, I'm very excited as well. I tried valiantly but unsuccessfully to > get > >> 0.4 working on my old RedHat 8.0 box--- but it'd be great if there's a > linux > >> flavor with a simple-to-install package. > > > > > > _______________________________________________ > > Pythonocc-users mailing list > > Pythonocc-users@gna.org > > https://mail.gna.org/listinfo/pythonocc-users > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: /public/pythonocc-users/attachments/20100504/f1024e0e/attachment.htm > > ------------------------------ > > Message: 7 > Date: Tue, 4 May 2010 17:23:19 +0200 > From: Thomas Paviot <tpav...@gmail.com> > Subject: Re: [Pythonocc-users] Debian package for Ubuntu 10.04 > To: "pythonOCC users mailing list." <pythonocc-users@gna.org> > Message-ID: > <o2sbfc3e86e1005040823o7ee2a8c6y44d1515fbe188...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Hi, > > I've successfully tested the 32 bit package, from a new installation of > Ubuntu 10.04 that comes out of the box. > > Thomas > > 2010/5/4 Thomas Paviot <tpav...@gmail.com> > > > 2010/5/4 Yorik van Havre <yo...@gmx.fr> > > > > Excellent! > >> building pythonocc always gave me a bit of headache... > > > > > > Me too! > > > > > >> Actually there was quite some time I didn't use it because of > laziness... > >> with a minor tweak (changing the python dependency version from >=2.6 to > >> >=2.5, howto here: > http://forums.linuxmint.com/viewtopic.php?f=42&t=35136), this package > works perfectly on debian squeeze too. I have rebuilt an > >> amd64 package here, for who's interested: > >> > http://yorik.uncreated.net/archive/packages/python-occ_0.4-1ppa2_amd64.deb > > > > > > Many thanks Yorik, I will update the pythonocc website with these > > information. > > > > > >> > >> > >> -- > >> Yorik van Havre S?o Paulo Brazil http://yorik.uncreated.net > >> > >> > > Thomas > > > > > >> > >> > >> On 4 May 2010 09:49, Dave Cowden wrote: > >> > >>> Yes, I'm very excited as well. I tried valiantly but unsuccessfully to > >>> get 0.4 working on my old RedHat 8.0 box--- but it'd be great if > there's a > >>> linux flavor with a simple-to-install package. > >> > >> > >> _______________________________________________ > >> Pythonocc-users mailing list > >> Pythonocc-users@gna.org > >> https://mail.gna.org/listinfo/pythonocc-users > >> > >> > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: /public/pythonocc-users/attachments/20100504/50606565/attachment.htm > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: step7_helloworld.png > Type: image/png > Size: 176421 bytes > Desc: not available > Url : /public/pythonocc-users/attachments/20100504/50606565/attachment.png > > ------------------------------ > > _______________________________________________ > Pythonocc-users mailing list > Pythonocc-users@gna.org > https://mail.gna.org/listinfo/pythonocc-users > > > End of Pythonocc-users Digest, Vol 18, Issue 5 > ********************************************** > -- John English Boulder Engineering Studio 303-523-2366
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users