CAD program/s with plain-text scripting language

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 2K views
Vigardo
Messages
87
Reaction score
7
Hi experts,

What CAD program/s include a plain-text scripting language? Any free?

I´m looking for something similar to Ansys´ APDL, but intended to perform boolean operations with simple geometrical shapes (spheres, boxes, cylinders, etc.) and able to generate meshed objects in STL or other 3D printing amenable format.

Thanks a lot!
 
Physics news on Phys.org
Thanks Jedishrfu for your contribution, but SVG seems only designed for 2D graphics.

After searching deeper, I´ve found that the Python-based scripting lengauge provided by FreeCAD would fulfill my requirements, i.e. easy basic shapes generation, boolean operations, and STL export capabilities. Here is the link to the "part scripting" page: http://www.freecadweb.org/wiki/index.php?title=Topological_data_scripting

Any other alternative?
 
It seems that SVG format is also capable of 3D. It is interesting, but I can't see if 3DTin has some scripting language to create and export models into STL. By the way, I don't want online tools because I need to automate the STL files generation using some local in-house Perl script. Thanks!