ImplicitCAD - 可编程的 CAD 软件
GPLv2
跨平台
软件简介
ImplicitCAD 是一个开源的可编程的 CAD 软件。采用 Haskell 语言开发。
示例代码:
/* This creates a twisted extrusion of 5 unioned circles
* with gratuitous amounts of rounding. Try it out! */
linear_extrude (height = 40, twist(h) = 35*cos(h*2*pi/60))
union ( r = 8) {
circle (10);
translate ([22,0]) circle (10);
translate ([0,22]) circle (10);
translate ([-22,0]) circle (10);
translate ([0,-22]) circle (10);
}
效果图: