New python scripting library

Need help, or want to share a macro? Post here!
ruben_
Posts: 2
Joined: Fri Jul 05, 2019 10:40 am

New python scripting library

Postby ruben_ » Fri Jul 05, 2019 12:07 pm

Hi everyone.

I believe some of you could be interested in a tool I have been devoloping. It's about CAD scripting using functional programming and constructive solid geometry. Nothing new... I know. But this library can export the geometry not only to STL but also to other CAD formats like IGES and STEP. The software is named SolidMonty and can be found at https://github.com/RubenRubens.

Why use SolidMonty intead of the FreeCAD Python API?

Because of this:

Code: Select all

# FreeCAD API
circle = Part.makeCircle(10)
tube = circle.extrude(Base.Vector(0,0,2))

Code: Select all

# Solid Monty
Circle = circle(10)
tube = extrude(2) (Circle)
Can I contribute?

You're welcome to do so and source code is just about 500 lines. I'm just a mechanical engineering student so help is appreciated.

If you have any qustions or problems using the software feel free to send me an email.

Image