Hi all,

I would like to share with you the project I've been working on for
past few weeks.

I wanted to create a scripting solution for solid modeling - similar
to OpenSCAD, but in Python. Earlier I tried to do it using CGAL, but
recently I switched to PythonOCC. I was delighted to find how
PythonOCC worked out of the box for my purposes.

Cadmium is a python library that lets you easily generate primitive
solids (Box, Cylinder, Sphere,...), and then apply affine
transformations and CSG operations on them in an intuitive manner -
with operator overloading union(+), intersection(*), subtraction(-).
As you may know, PythonOCC has API to do all this. Cadmium is a thin
layer on top of PythonOCC, to just hide complicated syntax. But it
leads to a lot simpler code that is easy to understand.

Cadmium is usable as of now. It can generate some interesting solids,
with only few lines of code. You can see the results yourself here:
http://jayesh3.github.com/cadmium/

Please give it a try and let me know what you think.
Thanks,
--
Jayesh

_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to