Embedded python is not 100% stable

Guenther Sohler guenther.sohler at gmail.com
Thu Apr 13 03:40:39 EDT 2023


Hi Python LIst,

I have been working on adding embedded python into OpenSCAD (
www.openscad.org)
for some time already. For that i coded/added an additional Python Type
Object
which means to hold openscad geometric data.

It works quite well but unfortunately its not 100% stable and i have been
heavily checking
all the functions which are referenced in the PyType Object and tried to
match
them with the documentation which i found in the python web site but now i
am stuck
and i cant progress any further
I am specially interested why the program constantly crashes when i
activate the lines 14 and 15
in pyopenscad.cc.
I have attached the two most relevant files and I would be happy if anybody
interested
could tell me, if there is an obvious bug popping into your eyes.
If anybody is interested to see the complete picture, all source code is
available checked in
in github @

https://github.com/gsohler/openscad.git branch "libfive"
Thank you for reading. Any spotted bug found will make me happy


More information about the Python-list mailing list