Re: [Pythonocc-users] linux setup -continued

2009-05-04 Thread Thomas Paviot
Dan Falck a écrit : > Jelle Feringa wrote: > >>> This might be a clue: >>> >>> >> import wx >> import wx.aui >> import wx.py >> from wxDisplay import GraphicsCanva3D >> >> >> This is really weird; GraphicsCanva3D is a class of the 0.1 r

Re: [Pythonocc-users] linux setup -continued

2009-05-04 Thread Jelle Feringa
> Sure, how do I get editing permissions? You just have to register. ___ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users

Re: [Pythonocc-users] linux setup -continued

2009-05-04 Thread Jelle Feringa
> Thanks for your feedback Dan. Happy to hear the Ubunutu binaries work as advertised ( great job Thomas! ). Good to have your feedback, such that we can provide easy setup on linux too. One distribution down, lots to follow. Cheers, -jelle > Then I missed this in my .bashrc script: > > exp

Re: [Pythonocc-users] linux setup -continued

2009-05-03 Thread Dan Falck
Arthur Magill wrote: > Hi Dan, > > Glad it all worked in the end. I think you're the first person to get Thomas' > Ubuntu bins working - and the first person to try ;-) Do you fancy adding > your > experience to the Ubuntu section on the wiki? > > Thanks, > > Arthur > > Sure, how do I g

Re: [Pythonocc-users] linux setup -continued

2009-05-03 Thread Arthur Magill
Hi Dan, Glad it all worked in the end. I think you're the first person to get Thomas' Ubuntu bins working - and the first person to try ;-) Do you fancy adding your experience to the Ubuntu section on the wiki? Thanks, Arthur Dan Falck wrote: > Jelle Feringa wrote: >>> This might be a

Re: [Pythonocc-users] linux setup -continued

2009-05-03 Thread Dan Falck
Jelle Feringa wrote: >> This might be a clue: >> > import wx > import wx.aui > import wx.py > from wxDisplay import GraphicsCanva3D > > > This is really weird; GraphicsCanva3D is a class of the 0.1 release > which is __really__ outdated. > Are you sure you're o

Re: [Pythonocc-users] linux setup -continued

2009-05-03 Thread Dan Falck
Ok, finally got it working by looking through emails between Bryan and Jelle. Here's a section of my .bashrc script: export CSF_GraphicShr=/opt/occ/lib/libTKOpenGl.so export CSR_GraphicShr=/opt/occ/lib/libTKOpenGl.so export CSF_EXCEPTION_PROMPT=1 I looked at Jelle's .bashrc script for inspirat

Re: [Pythonocc-users] linux setup -continued

2009-05-03 Thread Jelle Feringa
> This might be a clue: import wx import wx.aui import wx.py from wxDisplay import GraphicsCanva3D This is really weird; GraphicsCanva3D is a class of the 0.1 release which is __really__ outdated. Are you sure you're on pythonOCC 0.2? -jelle

Re: [Pythonocc-users] linux setup -continued

2009-05-03 Thread Dan Falck
This might be a clue: >>> import wx >>> import wx.aui >>> import wx.py >>> from wxDisplay import GraphicsCanva3D Traceback (most recent call last): File "", line 1, in ImportError: No module named wxDisplay >>> ___ Pythonocc-users mailing list

Re: [Pythonocc-users] linux setup -continued

2009-05-03 Thread Dan Falck
Hi Arthur, I'm sure I'll get it soon. You are helping me out a lot here. Arthur Magill wrote: > > Where have you installed OCC? Try > > > locate libTKOpenGl.so > > /opt/OpenCASCADE6.3.0/lib/libTKOpenGl.so /opt/OpenCASCADE6.3.0/lib/libTKOpenGl.so.0 /opt/OpenCASCADE6.3.0/lib/libTKOpenGl.so.0.0

Re: [Pythonocc-users] linux setup -continued

2009-05-03 Thread Arthur Magill
Bummer, I thought we had it. Have you added the environment variables to ~/.bashrc? It sounds like they're missing. Where have you installed OCC? Try > locate libTKOpenGl.so I think this will say /opt/OpenCASCADE6.3.0/lib on your setup? Set CSF_GraphicShr to wherever this lib appears > exp

Re: [Pythonocc-users] linux setup -continued

2009-05-03 Thread Jelle Feringa
> My goal is to generate family of part drawings > automatically, so this is a step in the right direction. That's a very interesting goal Dan. I've been trying to get Postscript output from OCC, but havent completely managed yet. I recently added an example how to get a hidden line drawing fro

Re: [Pythonocc-users] linux setup -continued

2009-05-03 Thread Dan Falck
Arthur Magill wrote: > Cool - thanks for the confirmation. Enjoy playing! > >Arthur > > > > ___ > Pythonocc-users mailing list > Pythonocc-users@gna.org > https://mail.gna.org/listinfo/pythonocc-users > > ok, I moved on to the 'InteractiveViewer' p

Re: [Pythonocc-users] linux setup -continued

2009-05-03 Thread Arthur Magill
Cool - thanks for the confirmation. Enjoy playing! Arthur ___ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users

Re: [Pythonocc-users] linux setup -continued

2009-05-03 Thread Dan Falck
Arthur Magill wrote: > I know, I know. It's obvious when you've seen it before - but it took me a > long > while the first time around ;-) > > You're missing the library path. I've just added a little more to the wiki > page > to explain - basically, you need to set a file in /etc/ld.so.conf.d

Re: [Pythonocc-users] linux setup -continued

2009-05-03 Thread Arthur Magill
I know, I know. It's obvious when you've seen it before - but it took me a long while the first time around ;-) You're missing the library path. I've just added a little more to the wiki page to explain - basically, you need to set a file in /etc/ld.so.conf.d telling your system where to find