OneLoneCoder / olcUTIL_Geometry2D

A Single-Header 2D Geometry Analysis Library
Other
284 stars 51 forks source link

Interest in Python Bindings for olcUTIL_Geometry2D #69

Open plops opened 9 months ago

plops commented 9 months ago

Hello,

I find your olcUTIL_Geometry2D library quite interesting and have started working on creating Python bindings for it. My goal is to explore the possibility of making these 2D geometry functions easily accessible to Python developers.

Here's a brief overview of my progress so far:

I'm curious if you would be open to a pull request to potentially integrate these Python bindings into the main olcUTIL_Geometry2D project. If this is something you'd consider, I'd be happy to polish up the bindings and follow any contributing guidelines you might have.

Here's a link to my repository: https://github.com/plops/cl-cpp-generator2/tree/master/example/144_geom2d/source01/python

Thank you for creating such an intriguing library!

OneLoneCoder commented 8 months ago

Thanks plops - this looks intriguing, my only hesitation is I have almost no personal experience of python and so it would become potentially a testing/maintenance job keeping it up to date.

Since the library might be about to undergo some expansion with polygons, splines and various other PRs, it might be worth keeping this open until its a little more stable, and in the meantime linking to your repo directly for other languages. I'll add a repo sub-folder that links directly to third-party supports.

plops commented 8 months ago

Okay, that makes sense. I'll track your updates and adjust the bindings accordingly. I'm still figuring out how to make Python libraries myself, but I'm determined to learn. I'll also research how to put this on pip – that will make it easier for people to install and try it out. Thanks!