Charles–
You are correct. The problem is that my gtk.gtkgl is not there (It fails
to import). And you are also correct about the difficulty in finding
working binaries for windows.
And thank you for addressing this problem in your issue documentation, but
my problem is that ccad fails to *install* in the first place.
– Doug

On Friday, August 22, 2014, <pythonocc-users-requ...@gna.org> wrote:

> Send Pythonocc-users mailing list submissions to
>         pythonocc-users@gna.org <javascript:;>
>
> 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 <javascript:;>
>
> You can reach the person managing the list at
>         pythonocc-users-ow...@gna.org <javascript:;>
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Pythonocc-users digest..."
>
>
> Today's Topics:
>
>    1. Re: Ccad (Doug Blanding)
>    2. Re: Ccad (Charles Sharman)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 21 Aug 2014 09:32:31 -0400
> From: Doug Blanding <dbland...@gmail.com <javascript:;>>
> To: "pythonocc-users@gna.org <javascript:;>" <pythonocc-users@gna.org
> <javascript:;>>
> Subject: Re: [Pythonocc-users] Ccad
> Message-ID:
>         <
> caou1hfjka0d-d2_xlzerf6dvurcmrnursrjaeuwu+8uf1of...@mail.gmail.com
> <javascript:;>>
> Content-Type: text/plain; charset="utf-8"
>
> I was trying to install Ccad on my windows 7, 32-bit computer and got the
> error: please install python-gtk.
> I am running python 2.7.8 and have installed py-gtk 2.24, but I continue to
> get the same error message.
> Within Python, I am able to import pygtk.
> Any idea what the problem is?
> ? Doug
>
> On Thursday, August 21, 2014, <pythonocc-users-requ...@gna.org
> <javascript:;>> wrote:
>
> > Send Pythonocc-users mailing list submissions to
> >         pythonocc-users@gna.org <javascript:;> <javascript:;>
> >
> > 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 <javascript:;> <javascript:;>
> >
> > You can reach the person managing the list at
> >         pythonocc-users-ow...@gna.org <javascript:;> <javascript:;>
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Pythonocc-users digest..."
> >
> >
> > Today's Topics:
> >
> >    1. ccad (Charles Sharman)
> >    2. Re: ccad (Dave Cowden)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Wed, 20 Aug 2014 15:53:58 +0000 (UTC)
> > From: Charles Sharman <charles.shar...@skybeam.com <javascript:;>
> <javascript:;>>
> > To: pythonocc-users@gna.org <javascript:;> <javascript:;>
> > Subject: [Pythonocc-users] ccad
> > Message-ID: <loom.20140820t173050-...@post.gmane.org <javascript:;>
> <javascript:;>>
> > Content-Type: text/plain; charset=us-ascii
> >
> > I'm pleased to announce the initial release of ccad, a wrapper of
> pythonocc
> > for mechanical CAD.  ccad is essentially another Level 2 interface to
> > pythonocc like previous works before it from Dave, Rudeger, Jayesh, and
> > pythonocc's own src/addons.  I don't want to exalt this work over the
> > others.
> > Roughly, it's more complete than some from a mechanical CAD standpoint,
> > purely python, written to completely hide the complexity of pythonocc and
> > OCC, fairly well-documented, and licensed under the same license as
> > pythonocc.
> >
> > I developed it in late-2011/early-2012 to create a building toy.  I
> > successfully designed the entire toy set and US patent drawings with
> it.  I
> > didn't release ccad earlier, because it was a little unpolished, and I
> > wanted
> > to release it in conjunction with the toy to get some publicity.
> > Unfortunately, the toy introduction continues to push out.  Therefore, I
> > decided to introduce ccad now, thinking it may help those who find
> > mastering
> > pythonocc daunting, particularly the newbie.  Marko and Thomas made
> helpful
> > contributions to the current release.
> >
> > Because it is built directly on top of pythonocc, development can be very
> > rapid.  You only need to know pythonocc to become a developer.  If you
> want
> > to contribute, let me know, and I can add you to the project.
> >
> > You can find the project here:
> >
> > https://github.com/charles-sharman/ccad
> >
> >
> >
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Wed, 20 Aug 2014 13:10:29 -0400
> > From: Dave Cowden <dave.cow...@gmail.com <javascript:;> <javascript:;>>
> > To: "pythonOCC users mailing list." <pythonocc-users@gna.org
> <javascript:;>
> > <javascript:;>>
> > Subject: Re: [Pythonocc-users] ccad
> > Message-ID:
> >         <CAD+r_Dw6bfOJZyU07p_3b4D7JhnVfjxGTCm6e+xn-Y68_JcM=
> > g...@mail.gmail.com <javascript:;> <javascript:;>>
> > Content-Type: text/plain; charset="utf-8"
> >
> > sweet!  i cant wait to look at this!
> >
> >
> > On Wed, Aug 20, 2014 at 11:53 AM, Charles Sharman <
> > charles.shar...@skybeam.com <javascript:;> <javascript:;>> wrote:
> >
> > > I'm pleased to announce the initial release of ccad, a wrapper of
> > pythonocc
> > > for mechanical CAD.  ccad is essentially another Level 2 interface to
> > > pythonocc like previous works before it from Dave, Rudeger, Jayesh, and
> > > pythonocc's own src/addons.  I don't want to exalt this work over the
> > > others.
> > > Roughly, it's more complete than some from a mechanical CAD standpoint,
> > > purely python, written to completely hide the complexity of pythonocc
> and
> > > OCC, fairly well-documented, and licensed under the same license as
> > > pythonocc.
> > >
> > > I developed it in late-2011/early-2012 to create a building toy.  I
> > > successfully designed the entire toy set and US patent drawings with
> > it.  I
> > > didn't release ccad earlier, because it was a little unpolished, and I
> > > wanted
> > > to release it in conjunction with the toy to get some publicity.
> > > Unfortunately, the toy introduction continues to push out.  Therefore,
> I
> > > decided to introduce ccad now, thinking it may help those who find
> > > mastering
> > > pythonocc daunting, particularly the newbie.  Marko and Thomas made
> > helpful
> > > contributions to the current release.
> > >
> > > Because it is built directly on top of pythonocc, development can be
> very
> > > rapid.  You only need to know pythonocc to become a developer.  If you
> > want
> > > to contribute, let me know, and I can add you to the project.
> > >
> > > You can find the project here:
> > >
> > > https://github.com/charles-sharman/ccad
> > >
> > >
> > > _______________________________________________
> > > Pythonocc-users mailing list
> > > Pythonocc-users@gna.org <javascript:;> <javascript:;>
> > > https://mail.gna.org/listinfo/pythonocc-users
> > >
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL:
> > </public/pythonocc-users/attachments/20140820/8c614987/attachment.html>
> >
> > ------------------------------
> >
> > Subject: Digest Footer
> >
> > _______________________________________________
> > Pythonocc-users mailing list
> > Pythonocc-users@gna.org <javascript:;> <javascript:;>
> > https://mail.gna.org/listinfo/pythonocc-users
> >
> >
> > ------------------------------
> >
> > End of Pythonocc-users Digest, Vol 66, Issue 1
> > **********************************************
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> </public/pythonocc-users/attachments/20140821/77091b84/attachment.html>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 21 Aug 2014 17:48:24 +0000 (UTC)
> From: Charles Sharman <charles.shar...@skybeam.com <javascript:;>>
> To: pythonocc-users@gna.org <javascript:;>
> Subject: Re: [Pythonocc-users] Ccad
> Message-ID: <loom.20140821t183439-...@post.gmane.org <javascript:;>>
> Content-Type: text/plain; charset=us-ascii
>
> Hi Doug,
>
> I've only tested ccad on Debian Linux 6.0 and 7.0.  Thanks for trying it on
> Windows.  I would guess you're missing python-gtkglext.  See my details
> below.
>
> The statement that would trigger the error you see is this (in display.py):
>
> import pygtk, gtk, gtk.gtkgl, gobject
>
> First, make sure your pygtk installation is working by running some of the
> examples.  If they weren't in your installation, you can find them at
> http://pygtk.org/pygtk2tutorial/examples/.  I expect it will be okay.
>
> Second, make sure you not only can import pygtk, but make sure you can also
> import gtk, gtk.gtkgl, and gobject.  My guess is gtk.gtkgl won't work.  I
> should have put the dependencies in the README.  They are in the
> documentation.  You need gtkglext in addition to gtk to work ccad.
> Unfortunately, the Windows binaries are broken at
> https://projects.gnome.org/gtkglext/.  You can try compiling it, but I've
> heard that's tricky.  Instead, you can use the  binaries at
> http://pycam.sourceforge.net/download.html and click on Requirements
> Installer.  However, last I checked, that installed it under python 2.5.
> If
> you find a better way to install python-gtkglext, let me know.
>
> I added a quick patch to display.py to allow people with correctly
> operating
> pythonocc and missing gtk.gtkgl to view objects.  You can download it and
> try it if you wish.  The issue documentation is at:
>
> https://github.com/charles-sharman/ccad/issues/1
>
> However, the viewer will be much more limited than the gtk one.
>
> - Charles
>
>
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Pythonocc-users mailing list
> Pythonocc-users@gna.org <javascript:;>
> https://mail.gna.org/listinfo/pythonocc-users
>
>
> ------------------------------
>
> End of Pythonocc-users Digest, Vol 66, Issue 2
> **********************************************
>
_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to