Hello, everyone:
It's been a while, but i'm back to work on my slicer project finally.
i have made good progress the last couple of days-- i hope to upload what I
have soon. i have sliced a shape and viewed in a viewer window ( thanks for
samples, Thomas!).
What I would like to do is provide
Hi,
This is going to be a long one.
I have been attempting to set up pythonOCC on linux (Ubuntu8.04 for what
it's worth) again, following instructions on the wiki. I'm running into
a few problems. First off, here's what I've done:
I followed instructions here:
http://www.pythonocc.org/wiki
It's been a while, but i'm back to work on my slicer project finally.
Hi Dave,
Good to have you back ;')
i have made good progress the last couple of days-- i hope to
upload what I have soon. i have sliced a shape and viewed in a
viewer window ( thanks for samples, Thomas!).
Great, did
> I have been attempting to set up pythonOCC on linux (Ubuntu8.04 for
> what
> it's worth)
Thomas recently made a binary for Ubuntu, its sure is worth checking
this out:
http://www.pythonocc.org/Releases/Ubuntu_8_04/
Since we havent tested this binary, this release has not been
announced, s
Hi Dan,
> problem 1: the link to the tar file for source on
> http://www.opencascade.org/getocc/download/loadocc/ that shows a link to
> "OpenCASCADE_src.tgz" actually goes here:
> http://www.opencascade.org/org/community/register/ and seems to be an
> infinite loop > it goes back to
> htt
I have pythonOCC installed in /usr/lib/python2.5/site-packages/OCC
it sort of looks like I have pythonOCC going:
>>> import OCC
>>>
any idea what might cause this?:
>>> from OCC import BRep
Traceback (most recent call last):
File "", line 1, in
File "OCC/BRep.py", line 6, in
impo
Arthur Magill wrote:
> Hi Dan,
>
>
>> problem 1: the link to the tar file for source on
>> http://www.opencascade.org/getocc/download/loadocc/ that shows a link to
>> "OpenCASCADE_src.tgz" actually goes here:
>> http://www.opencascade.org/org/community/register/ and seems to be an
>> infi
>
> I've registered in the past and logged in. But when I went to that page
> to download, I was redirected to the 'register' page.
>
Ah, geddit now. Yeah, that's a bit confusing. Not too much we can do to fix it
though - make the wiki more clear I guess. Fancy having a go, while it's fresh
i
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
>Great, did you see the parallel slicer we made?
>Its using all the computational capacity available; useful when slicing
more complex objects.
No, I didn't. I will look through the samples, as well as Bryan's work
>Yes indeed.
>You basically need to add another display window, where in t
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
Cool - thanks for the confirmation. Enjoy playing!
Arthur
___
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users
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
> 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
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
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
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
> 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
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
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
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
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
22 matches
Mail list logo