CAD program/s with plain-text scripting language

  • #1
81
6

Main Question or Discussion Point

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!
 

Answers and Replies

  • #2
11,809
5,434
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:

http://en.m.wikipedia.org/wiki/SVG
 
  • #3
81
6
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?
 
  • #4
11,809
5,434
How about this?

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

generates 3D SVG
 
Last edited by a moderator:
  • #5
81
6
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!
 

Related Threads on CAD program/s with plain-text scripting language

  • Last Post
Replies
2
Views
2K
Replies
6
Views
734
  • Last Post
2
Replies
27
Views
83K
Replies
9
Views
976
Replies
5
Views
9K
  • Last Post
Replies
13
Views
4K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
1
Views
5K
  • Last Post
Replies
18
Views
6K
  • Last Post
Replies
2
Views
879
Top