about

Antimony is a computer-aided design (CAD) tool from a parallel universe in which CAD software evolved from Lisp machines rather than drafting tables.

demo

(watch on Vimeo to see it in HD)

foundations

Antimony is built on three mostly-orthogonal axes:

  • A framework for tracking information flow through directed acyclic graphs
  • A geometry engine for doing CSG
  • A standard library of shapes and transforms

Graph engine

Solid modeling in Antimony is done by connecting nodes in a graph:
Graph example

Each node is defined by a customizable script. Antimony uses Python 3.x plus a few extra magic keywords.

Here's what the circle node above looks like:

import fab.shapes

# Define a set of input ports
# (and inject variables into the local namespace)
input('x', float)
input('y', float)
input('r', float)

# Call the 'circle' function in the standard shapes library
# using the variables that came in from the input ports
c = fab.shapes.circle(x, y, r)

# Create an output port that produces the circle shape
output('shape', c)