Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

CAD program/s with plain-text scripting language

  1. Nov 15, 2014 #1
    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!
  2. jcsd
  3. Nov 17, 2014 #2


    Staff: Mentor

    While I don't know of a program that fits your requirements, many CAD editors do support SVG which can be manipulated in a web page with javascript.

    One example is Inkscape.

    SVG is described here:

  4. Nov 18, 2014 #3
    Thanks Jedishrfu for your contribution, but SVG seems only designed for 2D graphics.

    After searching deeper, I´ve found that the Python-based scripting lenguage 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?
  5. Nov 18, 2014 #4


    Staff: Mentor

    How about this?

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

    generates 3D SVG
    Last edited by a moderator: May 7, 2017
  6. Nov 19, 2014 #5
    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!
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Discussions: CAD program/s with plain-text scripting language
  1. CAD software? (Replies: 13)