CAD program/s with plain-text scripting language

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
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?
 
How about this?

http://blog.3dtin.com/2011/02/22/export-3d-models-as-svg/

generates 3D SVG
 
Last edited by a moderator:
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!