Python support #1293
Unanswered
KlumpRasmus
asked this question in
Q&A
Python support
#1293
Replies: 3 comments 1 reply
-
Hello my bro <3 Yes, it is possible to generate bindings in Python for BOSL2 for the purpose of use with Python-enabled OpenSCAD. To do this, you can use the Python ctypes module, which allows you to call functions in shared libraries written in C and C++ from Python. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Actually, BOSL2 is an OpenSCAD library. How does one set things up to call OpenSCAD functions and modules, and access OpenSCAD variables (Used to implement constants like UP, DOWN, etc) from Python?
…-Revar
On Oct 25, 2023, at 6:00 PM, Angel Patiño ***@***.***> wrote:
Hello my bro <3
Yes, it is possible to generate bindings in Python for BOSL2 for the purpose of use with Python-enabled OpenSCAD. To do this, you can use the Python ctypes module, which allows you to call functions in shared libraries written in C and C++ from Python.
—
Reply to this email directly, view it on GitHub <#1293 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AACVOMI4D7B7II6QMUKE4CDYBGYZHAVCNFSM6AAAAAA6KHJNJOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGOBWHEZDE>.
You are receiving this because you are subscribed to this thread.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Take a look at SolidPython2. Different approach to generating SCAD files and includes BOSL2 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Is it possible to generate Python bindings for BOSL2 for use with this great python-enabled OpenSCAD?: http://www.guenther-sohler.net/openscad/
Beta Was this translation helpful? Give feedback.
All reactions