Antimony - CAD from a parallel world

Among three-dimensional CAD systems, programs that implement two basic design approaches are most known: direct modeling and parametric. 3r3197.  3r3204. 3r3197.  3r3204. In addition, there are procedural CAD systems that allow modeling through programming. This approach has gained recognition among fans of programming and device design with open source code and design. For example, well-known OpenSCAD, which is mentioned here more than once. 3r3197.  3r3204. 3r3197.  3r3204. I propose to look at another unusual CAD system called Antimony. 3r3197.  3r3204. 3r3197.  3r3204. Antimony - CAD from a parallel world 3r3197.  3r3204. 3r3138. Fig. 1. Antimony - CAD from the parallel world 3r3139. 3r3197.  3r3204.
3r3194. 3r3197.  3r3204. Antimony is an open source CAD system that provides an approach to solid modeling using directed acyclic graphs. 3r3197.  3r3204. 3r3197.  3r3204. This approach is used in various packages for 3D visualization, texturing and creating game graphics, and this approach is used for solid modeling, probably for the first time. 3r3197.  3r3204. 3r3197.  3r3204. The author himself, Matt Keeter, describes his brainchild as "a CAD from a parallel universe." 3r3197.  3r3204. Antimony is built from three main components:
 3r3204. 3r3197.  3r3204. 3r3148.  3r3204.
The framework for the movement of data on a directed acyclic graph. 3r3-3160.  3r3204.
A geometric core for CSG (Constructive Solid Geometry) operations using a functional representation (F-Rep) of solids. 3r3-3160.  3r3204.
Library of primitives and transformations "fab". The library contains both customary operations like displacement, scaling, rotation, boolean operations, and more unusual for solid-state CAD systems, such as deformation of attraction, repulsion, bending. 3r3-3160.  3r3204. 3r3162. 3r3197.  3r3204. 3r3355. 3r3197.  3r3204. 3r3138. Fig. 2. The repulsion deformation [/i] 3r3197.  3r3204. 3r3197.  3r3204. Solid modeling in Antimony is performed by connecting graph nodes. 3r3197.  3r3204. A node is a primitive or transformation. 3r3197.  3r3204. 3r3197.  3r3204. Each node has fields, values ​​in which can be entered manually, set as a function of the parameters of another node, referring to them using the name of the node and the field, and connecting the node with the previous one. 3r3197.  3r3204. 3r3197.  3r3204. 3r3197.  3r3204. 3r3138. Fig. 3. Passing values ​​through communication and through the node name and parameter 3r3139. 3r3197.  3r3204. 3r3197.  3r3204. Inside, each node is a Python script that can be edited, and you can also create new nodes with your own scripts. 3r3197.  3r3204. 3r3197.  3r3204. Links within the graph provide automatic propagation of changes. 3r3197.  3r3204. 3r3197.  3r3204. 3r3391. 3r3197.  3r3204. 3r3138. Fig. 4. The “circle” node script [/i] 3r3197.  3r3204. 3r3197.  3r3204. The principle of building a model is in general the same as in more familiar CAD systems: we take a flat figure, apply the three-dimensional body construction operation to it (or immediately take a three-dimensional primitive), then combine this body with others using Boolean operations or apply displacement and deformation operations . 3r3197.  3r3204. 3r3197.  3r3204. Models can be either single-body or multi-body; Antimony does not impose a hard parametric connection unless the user specifies a connection. The choice of flat figures is small, but they are all closed areas, so the same logical operations apply to them as for solids. 3r3197.  3r3204. 3r3197.  3r3204. The user interface is represented by two main windows: the graph window and
 3r3204. viewport window (viewport). You can open an additional viewport window with a complex of four projections. 3r3197.  3r3204. 3r3197.  3r3204. 3r3114. 3r3197.  3r3204. 3r3138. Fig. 5. Minimalism throughout [/i] 3r3197.  3r3204. 3r3197.  3r3204. The operations menu can be called up by right-clicking from anywhere in the graphs window and the viewport window. 3r3197.  3r3204. 3r3197.  3r3204. In addition to the above-mentioned methods of changing the parameters of nodes, it is possible to interact with primitives and operations, dragging them with the mouse over the active points. 3r3197.  3r3204. 3r3197.  3r3204. Since the author of the program works in Formlabs, he took care of the possibility of materializing the models obtained. Therefore, Antimony supports exporting models in the form of a 2.5D raster (height maps in PNG format) and in the form of models in STL format for 3D printing. The export command is also a node of the graph. 3r3197.  3r3204. 3r3197.  3r3204. 3r3197.  3r3204. 3r3138. Fig. 6. Export result in STL 3r3139. 3r3197.  3r3204. 3r3197.  3r3204. And a little about the shortcomings:
 3r3204. 3r3197.  3r3204. 3r3148.  3r3204.
There is no import of models from other CAD systems. 3r3-3160.  3r3204.
The inability to set an arbitrary flat contour as a sketch for a three-dimensional body significantly limits the possibilities of modeling. 3r3-3160.  3r3204.
The question of how to rationally make chamfers and rounding remains open. 3r3-3160.  3r3204.
The level of stability of the project is estimated as a beta version, perhaps it is not worth trying to do something serious in Antimony, but it will be interesting to play. 3r3-3160.  3r3204. 3r3162. 3r3197.  3r3204. Expecting the indignation of design engineers, I must say that such a CAD system was created primarily not for practical purposes, but from the personal sports or scientific interest of the author. It is clear that we are not talking about any drawings here, since Antimony is designed exclusively for modeling three-dimensional bodies. 3r3197.  3r3204. 3r3197.  3r3204. I’ll give the personal impression that playing with modeling in Antimony is quite unusual and interesting, and the almost complete absence of user interface elements helps to immerse yourself in the modeling process and have a good time. 3r3197.  3r3204. 3r3197.  3r3204. The author chose the name for its unusual CAD system not by chance. Antimony is translated as antimony - a substance that combines the properties of metals and non-metals, and expanding as the melt solidifies. 3r3197.  3r3204. 3r3197.  3r3204. It is interesting to see the program in the work on the screening of Matt Keater:
 3r3204. 3r3197.  3r3204. 3r3181. 3r3182. 3r3183. 3r3184. 3r3185.
3r3197.  3r3204. 3r3191. 3r3192. GitHub [/b] 3r3194. 3r3197.  3r3204. 3r3197.  3r3204. Antimony is written in C ++ and Python. In the repository there are instructions for building from source for Linux and macOS, and ready DMG images.
3r3204. 3r3204. 3r3202. ! function (e) {function t (t, n) {if (! (n in e)) {for (var r, a = e.document, i = a.scripts, o = i.length; o-- ;) if (-1! == i[o].src.indexOf (t)) {r = i[o]; break} if (! r) {r = a.createElement ("script"), r.type = "text /jаvascript", r.async =! ? r.defer =! ? r.src = t, r.charset = "UTF-8"; var d = function () {var e = a.getElementsByTagName ("script")[0]; e.parentNode.insertBefore (r, e)}; "[object Opera]" == e.opera? a.addEventListener? a.addEventListener ("DOMContentLoaded", d! ): d ()}}} t ("//mediator.mail.ru/script/2820404/"""_mediator") () ();
3r3204.
+ 0 -

Add comment