[OpenSCAD] openscadpy

Henning Meyer tutmann at gmail.com
Thu May 19 09:50:11 CEST 2011


oh. my fault (I introduced this bug, while trying to build on windows
- still no success).
It's fixed. Please: "git pull origin master" - should work now.

2011/5/19 Brad Pitcher <bradpitcher at gmail.com>:
> Hey, that looks really awesome!
> Unfortunately I'm having some trouble compiling. Maybe you can help? I've
> got all the libs installed, I had to change the location of the python
> headers to /usr/local/include/python2.7, and now I'm getting an error that
> doesn't look like a missing library error. I cancelled out of the build at
> this point because if I let it run it just printed pages and pages of
> warnings. I have libboost 1.4 installed. Any idea what this is about?
> g++ -c -pipe -frounding-math -O2 -D_REENTRANT -Wall -W
> -DOPENSCAD_VERSION=2011.05.18 -DUSE_PROGRESSWIDGET -DENABLE_CGAL
> -DENABLE_OPENCSG -DENABLE_PYTHON -DBOOST_PYTHON_STATIC_LIB -DQT_NO_DEBUG
> -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
> -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore
> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4
> -Isrc -I/usr/include/eigen2 -I/usr/local/include/python2.7
> -I/usr/X11R6/include -Iobjects -Iobjects -o objects/pythonscripting.o
> src/pythonscripting.cc
> src/pythonscripting.cc: In member function ‘void
> PyContext::init(boost::python::api::object&, double)’:
> src/pythonscripting.cc:71: error: ‘class boost::python::api::object’ has no
> member named ‘contains’
> src/pythonscripting.cc: In member function ‘boost::python::api::object
> PyContext::getResult()’:
> src/pythonscripting.cc:78: error: ‘class boost::python::api::object’ has no
> member named ‘contains’
> src/pythonscripting.cc: In function ‘bool isnan(double)’:
> src/pythonscripting.cc:143: error: new declaration ‘bool isnan(double)’
> /usr/include/bits/mathcalls.h:235: error: ambiguates old declaration ‘int
> isnan(double)’
> ^Cmake: *** wait: No child processes.  Stop.
> make: *** Waiting for unfinished jobs....
> make: *** wait: No child processes.  Stop.
> Thanks,
> Brad
>
>
> On Wed, May 18, 2011 at 3:27 PM, Henning Meyer <tutmann at gmail.com> wrote:
>>
>> Hello All,
>>
>> I'd like to announce openscadpy.
>> Like pyscad - this is a python port of openscad.
>> Opposed to pyscad (which uses SWIG afaik) openscadpy uses Boot Python
>> bindings in order build a consistent python base.
>> Please have a look at it: https://github.com/hmeyer/openscadpy
>> All examples were translated an two new examples are added. So the
>> slight syntax changes should be clear.
>> openscadpy is far from error free - please play with it and test it.
>>
>> Also: Anybody eager to translate MCAD to MCADpy?
>>
>> I'd happy to get feedback and happy to help and answer questions.
>>
>> Greetings from Berlin,
>>
>> Henning
>> _______________________________________________
>> OpenSCAD mailing list
>> OpenSCAD at rocklinux.org
>> http://rocklinux.net/mailman/listinfo/openscad
>
>
> _______________________________________________
> OpenSCAD mailing list
> OpenSCAD at rocklinux.org
> http://rocklinux.net/mailman/listinfo/openscad
>
>


More information about the OpenSCAD mailing list